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 <rvda...@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@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe >
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe