[antlr-interest] Writing lexer for controlled english

unmesh joshi unmesh_joshi at yahoo.com
Fri Feb 7 06:43:57 PST 2003


Hi,
I want to write a lexer for a controlled english parser. Instead of hand coding the TokenManager I think its better if I can have token definition like
ANYTOKEN which is not KEYWORD and SPACES, COMMENTS etc.
And then write lexer action to match the word in the dictionaty.
Is there any example of this type of specitication? Can anybody help?
Thanks.
Unmesh
 



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20030207/5100e13f/attachment.html


More information about the antlr-interest mailing list