[antlr-interest] Wrapping input files to process multiple sources
with Antlr
Rodrigo Baptista
digobaptista at gmail.com
Tue May 23 09:14:56 PDT 2006
Hello,
Im using ANTLR to generate a compiler in C# for a DSL and I would like to
know how to pass to the Lexer multiple input files (something similar to the
control of "yyin" using "yywrap()" in flex) in order to be able to switch
the source stream.
I know that I could concatenate all the input files in a stream and pass it
to the Lexer but I still want to know if ANTLR has some tool to prevent this
option.
This is a typical way to process "<include/import xpto>" files.
Regards,
Rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060523/f55941e4/attachment.html
More information about the antlr-interest
mailing list