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 317 grammars-v4 issues
Sort by recently updated
recently updated
newest added

Hi Parsing this file using Verilog2001.g4 will hang, forever looping. It only happen in Mac. ```verilog /* verilator lint_off UNUSED */ module id(input wire rst, input wire[`INST_WIDTH] inst_i, input wire[`MXLEN]...

verilog
performance

Hi, I am just getting started with Antlr, and I want to try some AST Manipulation for Python. Honestly I am having a hard time, but I think everything is...

python3

When trying to parse a C file, it fails when we encounter `#define` statements. It seems that this is related to the lexer (see discussion here: https://groups.google.com/g/antlr-discussion/c/sIjr9qUx_Rs) When trying to...

c

Currently, the SQL Plus commands (`prompt`, `spool`, etc) are written using Lexer Rules such that any line starts with `PROMPT` till `EOL` it matches to a Lexer token, but if...

plsql

[Sentinel Language Specification \| Sentinel by HashiCorp](https://docs.hashicorp.com/sentinel/language/spec) This is a new grammar request. As far as I investigate, no one provides ANTLR grammar files or parser libraries in any language....

new-grammar

Implicitly-typed variables cannot have multiple declarators in C# Grammar: [csharp](https://github.com/antlr/grammars-v4/tree/master/csharp) Input: var a = 3, b = 2; [Compiler Error CS0819: ](https://docs.microsoft.com/hu-hu/dotnet/csharp/misc/cs0819)

csharp

It would be great, to have grammar files for the galen framework language and the gherkin language for cucumber. Regards Chris

new-grammar

According to https://github.com/sass/sass/blob/main/spec/at-rules/for.md the @for-loop in scss is defined as having `'from' expression ('to'|'through') expression` instead of the currently given `fromNumber` and `throughNumber` https://github.com/antlr/grammars-v4/blob/80346f3b6bb05e67aa45003531d066f1890a534f/scss/ScssParser.g4#L170-L183 For my purposes it was enough...

scss