-
```
import { parse } from 'solididty-antlr4';
const code = `// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
contract HelloWorld {
string public greet = "Hello World!";
}
`;
co…
-
Is there any official Microsoft-provided Grammar file for Kusto? I have been unable to locate one. There are various third-party / unofficial ones bouncing around Github for various parsers, but it wo…
-
Hi, there is a performance hit after upgrade to Antlr 4.
You can compare performance tests on AppVeyor:
2.2.111: https://ci.appveyor.com/project/sklose/ncalc2/builds/46365044/tests
3.0.119: http…
-
I have a project that went on the backburner for several months. After returning to it in the last couple of days (and the extension updating to the latest release presumably) it appears that my split…
-
I use another lib(brpc) which use macro EOF, but anltr(4.8) undef it in antlr-common.h.
In order to use them at the same time, I need to strictly control the order of the include, otherwise the com…
-
https://github.com/StarRocks/starrocks/blob/01516cb33256332bd3dbafd349a82ed2d50e300b/fe/fe-core/src/main/java/com/starrocks/sql/parser/StarRocks.g4#L16
Optimize the StarRocksParser.g4 configuration…
-
I have a relatively simple split parser and lexer grammars which is causing a ClassCastException.
```
$ grun SomeParser layout
Exception in thread "main" java.lang.ClassCastException: class SomePars…
-
Calling a variable "match" breaks parsing and produces `{"type":"ApiError","message":""}` error response.
## Expected Behavior
Rule can be parsed and saved
## Current Behavior
XHR returns `{"t…
-
When I want to generate lexer/parser into package `a.b.c` I am using following code:
```
$ java -cp antlr-4.1-complete.jar org.antlr.v4.Tool -o src -package a.b.c A.g4
```
and get generated parser a…
-
continuation of https://github.com/spotbugs/spotbugs/issues/2759
now exception is different.
after update to 4.8.3.0
https://app.circleci.com/pipelines/github/checkstyle/checkstyle/22934/workflow…