Robert Einhorn
Robert Einhorn
I am happy to announce that I have fixed the speed issues. There were a lot of redundancies in the grammar that came from the structure of CPython. Mainly because...
Thanks for the instructions. A C# target is in progress, but I'm afraid I won't have time for the other languages these days: C++ Dart Go JavaScript TypeScrpt Instead, if...
Ok, so first I update my own repository with new Python versions. How often should I update the grammars-v4 repository? Instead of the directory name "python_PEG", is the name Python_version...
An automatic translation would be great. The translated ANTLR4 grammar reflects the PEG grammar, i.e. all rules start on the same line in both grammars. Those ANTLR4 rules where the...
However, a parser-based transpiler would be much more reliable. With the regex, a space in a wrong place or a line break is enough and the pattern matching no longer...
My ".peg" grammar comes from [here](https://docs.python.org/3.11/reference/grammar.html) which is already stripped from the python.gram. But so far there has always been a mistake. For example, an invalid-rule-name (invalid_default) was left in...
Your Trash transformation cleaned up the CPython grammar nicely. I also did a dif between your filtered grammar ([derived.txt](https://github.com/antlr/grammars-v4/files/12659418/derived.txt)) and the [officially filtered grammar](https://docs.python.org/3/reference/grammar.html). They are almost the same. It...
I found the easiest way to reproduce the error. For example the following 2-character Python code (which is a comment) causes the same error message: `#Å` More precisely: [Unicode Character...
Unfortunately, I cannot comment on this: failing at "build (macos-11, php) " - Install dependecies ... Thanks, Robert
The new ANTLR5 looks very exciting. If I can help in any way, I will gladly do so.