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

Hey guys, I'm an ANTLR regular and I'm looking to use ANTLR to parse markdown files. I'm willing to give the creation of a grammar myself a shot, but I...

new-grammar

After working on cleaning up the PHP target runtime, I am going through and testing the target on selected grammars in this repo. Unfortunately, the Antlr tool generates name conflicts...

tsql
target:php

The generated line here: ``` [System.Diagnostics.DebuggerNonUserCode] public ITerminalNode EMPTY() { return GetToken(TSqlParser.EMPTY, 0); } ``` and two others are causing the code not to compile. ParserRuleContext already has a definition...

tsql

Hello, I am using the JSX grammar. When parsing the following code, the HTML tag of `Layout.Header`, the HTML tag found is `Header`. A tag with a dot is not...

jsx

Re: https://github.com/antlr/grammars-v4/blob/master/java/java/Benchmarks.md - Is the benchmarking methodology explained? (For example, do you warm up the state machine first?) - Is there any way I can generate these numbers for my...

This concerns requests for updating the Python grammar to the latest standard grammar, which is a CPython grammar at https://docs.python.org/3/reference/grammar.html. * Missing match_stmt. https://stackoverflow.com/q/74563209/4779853. A description is [here](https://learnpython.com/blog/python-match-case-statement/). * https://github.com/antlr/grammars-v4/issues/2462...

python3

```sql CREATE TABLE test( NAME character varying NOT NULL check (length(name)>0), constraint ck_name check (length(name)>0) ) ``` the `constraint ck_name check (length(name)>0)` is parsed as `ColumnDefContext`, actually it's `TableconstraintContext`.

PostgreSQL

The CPP14Parser Grammar File had no rules written for an else-if selection statement.

cpp

Before I make the effort to write a grammar for parsing Intel style assembly for [eBPF](https://ebpf.foundation/), I was wondering if there is already one available? Goal: I need a grammar...

new-grammar

![image](https://user-images.githubusercontent.com/33193340/201883377-a59d4b0f-dc8d-4b3d-8b82-f9c603cf3602.png)

java