Ken Domino

Results 839 comments of Ken Domino

Assuming we write a new grammar, do you have a test suite of some sources that we can add to make sure the new grammar will work?

> @kaby76 Do you want me to send in a PR of test cases? If you can, post here as .zip (or .tar.gz it GH will accept it), or create...

The grammar you provide is not valid. It doesn't pass the Antlr Tool. Please use correct Markdown syntax for code blocks.

You need to ["reset"](https://github.com/antlr/antlr4/blob/811b7fda58bd14d7f0abc496b6fd651dfa01ed97/runtime/Cpp/runtime/src/Parser.h#L51) the lexer after getting the tokens. The lexer is positioned at the end of input after printing out the tokens. This is how it is done...

> I don't know why, I guess this should be a quite serious bug. It's likely a bug on your part. The split grammar works fine. ``` $ trgen -t...

`cmake --install` is not a legal command, outputting `Usage: cmake --install [options]`. Below is the Bash script `build.sh` that works on Ubuntu 20.04.6 LTS, cmake version 3.16.3, c++ (Ubuntu 9.4.0-1ubuntu1~20.04.2)...

Actually, it's worse than this one issue. Not only are the generated files inconsistent in timestamps/versions, the XPathLexer.g4's are slightly different, and not just in target-specific code, or symbol renaming...

> A difference in case. `'\uFDF0'..'\uFFFF'` is not the same range as `'\uFDF0'..'\uFFFD'`. It is not a matter of a difference in case.

I'm not sure about "hanging", but on my system (AMD Ryzen 7 2700, 16 GB, SSD), both the Java and CSharp targeted parsers for the golang grammar parse the file,...