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

lgcraymer lgc at mail1.jpl.nasa.gov
Mon Jun 14 13:19:47 PDT 2004


--- In antlr-interest at yahoogroups.com, Terence Parr <parrt at c...> wrote:
> After getting slapped by Loring yesterday and Ric today, I have added a 

Hey!  Both Ric and I are non-violent sorts.  We just have no
compunctions about expressing technical opinions!

--Loring

> 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