Re: Happy and Macros (was Re: ANNOUNCE: Happy 1.10 released)

10 May
2001
10 May
'01
5:48 p.m.
"S. Alexander Jacobson"
I am not a parsing expert, but given the recent discussion on macros, I have to ask: why use happy rather than monadic parsing? Monadic parsing allows you to avoid a whole additional language/compilation step and work in Hugs (where you don't have a makefile). What does Happy buy you here?
I've used Happy instead of parser combinators because I wanted the additional global error-checking. I believe that the standard implementations of parser combinators will allow you to specify an ambiguous grammar, and return one of the multiple possible parses, without warning. Carl Witty
8916
Age (days ago)
8916
Last active (days ago)
0 comments
1 participants
participants (1)
-
cwitty@newtonlabs.com