[antlr-interest] v3 stream input

Terence Parr parrt at cs.usfca.edu
Tue May 23 10:48:04 PDT 2006


On May 22, 2006, at 8:00 PM, Sohail Somani wrote:

> On Mon, 2006-05-22 at 17:25 -0700, Terence Parr wrote:
>> On May 22, 2006, at 5:20 PM, Sohail Somani wrote:
>>
>>> Is there a way to tie System.in into the lexer as input?
>>
>> Yeah, i think it's a big hole at the moment...we only have string and
>> file readers...
>
> I suppose what I'll do is just have a FiniteInputStream as a child of
> ANTLRStringStream and just do what ANTLRFileStream does.

How about just ANTLRReaderStream and/or ANTLRInputStream?

Ter


More information about the antlr-interest mailing list