[antlr-interest] DFA's encoded directly in java bytecodes

Terence Parr parrt at cs.usfca.edu
Wed Oct 27 11:24:14 PDT 2004



On Oct 26, 2004, at 6:16 AM, Martin Probst wrote:

>
> Hi Terence,
>
> yes, ragnaroek is something like doom.

Hooray for reading science fiction ;)

>> As I say though I wondered about breaks at first, but then decided 
>> that
>> bytecodes were the only general way to get the gotos.  I do have a 
>> nice
>> little assembler and class file writer now for ANTLR that, while not
>> completely general, it's damn small.  Assembler and .class file writer
>> are each about 600 lines.  Could be useful for users of antlr as well
>> as the tool itself.
>
> Indeed breaks can only jump backwards in code, though they are not 
> bound
> to loops. If your tool fits ANTLRs needs everything's fine and I'm 
> looking
> forward to ANTLR 3!

Yeah, gotta have arbitrary gotos.  Yep, ANTLR3 should rock.  :)

Ter
--
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!





 
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