>>>>> "Dave" == Dave Tweed <[EMAIL PROTECTED]> writes:

Dave> A longshot I know but...
Dave> Has anyone out there extended the parser combinators in Hutton & Meijers
Dave> paper on Monadic Parser Combinators to deal with a large set of operators
Dave> with lots of precedence levels? (I can parse an operator and get its
Dave> application function and precedence level but applying them in the correct
Dave> order is the problem.) 

Dave> Background: In my spare time I'm writing a small interpreter for a
Dave> language with operators with, at the moment, 7 precedence levels. The
Dave> parser isn't the interesting bit for me, and my first two `quick & dirty'
Dave> methods didn't actually work correctly. 

Dave> Many thanks for any help, any pointers to recent information, etc.

You may want to have a look at Norbert Kloses page:

http://www.ki.informatik.uni-frankfurt.de/~klose/

He has a parser generator that produces a parser based on monadic
parser combinators called 'lucky'. Maybe that will help you...

Marko


Reply via email to