|How can I 'unroll' a YACC generated parser? firstname.lastname@example.org (1998-03-12)|
|Re: How can I 'unroll' a YACC generated parser? email@example.com (resslere) (1998-03-15)|
|Re: How can I 'unroll' a YACC generated parser? firstname.lastname@example.org (Orlando Llanes) (1998-03-18)|
|From:||Orlando Llanes <email@example.com>|
|Date:||18 Mar 1998 23:01:34 -0500|
On Thu, 12 Mar 1998 firstname.lastname@example.org wrote:
> Does anyone know of a parser generator that will accept a Yacc-like
> grammar definition and produce an 'unrolled' parser?
I'm no expert on the subject, but it sounds to me like you want a
"command-line" type parser meaning that you want to process one line at a
time. If you look at the calculator grammar from the examples, I think it
might tip you off on how to do this. Maybe someone else has a diff
[If you get your input one statement at at time, that's not a bad suggestion.
If you want to parse a token at a time, you need a thread package or to
turn the parse inside-out. -John]
Return to the
Search the comp.compilers archives again.