[antlr-interest] Re: How do I specify start-of-line (^ in [F]Lex in ANTLR Lexers?
clinton_olsen
clinton_olsen at yahoo.com
Wed May 29 13:26:12 PDT 2002
The advantage of doing an in-process replacement in the lexer is
that you can still do fairly accurate line/column tracking in the
lexer w/o using the "hinting" technique using cpp.
-Clint
--- In antlr-interest at y..., "jsrs701" <jsrs701 at y...> wrote:
> It seems that that you're intending for the preprocessor to be
> running in the same process as the final parser? Why not just
build
> a separate preprocessor application, and shell out to it, the way
cc
> calls cpp?
>
> And really, for a character-stream preprocessor, ANTLR is probably
> overkill. Or is your preprocessor significantly more complex than
> cpp?
>
> (Please note, C++ afficionados, that I'm referring to the C
> PreProcessor when I say "cpp".)
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list