antlr4 icon indicating copy to clipboard operation
antlr4 copied to clipboard

ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.

Results 411 antlr4 issues
Sort by recently updated
recently updated
newest added
trafficstars

A copy of the official Oracle MySQL is in [grammars-v4](https://github.com/antlr/grammars-v4/tree/2b4757494d23851b8d71aedc18a048a3e5dd6c46/sql/mysql/Oracle). This port is written by @mike-lischke using [Antlr4ng](https://github.com/mike-lischke/antlr4ng), and [uses the tokenStartCharIndex field](https://github.com/antlr/grammars-v4/blob/2b4757494d23851b8d71aedc18a048a3e5dd6c46/sql/mysql/Oracle/TypeScript/MySQLBaseLexer.ts#L266). It writes the value of the field...

I am trying import Trees module from JS runtime, but get "Cannot find module 'antlr4/tree/Trees' or its corresponding type declarations" error. See below screenshot. ![Screenshot 2024-10-16 at 8 52 55 ...

feature request: implement a C runtime?

I don't want it to show a full path ```C# // Generated from c:\Users\Thaina\Documents\grownith\NCalc2\grammer\NCalc.g4 by ANTLR 4.7.1 ``` Not to mention it always annoying when changing machine and recompile `g`...

It will be helpful if we can do some look-ahead while in the lexer without tying the grammar to a particular target language. So, I am proposing adding a new...

lexers
grammars
type:feature

This handles mostly whitespace improvement to be more aligned with PEP-8 by default. It doesn't yet fix a number of the newline issues that crop up. Additionally, it improves the...

This also fixes a few `from antlr4 import *`, which is considered bad practice unless being done to expose an interface (https://peps.python.org/pep-0008/#imports) My changes seem to modify generated files in...

Upgrade to go 1.21 to use `slices` package instead of `golang.org/x/exp/slices` package. In the [antlr4-go/antlr](https://github.com/antlr4-go/antlr) project, the go version declared in [go.mod](https://github.com/antlr4-go/antlr/blob/main/go.mod) is already 1.22.

This morning, I've been having trouble trying to do anything at all with Antlr4. I can't use it to build any of my grammars, and not even `antlr4 --help` works....

We are developing on 2 Macs under Sequoia and ANTLR4-4.13.2. After migrating one Mac to ARM64, we use the "fat" .dylib (and .a). Compiling our application was OK on both...