Skip to content

Commit

Permalink
Merge pull request #6 from distributed-lab/fix/typo-in-grammar
Browse files Browse the repository at this point in the history
Fix typo in grammar
  • Loading branch information
Arvolear authored Oct 17, 2024
2 parents ad5eefd + b0ca093 commit 01620f8
Show file tree
Hide file tree
Showing 13 changed files with 1,124 additions and 1,420 deletions.
2 changes: 1 addition & 1 deletion circom-g4-grammar
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@distributedlab/circom-parser",
"description": "Circom circuit parser built with ANTLR4",
"version": "0.1.4",
"version": "0.1.5",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
Expand Down Expand Up @@ -30,7 +30,8 @@
"generate": "npm run init && ./parser/generate.sh",
"build": "npm run generate && tsc && npm run lint-fix",
"lint-fix": "prettier --write '**/*.ts'",
"test": "npm run build && mocha --exit",
"test": "mocha --exit",
"build-and-test": "npm run build && mocha --exit",
"publish-to-npm": "npm run build && npm run lint-fix && npm publish ./ --access public"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions parser/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ antlr4 -Dlanguage=TypeScript -visitor -package parser parser/*.g4

rm parser/*.g4

mkdir -p src/generated
mv parser/*.ts src/generated

rm parser/*Circom*.*
Loading

0 comments on commit 01620f8

Please sign in to comment.