Skip to content

Commit 1c766db

Browse files
committed
Fixed typo in grammar
1 parent ad5eefd commit 1c766db

14 files changed

+1125
-1421
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "circom-g4-grammar"]
22
path = circom-g4-grammar
3-
branch = main
3+
branch = dev
44
url = https://github.com/distributed-lab/circom-g4-grammar.git

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@distributedlab/circom-parser",
33
"description": "Circom circuit parser built with ANTLR4",
4-
"version": "0.1.4",
4+
"version": "0.1.5",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"files": [
@@ -30,7 +30,8 @@
3030
"generate": "npm run init && ./parser/generate.sh",
3131
"build": "npm run generate && tsc && npm run lint-fix",
3232
"lint-fix": "prettier --write '**/*.ts'",
33-
"test": "npm run build && mocha --exit",
33+
"test": "mocha --exit",
34+
"build-and-test": "npm run build && mocha --exit",
3435
"publish-to-npm": "npm run build && npm run lint-fix && npm publish ./ --access public"
3536
},
3637
"dependencies": {

parser/generate.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ antlr4 -Dlanguage=TypeScript -visitor -package parser parser/*.g4
99

1010
rm parser/*.g4
1111

12+
mkdir -p src/generated
1213
mv parser/*.ts src/generated
1314

1415
rm parser/*Circom*.*

0 commit comments

Comments
 (0)