Ken Domino
Ken Domino
The input doesn't parse `{assign_stmt};` of your input because you don't use `LeftBrace` or the string literal `{` anywhere in the parser grammar. Also, `UniASRLexer.g4` is not the file name....
> To avoid the shortcomings that have plagued the PT grammar with community contributions, Oracle should commit to synchronizing the grammar on each MySQL release that includes grammatical changes. This...
I'm not an official maintainer of this repo. But, I do have significant, general maintenance of most of the grammars in the repo over 4 years. I would recommend deprecating...
We can move it to another directory, but testing needs to be changed. The Trash tester looks across the entire repo for `desc.xml` files. The desc.xml for PT needs to...
My updates are here: https://github.com/kaby76/grammars-v4/tree/g4-4438
Knew this was unclear. Everything has to be made crystal clear. If the PT grammar is still being modified and tested via PRs, how exactly is this "deprecated?" How is...
Here is what I did. I followed the JLS 21 syntax for `Pattern`, `RecordPattern`, and `PatternList`. https://docs.oracle.com/javase/specs/jls/se21/html/jls-19.html I added/replace the following rules: ``` $ git diff . diff --git a/java/java20/Java20Parser.g4...
"with" is a keyword. The curried function call ".with()..." fails to parse because the method invocation doesn't handle the case when a keyword is used. That's a problem with the...
Yes the desc.xml should be updated. But I am still not quite ready with https://github.com/kaby76/Trash/pull/486 and https://github.com/antlr/grammars-v4/pull/4246. They fix a number of problems but antlr 4.13.2 broke [python3_12_1](https://github.com/antlr/grammars-v4/tree/a0125e0910fca226d4867cd8433e8be7ecdc60f0/python/python3_12_1).
First, let's test that statement (`[I]t is found that nearly half of the nodes in g4, such as ModuleBody and LambdaParameters, have not been visited.`) using the [Trash Toolkit](https://github.com/kaby76/Trash) and...