grammars-v4 icon indicating copy to clipboard operation
grammars-v4 copied to clipboard

Grammars written for ANTLR v4; expectation that the grammars are free of actions.

Results 432 grammars-v4 issues
Sort by recently updated
recently updated
newest added

I've [ported the sql/mysql/Oracle grammar to CSharp](https://github.com/antlr/grammars-v4/pull/4278). I found that the grammar is ambiguous. ``` $ dotnet trparse ../examples/expressions.sql --ambig | dotnet trtree -a CSharp 0 ../examples/expressions.sql success 0.139722 (query...

Fix that `case [a, *_] if a == 0:` throws error `rule soft_kw__not__wildcard failed predicate: {this.isnotEqualToCurrentTokenText("_")}?`

python3

I thought I mentioned this somewhere, but apparently not. The grammars are for parsing free format input, not the good ol' fixed format. The grammar should do both.

Here’s a request for OpenUSD or USD grammar (Universal Scene Description)

This attribute is emitted by Clang when you enable optimizations. It currently causes a parsing error with the latest version of this repo's grammar.

This is a note on the ambiguity of the [Solidity grammar](https://github.com/antlr/grammars-v4/tree/5e7540fae7588cf1529fc398cb3d8ee691890ded/solidity), [initially started in a conversation](https://github.com/antlr/grammars-v4/pull/4257#issuecomment-2371135885) in https://github.com/antlr/grammars-v4/pull/4257. As the grammar in the PR mirrors that from the official repository...

hi plz adding grammer yml

See https://groups.google.com/g/antlr-discussion/c/8KQC7fwcXpQ > Using the latest ANTLR 4.13.2, with the official example repository's CSS3 grammar (https://github.com/antlr/grammars-v4/tree/master/css3), I generated a C++ parser to parse a simple CSS file of about 200...

Antlr 4.13.2 for JavaScript is a breaking change for testing. This is because the API has changed. https://github.com/antlr/grammars-v4/pull/4242#issuecomment-2366785282 All output from the tester is captured--including the new deprecated warning. If...

In the latest version of trgen, a grammar that has two or more top-level grammars cannot work without specifying in the desc.xml to pick one. In [glsl](https://github.com/antlr/grammars-v4/tree/a0125e0910fca226d4867cd8433e8be7ecdc60f0/glsl), there is a...

glsl