[antlr-interest] added attributes/dynamic scoping blog entry

Terence Parr parrt at cs.usfca.edu
Thu Feb 3 17:43:52 PST 2005


On Feb 1, 2005, at 7:50 PM, John D. Mitchell wrote:
> We need a parallel to init actions for exiting rules.  I.e., remember 
> that
> we can't presume GC or destructors. :-)
>
> Also, given that de-init sucks :-)...  Does exit work for people?
> Personally, I don't like init/exit pair 'cause they don't match.
> enter/leave seems the most consistent pair at the moment.

I'm not opposed to an exit action...is this easy to code in C?  I guess 
so.

So it's mainly for C and free() operations, right?

Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com





More information about the antlr-interest mailing list