[antlr-interest] v3 stream input

Sohail Somani sohail at taggedtype.net
Tue May 23 19:17:53 PDT 2006


On Tue, 2006-05-23 at 10:48 -0700, Terence Parr wrote:
> 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?

Oh sure, if you want to use it.. Or are you referring to existing
classes?



More information about the antlr-interest mailing list