[antlr-interest] Sample scannerless parser with AST construction in unmodified ANTLR

Terence Parr parrt at cs.usfca.edu
Thu Apr 14 11:04:36 PDT 2011


It turns out ANTLR *is* a scannerless tool. ;) Updated sample with proper whitespace, keyword handling, AST building

http://bit.ly/gT3Q1C

All done within existing framework; no update to ANTLR necessary, though I can auto-insert whitespace handling easily if I formally support in tool.

Ter


More information about the antlr-interest mailing list