[antlr-interest] ANTLR 3.0 code gen using static DFA objects

Terence Parr parrt at cs.usfca.edu
Mon Jun 14 12:40:01 PDT 2004


After getting slapped by Loring yesterday and Ric today, I have added a 
new code gen blog entry

http://www.antlr.org/blog/antlr3/codegen.tml

that shows a (working) example using static objects that is more 
satisfying. :)

The singleton DFA object I demonstrate aren't thread safe in that the 
alt instance variable would get clobbered by multiple threads...i 
believe I could remove that restriction and keep the 
static/singleton-ness of them.

Terence
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
Cofounder, http://www.peerscope.com pure link sharing





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list