[antlr-interest] newbie help

Sridharan S sridharxp at gmail.com
Thu Oct 19 18:18:24 PDT 2006


 Hi everybody

I am a new to antlr and I have two problems.

One is my grammar has keywords that can also be used interchangeably in
their shortened form of 4 chars. What to do to avoid doubling of keywords?

Second is my language statement always ends in a newline with one exception.
Eof can also work as a newline.ie When at the end of your program you need
not supply a newline, it is optional. .

Thanks everybody
- Sridhar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20061020/bfa47ee3/attachment.html 


More information about the antlr-interest mailing list