[antlr-interest] Re: Parsing preprocessor
Mark
markl at glyphic.com
Sun Apr 18 08:22:23 PDT 2004
This sort of preprocessor must be implemented as an entirely separate lexer and parser
pass that generate a character stream that is then input to your current lexer and parser.
See Syntax Directed TokenStream Rewriting (http://www.antlr.org/article/rewrite.engine/
index.tml) for some ideas on how to accomplish the preprocessor lexer and parser.
- Mark
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list