Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HaydenOrz committed Jul 29, 2024
1 parent 977302e commit 50c324e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Create Antlr4
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.
## Create An ANTLR4 Project
With NPM:
Expand All @@ -22,5 +24,5 @@ $ pnpm create antlr4
```

## Built-in Templates
+ Antlr4ng + TypeScript (Recommended)
+ Antlr4 + JavaScript
+ [Antlr4ng](https://github.com/mike-lischke/antlr4ng) + TypeScript (Recommended)
+ [Antlr4](https://github.com/antlr/antlr4/blob/dev/doc/javascript-target.md) + JavaScript

0 comments on commit 50c324e

Please sign in to comment.