Have you looked at Parsec.buildExpressionParser:
http://www.cs.uu.nl/~daan/download/parsec/parsec.html
(see section "Expressions"). This allows very concise programs,
and you don't need to install any extra library.
--
-- Johannes Waldmann, Tel/Fax: (0341) 3076 6479 / 6480 --
-- http://www.imn
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
Hi Peter,
| I´m progarmming a parser for functional programs. Now
| 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
Peter Theissen wrote:
I´m progarmming a parser for functional programs. Now 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 w