-
OS:ubuntu 22.04
python:3.10.6
java:1.8
ATN:4.8
python runtime error:
raise Exception("Could not deserialize ATN with version " + str(version) + " (expected " + str(SERIALIZED_VERSION) + ").")
…
-
When try official demo at http://lab.antlr.org/ , select WebIDL, click run, then i can see that any WebIDL was parsed into
enumValueListComma.
And the type of each identifiers is null or IDENT…
-
Here is the roadmap to modern espresso:
- [x] Switch user documentation to ~~LaTex~~ AsciiDoc, and generate man with pandoc
- [ ] Use modern C++ libraries, switch to C++ 17.
- [ ] espresso algor…
-
For
`function onAction (event)
{
event.
}`
The parser (generated for the Javascript grammar) reports 3 syntax errors instead of 1:
`Pb#SYNTAX_ERROR 0[33..34]:no viable alternative at inpu…
-
It seems the keyword escaping is not working in this example grammar. I believe the left recursion is to blame. Demonstration code is below. I suspect it's around here but not sure: https://github…
-
Code line : https://github.com/antlr/antlr4/blob/7982187134a6776d13cf8b1f9725f137d08adaec/tool/src/org/antlr/v4/tool/DOTGenerator.java#L262
Stacktrace:
```
Exception in thread "main" java.lang.Il…
-
Howdy,
It'd be nice there was a tmBundle (textmate bundle) for hightling `cql` syntax. It would allow nearly every text editor on the planet to then highlight `CQL`.
Best,
Seve
P.S. I've bee…
-
First thing I tried generated a crash::
```
npm install -g dts-gen
npm install -g antlr4
dts-gen -m antlr4
```
Versions:
```
dts-gen@0.4.16
antlr4@4.5.3
node v6.3.1
npm v3.10.6
```
Results:
```
U…
-
When using the ANTLRv4 grammar defined [here](https://github.com/antlr/grammars-v4/tree/master/antlr/antlr4) with `antlr4-4.13.1` and the following file (from the example directory) to parse:
```an…
-
Antlr tool does not generate files for a grammar if the path given is a full, rooted path. The following is a session in a "cmd.exe" shell. Notice there are no .java files in the directory before or a…