antlr4
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.
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.  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...