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@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to