[antlr-interest] How to redirect the input stream?
ric.klaren at gmail.com
Fri May 11 04:21:24 PDT 2007
On 5/11/07, Frank Yue <professoryue at gmail.com> wrote:
> HI, all ! I want to ask lexer to scan another character stream
> when EOF is reached .
Check out the includeFile example in examples/cpp/includeFile in the
distribution. A somewhat bigger example is available at:
The latter is a very rough adaption of David Wiggs C++ grammar.
Basically a snapshot a piece of work in progress.
Not sure if there's a extra documentation, apart from comments in the
header files. (Might be that the java runtime is better documented
with respect to uponEOF).
More information about the antlr-interest