[antlr-interest] Advice on C++ output

Bryan Ewbank ewbank at gmail.com
Wed Jun 1 12:57:56 PDT 2005


On 6/1/05, Matthew Tedder <teddemc at yahoo.com> wrote:
> Can someone just quickly point me to a complete [C++]
> example or tutorial on this?

There's several examples in the distro, in antlr-2.7.x/examples/cpp. 
The flexLexer in particular was useful for me.

In general, if you replace "." with "->" in the action code, you are
very close to correct ;-).


More information about the antlr-interest mailing list