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

Checking the Dart2 specification, 'operator' can be used as a field name. Probably the same problem will occur with other marked keywords. Keyword Specifications for Dart2 * https://dart.dev/guides/language/language-tour#keywords > Avoid...

dart

Hi there, I'm using the SQLite grammar, ```python def parse(query: str): input_stream = InputStream(query) lexer = SQLiteLexer(input_stream) stream = CommonTokenStream(lexer) parser = SQLiteParser(stream) # Weird errors happen when it starts...

sqlite

As mentioned in [an SO question](https://stackoverflow.com/questions/72413453), the official grammar for Solidity is in the project's source code ([here](https://github.com/ethereum/solidity/tree/095cc6472834b6807a7f205f859914701476f5fd/docs/grammar)). The grammar in this repo should be replaced with the current version.

solidity

[This PR](https://github.com/antlr/grammars-v4/pull/2627/) requires some version of Java newer than version 11. Antlr4 itself requires version 11 for the tool, version 8 for the runtime. There isn't a thing in the...

This is a minor problem for now, but could be a blocking problem later on. trgen does not generate a correct line for compiling all sources in tester.pm1. All java...

```antlr4 predicate : predicate NOT? IN '(' (selectStatement | expressions) ')' #inPredicate | predicate IS nullNotnull #isNullPredicate | left=predicate comparisonOperator right=predicate #binaryComparisonPredicate | predicate comparisonOperator quantifier=(ALL | ANY | SOME)...

mysql-PositiveTechnologies

Describe the bug Generate CSharpLexer.py using antlr4 version 4.10.1 try to import the file File "CSharpLexer.py", line 12, in from .CSharpLexerBase import CSharpLexerBase ModuleNotFoundError: No module named 'grammar.CSharp.CSharpLexerBase' in the...

csharp
target:python3

## I made the fix: [pull request #2614](https://github.com/antlr/grammars-v4/pull/2614) The current parser for pointers in the declaration is not correct. The error is produced by the [pull request #1067](https://github.com/antlr/grammars-v4/commit/15fdfb1f46b8e97c3b8db72ec2825e26535b4270). The [pull...

I have made a pull request to fix the problem. [Pull Request 2608](https://github.com/antlr/grammars-v4/pull/2608) ## Problem Example: ```c struct A { int x;}; ``` In `c.g4`, `int x;` above is a...

c