kaby76 / Antlr4BuildTasks

Third-party build tool for 'Official' Antlr4 tool and runtime parsers using .Net. Drop-in replacement for 'Antlr4cs' Antlr4 tool and build rules.
MIT License
75 stars 10 forks source link

UnbufferedCharStream #63

Open renzosilv opened 1 year ago

renzosilv commented 1 year ago

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.

kaby76 commented 1 year ago

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.