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 317 grammars-v4 issues
Sort by recently updated
recently updated
newest added

Java 17 is the latest long-term support release. A number of language features were added that should be supported in the grammar. - [ ] Switch Expressions - [ ]...

java

I'm currently using [this Java grammar](https://github.com/antlr/grammars-v4/tree/master/java/java) in a project and found something which I believe is a bug. Look at these interface method rules: ```g4 interfaceMethodDeclaration : interfaceMethodModifier* (typeTypeOrVoid |...

java

Rule for switch statements is missing in the present Python lexer and parser. I have added them. The rules I added are given below: PythonLexer.g4: SWITCH : 'switch'; CASE :...

python3

Hi, anyone has the grammar of gnu makefile? thanks

new-grammar

The GraphQL schema doesn't support fields that are named "type". A simple example is ``` { type { id name }} ``` The parser with the default error handler reports...

graphql

Hello everyone, does anyone have a grammar for the scripts of clarion6? Clarion script: ``` IF[4] '#variable1#' = '#variable2#@2@' FuncName('#$Calc(''#variable3#+14'')$#','#$Calc(''#Today#@@+0'')$#','#$Calc(''#Time#@@+ 60000'')$#') ELSE[4] FuncName('Hide','#$Calc(''#variable3#+11'')$#',1) FynctionName2('string','FunctionName3(''Table with(nolock)'',''SELECT_FIELD_NAME'',''where_cond=#variable5#'')') END[4] FuncName4('Hide','#$Calc(''#variable3#+6'')$#',1) ```

new-grammar

I copy lexer and parser in https://github.com/antlr/grammars-v4/tree/master/java/java8 to my idea,but idea tip some error in parser, my antlr4 plugin version is 1.16.

According to the [MS SQL Server CREATE TABLE definition](https://docs.microsoft.com/es-es/sql/t-sql/statements/create-table-transact-sql?view=sql-server-ver15), REFERENCES should accept either specifying a column list or empty list at the column constraint lexer: ``` -- column_constraints create table...

tsql

Hello, there is a error with parsing on !(bool) with cpp parser. I'm pretty newbie on here. so I can't figure out why it does...

cpp