Open bendgk opened 2 years ago
Hi. I'm not super familiar with all the details of unicode and the various encodings. ANTLR can open files with whatever format the file is in. I don't know if there's such a thing as UTF-8 that is UTF-8 plus some other stuff. can you correct me? thanks!
ANTLR should support the parsing of raw binary streams (1 byte per input character) alongside UTF-8 characters.
have it available as an encoding, for example:
antlr4 -encoding raw Grammar.g4
For example to match the byte
0x80
it is not possible right now as\u0080
evaluates to0xC280