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

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...

target:cpp
javascript

What is the license for swift v5 @Marti2203 @JanWittler ? Will it be BSD like v2 and v3?

swift
license

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...

cobol

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

infrastructure

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

plsql

Like this parameterized sql, it seems that it can't be parsed? ![image](https://user-images.githubusercontent.com/45088781/197091941-f15b7b63-1eeb-41c8-b191-a2fa96d2b0ea.png) ![image](https://user-images.githubusercontent.com/45088781/197092196-e91e4381-c311-4a80-a8a5-d9b6ea1a0a97.png) ![image](https://user-images.githubusercontent.com/45088781/197092309-b5177d2a-8aa8-45d9-b747-03d591c10b95.png)

mysql-PositiveTechnologies

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...

infrastructure

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...

snowflake