[antlr-interest] Non-reserved keywords (again)
Olivier Dragon
dragonoe at mcmaster.ca
Wed Aug 10 06:15:16 PDT 2005
Greetings,
I have search long and far to see if anyone had had the same problem I'm
having with a language that does not reserve keywords, like SQL and in
my case Fortran. I have found many people with the problem, yet no
useful solutions. The two main ones I found were
http://www.jguru.com/faq/view.jsp?EID=140
and
http://www.antlr.org/pipermail/antlr-interest/2002-June/001486.html
I have no idea how to execute the first one, that is create a custom
token class and have ANTLR actually use it.
And the second one completely breaks the parser, introducing fatal
non-determinism which I am very reluctant to address.
Has anyone come up with a better solution? Does the latest ANTLR 3.0
preview solve my problem? Will it?
Thank you,
-Olivier
--
__-/| ? ? |\-__
__--/ / \ (^^) / \ \--__
_-/ / / /\ / ( ) /\ \ \ \-_
/ / / / / ( ^^ ~ \ \ \ \ \
/ Oli Dragon ( dragonoe at mcmaster.ca \
/ B.Eng. Sfwr ( ) \ \ \ \
/ / / /__--_ ( ) __--__\ \ \ \
| / / _/ \_ \_ \_ \ \ |
\/ / _/ \_ \_ \_ \ \/
\_/ / -\_\ \ \_/
\/ ) \/
*~
___--<***************>--___
[http://dragon.homelinux.org]
~~~--<***************>--~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20050810/43cf41ee/attachment.bin
More information about the antlr-interest
mailing list