Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>justAntlrPlusNew to Visual Studio Code? Get it now.
justAntlrPlus

justAntlrPlus

xuyanfeng

|
140 installs
| (0) | Free
A simple tool for operating antlr
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JustAntlr

A vscode plugin make antlr easy

Feature

  1. generate antlr files with grammar file

  2. make the generation of AST gui tree easy

  3. interact with grammar

Prerequisite

The installment of Jdk is necessary. Its version is at least 1.7+.

Usage

Generate Antlr Files with Grammar File

Open a grammar file, g or g4 file. Enter ctrl + shift + p, select justAntlr: build. Follow the intruction and input the information, the files are generated automatically.

antlr:build

The following usage is only available in windows for now

Generation of AST Gui Tree

JustAntlr supports the generation of AST gui tree. you just open a grammar file and select a rule. Right click and choose justAntlr: generate AST gui or Enter ctrl + shift + p, choose justAntlr: generate AST gui.

antlr:gui

Interact with Grammar

It is possible to interact with grammar. Open a grammar file and select a rule. Right click justAntlr: interactive input and choose justAntlr: interactive input. Vscode opens a web view where you can input text and find the result.

antlr:interact

Issues

Submit the issues if you find any bug or have any suggestion.

Contribution

Fork the repo and submit pull requests.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft