[antlr-interest] How to deal with languages with preprocessors?

micheal_jor open.zone at virgin.net
Thu Apr 4 14:40:45 PST 2002


Any ideas please?. How to deal with the preprocessor directives in 
C/C++ and C#.

Is this handled in the Lexer or in the Parser. Any [simple-ish or 
clear] examples please?

On a more general note,is there some document/tutorial on writing LL
(k) grammars with ANTLR. 

Also, any docs/tools on converting YACC/LEX stuff to ANTLR? 

Micheal


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list