Antlr4BuildTasks icon indicating copy to clipboard operation
Antlr4BuildTasks copied to clipboard

UnbufferedCharStream

Open renzosilv opened this issue 2 years ago • 1 comments

Is there a way to get a lexer generated when passing in the UnbufferedCharStream instead of AntlrInputStream? I'm running into issues with files that are too large so I would like to read them in chunks.

renzosilv avatar Jul 18 '23 22:07 renzosilv

Sorry I don't understand the question. Antlr4BuildTasks is a build tool, calling the Antlr tool .jar to generate a parser or lexer for a grammar, the same way as if you typed java -jar antlr4-4.13.0-complete.jar -Dlanguage=CSharp *.g4. You write the program to create the charstream of your own choice.

kaby76 avatar Jul 20 '23 03:07 kaby76