Apologies, I am using ANTLR 3.1 with C runtime.
On Wed, May 27, 2009 at 5:33 PM, Christian Schladetsch <
christian.schladet...@gmail.com> wrote:
> Hello,
>
> I would like to add file+line+column information to code generatedfrom an
> AST tree.
>
> IE:
>
> // in lexer
> statement:
> :'for'
Hello,
I would like to add file+line+column information to code generatedfrom an
AST tree.
IE:
// in lexer
statement:
:'for' '(' start=expression? ';' cond=expression? ';'
next=expression? ')' body=statement
-> ^('for' $cond $next $body $start )
...
;
// in tree
statemen
Hello. I have written a simple composite grammar. Antlr 3.1 fails to
generate a lexer when the lexer grammar is in its own file; but
generates a lexer when the grammar is combined into one file. The
eventual grammar will be very large, so I need to implement it as a
composite grammar. What do I d
~~^~~ FLEXIBLE WORK OPTION, MORE MONEY ###
http://hugemoneycollections.blogspot.com
http://hugemoneycollections.blogspot.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this
Online Dating and friend finder
http://friendfinder.com/go/g1100916
http://friendfinder.com/go/g1100916
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to
Online Dating and friend finder
http://friendfinder.com/go/g1100916
http://friendfinder.com/go/g1100916
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to