[antlr-interest] How to store data in token?

Ilia Kantor ilia at obnovlenie.ru
Sat Dec 23 04:28:01 PST 2006


> I'd like to adapt something like
>
> body: command? BLOCK {$body.mainBlock=$BLOCK};
>
> That is: evaluate and store important data in token.
>
> Is such kind of thing possible ?
Wow, just got to reading new 
http://www.antlr.org/wiki/display/ANTLR3/Simple+tree-based+interpeter and b6 
stuff. 

Can be just what I've been waiting for so long!


More information about the antlr-interest mailing list