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

See: * [Spec](https://invisiblexml.org/1.0/#grammar) * [Website](https://invisiblexml.org/) * [Example](https://stackoverflow.com/q/73057894/4779853)

new-grammar

There are a number of grammars that are forked, e.g., java/java9, antlr/antlr4, javascript/ecmascript, python/python, sql/plsql, ... These forked grammars can be collapsed using the [transformGrammar.py](https://github.com/antlr/grammars-v4/tree/master/javascript/javascript/Python3) hack. Using this transform, which...

I appreciate help on this request About CWL: https://www.commonwl.org/ Specification: https://www.commonwl.org/v1.2/Workflow.html

new-grammar

Consider the code: ```java public class A { record R1(int x) { } } ``` It seems that `R1` is identified as method instead of record. To fix it, I...

java

For the files which I have tested, there were some spaces at the last of the file for which I was getting a syntax error. So **after removing that spaces**...

python3

There is no grammar for OCL in the grammars-v4 repository. I have written a grammar for OCL and would like to contribute this. It may be viewed at: https://github.com/eclipse/agileuml/blob/master/OCL.g4

new-grammar
ocl

When parsing a Scala program: [source file](http://www.rosettacode.org/wiki/Currency#Scala), only the first 4 lines were parsed and no error messages were outputted. It seems like, in line 483 of Scala.g4 the non-terminator...

scala

When parsing [an unpassed code segment from RosettaCode](http://www.rosettacode.org/wiki/Run-length_encoding#Haskell) I got an error on a normal statement in the first line: `line 1:18 no viable alternative at input 'import Data.List (group'`...

haskell

I test root rule with sample sql,why the tree is nothing?

mysql-PositiveTechnologies

The parser understands the JSON_OBJECT keyword but doesn't seem to understand the nested items underneath it. JSON_OBJECT converts simple columns into a JSON object. The below example maps jt.my_column to...

plsql