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

Previous syntax does not match the follow statement: ```sql ALTER TABLE t_order_item ADD PRIMARY KEY (order_id), FOREIGN KEY (order_id) REFERENCES t_order (order_id) ON UPDATE CASCADE ON DELETE CASCADE ``` **ON...

tsql

it seems that only Verilog grammar supports it

system-verilog

Anyone interested to make up Teradata grammar .g4 file ? Is there already one we could work on?

new-grammar

new-grammar
example
db2-luw

new-grammar
teradata-vantage

Antlr 4.12.0 will be released soon. The builds in grammars-v4 should be updated once the release is available. * Add the TypeScript target. * Make Antlr4 version setting from one...

In regexLexer.g4, it says: ``` Char : ~('.' | '\\' | '?' | '*' | '+' | '(' | ')' | '|' | '[' | ']') ``` which don't exclude...

regex

(!) not ready for merge. The test is still failing. (!)

example
sybase-sql

Perhaps this is better in the Discussions section, but I just don't understand why we aren't performing tree diffs on every parse, across all targets. It's not going to slow...

infrastructure

The [php]() grammar crashes when trying to print out trees (`trgen -t Java; cd Generated-Java; make; make test`). ``` Exception in thread "main" java.lang.NullPointerException at org.antlr.v4.runtime.misc.Utils.escapeWhitespace(Utils.java:63) at org.antlr.v4.runtime.tree.Trees.toStringTree(Trees.java:49) at org.antlr.v4.runtime.tree.Trees.toStringTree(Trees.java:58)...

php
target:java