grammars-v4
grammars-v4 copied to clipboard
Grammars written for ANTLR v4; expectation that the grammars are free of actions.
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...
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...
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...
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...
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...
```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`.
The CPP14Parser Grammar File had no rules written for an else-if selection statement.
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...
