[antlr-interest] Re: a new paper on ANTLR style grammars
Oliver Zeigermann
oliver at zeigermann.de
Fri Nov 21 15:35:59 PST 2003
--- In antlr-interest at yahoogroups.com, Pete Forman <pete.forman at w...>
wrote:
> At 2003-11-20 19:53 +0000, lgcraymer wrote:
> >Sorry if I was unclear. Actions need to execute during a parse only
> >if they affect the parse--you need semantic predicates for that.
> >What you can do is build a list of operations to be executed later.
>
> How about putting an optional second clause into an action that
> unwinds it?
>
> That is less automated than the approaches proposed so far but would
> be simpler to implement and for the user to understand.
Sounds very reasonable, but is less fun ;)
Oliver
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list