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

I expect the PL/SQL grammar to parse sql scripts containing multiple blocks of sqlplus, pl/sql and sql but when trying to do so the `script.sql` example reports the `line 12:0...

plsql

[XQuery is to XML what SQL is to databases.](https://www.w3schools.com/xml/xquery_intro.asp) This grammar is very useful for Trash. Up to now, I've been providing tools like trxgrep, trinsert, trdelete, and trreplace, which...

new-grammar

Is there any plan to add TCL grammar?

new-grammar

hi, i'm parsing some code with a label before the for loop in kotlin, like: ``` fun sample() { anError@ for (i in 0 until 10) { } } ```...

kotlin

When inside a specify block with a parallel_path_description the parser incorrectly handles a +: or -: This is because the +/-: is a defined operator in the Lexer. The polarity_operator...

verilog

While working with the cpp grammar I noticed that the include statements in the examples are ignored by the parser. I tried to educate myself with the C++ standard appendix...

cpp

When i use the g4 file https://github.com/antlr/grammars-v4/blob/master/sql/plsql/PlSqlParser.g4 and parse the sql like below ```sql CREATE OR REPLACE PROCEDURE p AUTHID DEFINER IS i PLS_INTEGER; BEGIN DBMS_OUTPUT.PUT_LINE('Inside p'); i := $$PLSQL_LINE;...

plsql

Code: ``` var await; ``` Error: ``` line 1:4 mismatched input 'await' expecting {'[', '{', 'as', 'from', 'async', NonStrictLet, Identifier} line 1:9 mismatched input ';' expecting {RegularExpressionLiteral, '[', '(', '{',...

javascript

Code: ``` class Foo { bar baz; } ``` The code isn't correct according to documentation https://tc39.es/ecma262/multipage/ecmascript-language-functions-and-classes.html#prod-ClassElement and parsing should fail.

javascript

Hello, is there any plan to add new grammar for Franca IDL?

new-grammar