grammars-v4
grammars-v4 copied to clipboard
Grammars written for ANTLR v4; expectation that the grammars are free of actions.
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...
it seems that only Verilog grammar supports it
Anyone interested to make up Teradata grammar .g4 file ? Is there already one we could work on?
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...
(!) not ready for merge. The test is still failing. (!)
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...
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)...