grammars-v4
grammars-v4 copied to clipboard
Grammars written for ANTLR v4; expectation that the grammars are free of actions.
this is my js file content, and I know there is something wrong with the syntax of the following code. ```js "use strict"; //------------------------------------------------------------------------------ // Expression Bodies // More expressive...
What is the license for swift v5 @Marti2203 @JanWittler ? Will it be BSD like v2 and v3?
This gives an incorrect parse: ``` java org.antlr.v4.gui.TestRig Cobol85 pictureString -tree ``` ``` (pictureString (pictureChars (integerLiteral 9)) (pictureChars () (pictureChars (integerLiteral 18)) (pictureChars ))) ``` Should be ``` (pictureString (pictureChars...
https://github.com/antlr/grammars-v4/blob/f46e731fa5676e2768fe92f58a475fbe6870e21a/_scripts/mkindex.py#L97 For Cobol85, the lexer and parser grammar is set to the preprocessor grammar instead of the main grammar. Found when trying to test https://github.com/antlr/grammars-v4/issues/2904
The LONG VARCHAR datatype doesn't seem to be supported in PLSQL grammar: https://docs.oracle.com/javadb/10.8.3.0/ref/rrefsqlj15147.html
Like this parameterized sql, it seems that it can't be parsed?   
As alternative to #4002. This moves the generated classes into a Java package (and not keep them in the unnamed package) without disturbing the trgen process. This way, one can...
This PR updates the grammars and build to test using the Typescript tool and runtime Antlr4ng for certain Antlr4 grammars. The target `Antlr4ng` is added to the grammar's desc.xml where...
Antlr4 accepts almost any grammar. But, this isn't necessarily a good thing. Just because Antlr4 accepts the grammar, it doesn't mean the grammar is efficient. PRs to this repo are...
show_roles rule do not handle all available syntax. Show roles syntaxe as defined in https://docs.snowflake.com/en/sql-reference/sql/show-roles SHOW [ TERSE ] ROLES [ LIKE '' ] [ IN CLASS ] [ STARTS...