-
Could you explain the purpose of modes stack size checking before `popMode()`? https://github.com/Kotlin/kotlin-spec/blob/091d4216cf2c015143e49978d1c43a204e26d967/grammar/src/main/antlr/KotlinLexer.g4…
-
https://github.com/antlr/antlr4/blob/b48c857c3a0ea4329686abe99276dddd991a7724/runtime/Go/antlr/tree.go#L59
If a `terminal` rule is defined in XXX.g4 grammar file, a function `VisitTerminal(ctx *Ter…
-
I am trying to parse some specific file format .px . I am a beginner with antlr4 and parser generators
in general. I would really appreciate it if you would have a look why is performance so slow.
I…
-
Hi all, this is the first time I'm using ANTLR4 with a JavaScript target
I tried testing the grammar in the ANTLR4 lab and got the following additional information. It seems to me, as though, the…
-
**Issue Description:**
Migrate a new DRL parser based on antlr 4, because the current DRL parser (based on antlr 3) is hard-coded in the generated Java codes that make it hard to maintain.
**Ac…
-
Describe the bug
Generate CSharpLexer.py using antlr4 version 4.10.1
try to import the file
File "CSharpLexer.py", line 12, in
from .CSharpLexerBase import CSharpLexerBase
ModuleNotFoun…
-
I guess, there is an error in processing Umlauts (utf-8) in python as produced by antlr4 -Dlanguage=Python3.
**How to reproduce:**
download JSON.g4, json2xml.py, t.json from here:
https://githu…
-
The CSharp example at http://lab.antlr.org/ is broken
Tool console
No such start rule: compilation_unit
P.S. What is the state of the Charp grammer these days? Is it possible to get a w…
-
When using antlr-parse to parse a file in utf-8 with encoding set to utf-8, an error occurred like below:
```text
Traceback (most recent call last): File "D:\scoop\apps\python39\current\lib\runpy.py…
-
I have set CORPUS_LOCATION (as an environment variable. It was not possible to use the option dialog since when I restarted VS the configuration was lost)
When I run Reformat I get an error message…