Skip to content

Commit

Permalink
Merge pull request #4 from Tengs-Penkwe/basic
Browse files Browse the repository at this point in the history
add antlr
  • Loading branch information
Tengs Fam authored Feb 2, 2024
2 parents e3780b7 + 7e0be4c commit 0ce26b7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,22 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11

- name: Install ANTLR
run: |
curl -O https://www.antlr.org/download/antlr-4.9.2-complete.jar
echo "java -jar $(pwd)/antlr-4.9.2-complete.jar \$@" > antlr4
chmod +x antlr4
echo "$(pwd)" >> $GITHUB_PATH
- name: Generate ANTLR Source Files
run: antlr4 -Dlanguage=JavaScript FarmExpr.g4 -visitor -o lang

- name: Install dependencies
run: yarn install
- name: Compile TypeScript
Expand Down

0 comments on commit 0ce26b7

Please sign in to comment.