-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor/fix/feat: new parser (#1258)
Fixes some parsing bugs and improves error messages.
- Loading branch information
1 parent
35f02fc
commit da4b8d8
Showing
50 changed files
with
16,022 additions
and
5,152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
/dist | ||
/src/func/funcfiftlib.js | ||
/src/func/funcfiftlib.wasm.js | ||
/src/grammar/grammar.ohm-bundle.d.ts | ||
/src/grammar/grammar.ohm-bundle.js | ||
/src/grammar/prev/grammar.ohm-bundle.d.ts | ||
/src/grammar/prev/grammar.ohm-bundle.js | ||
src/grammar/next/grammar.ts | ||
/src/imports/stdlib.ts | ||
/grammar | ||
/docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,9 @@ | |
"author": "Steve Korshakov <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
"gen:grammar": "ohm generateBundles --withTypes src/grammar/*.ohm", | ||
"gen:grammar:old": "ohm generateBundles --withTypes src/grammar/prev/*.ohm", | ||
"gen:grammar:new": "pgen src/grammar/next/grammar.gg -o src/grammar/next/grammar.ts", | ||
"gen:grammar": "yarn gen:grammar:old && yarn gen:grammar:new", | ||
"gen:pack": "ts-node ./scripts/pack.ts", | ||
"gen:compiler": "ts-node ./scripts/prepare.ts", | ||
"gen": "yarn gen:grammar && yarn gen:pack && yarn gen:compiler", | ||
|
@@ -50,6 +52,7 @@ | |
"@tact-lang/opcode": "^0.0.16", | ||
"@ton/core": "0.59.1", | ||
"@ton/crypto": "^3.2.0", | ||
"@tonstudio/parser-runtime": "^0.0.1", | ||
"blockstore-core": "1.0.5", | ||
"change-case": "^4.1.2", | ||
"crc-32": "1.2.2", | ||
|
@@ -70,6 +73,7 @@ | |
"@tact-lang/ton-jest": "^0.0.4", | ||
"@ton/sandbox": "^0.23.0", | ||
"@ton/test-utils": "^0.4.2", | ||
"@tonstudio/pgen": "^0.0.1", | ||
"@types/glob": "^8.1.0", | ||
"@types/jest": "^29.5.12", | ||
"@types/json-bigint": "^1.0.4", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.