[antlr-interest] C++ beginner questions

Paul Johnson gt54-antlr at cyconix.com
Fri Sep 30 01:33:26 PDT 2005


David Maxwell wrote:

> The AST tools sound great - but right now I just want a lex/yacc
> replacement with multi-token lookahead. The types of things you want to
> do in the parsing stage are quite different if you're not building ASTs,
> and I can't find examples to get me started. (Yes, I've looked in
> examples/cpp/*)

There's a massive learning curve, especially for C++. If you really only 
want multi-token lookahead, and you've already got yacc code, and you 
want minimal changes...

then try bison. :O



More information about the antlr-interest mailing list