Using interactive command line to quickly create an ANTLR4 project.
Tip
ANTLR4 requires java to generate from a g4 file, so check your local java environment before you start creating a project. You can run java --version
to do some simple checks.
With NPM:
npm create antlr4@latest
With Yarn:
yarn create antlr4
With PNPM:
pnpm create antlr4
- VSCode Extension ANTLR4 grammar syntax support
- JetBrains IDEs plugin ANTLR v4