On Fri, Oct 22, 2004 at 06:20:41PM +0200, Peter Theissen wrote: > Hi, > > I want to implement the infixL and infixR feature to increase > the readability of the code. I would be very glad if anyone > can send me some information about the implementation of > this feature of the Haskell parser or where I can find > something about it.
Here is a link to the code that I use in Buddha for handling infix applications: http://www.cs.mu.oz.au/~bjpop/code/Infix.hs It works with the Happy parser for Haskell that is distributed in the libraries provided by most compilers. Comments in the file explain the algorithm. If you want the latest version then download Buddha and grab the file from there. Cheers, Bernie. _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
