[Haskell-cafe] Writing a compiler in Hakell
jean-christophe mincke
jeanchristophe.mincke at gmail.com
Wed May 6 02:46:17 EDT 2009
Hello Rouan
My bible : The dragon book of Aho, Sethi & Ullman
http://en.wikipedia.org/wiki/Compilers:_Principles,_Techniques,_and_Tools
Regards
J-C
On Wed, May 6, 2009 at 8:07 AM, Rouan van Dalen <rvdalen at yahoo.co.uk> wrote:
>
> Hi everyone.
>
> I am designing my own programming language.
>
> I would like to know what is the best way to go about writing my compiler
> in haskell.
> What are the tools available in haskell that can help with compiler
> construction?
>
> I know about Happy. Is that a good tool to use?
>
> The compiler is intended for serious use and I would like it to be very
> efficient, maybe competing
> with compilers written in C. It should also be very easy to extend as the
> languoge grows.
>
> Are there any good books that you can recommend on compiler construction in
> general and specific to haskell?
>
>
> On another note, how is the operator + implemented in haskell?
>
> is there a primitve (say #+) that is wrapped by the haskell operator +?
> Maybe something like:
>
> (+) :: a -> a -> a
> v1 + v2 = #+ v1 v2
>
>
>
>
> Thanks in advance
>
> Rouan.
>
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090506/6336c687/attachment.htm
More information about the Haskell-Cafe
mailing list