simplex-lang 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/build/parser/index.d.ts +207 -9
- package/build/parser/index.js +5543 -5863
- package/build/parser/index.js.map +1 -1
- package/build/src/compiler.d.ts +3 -2
- package/build/src/compiler.js +45 -28
- package/build/src/compiler.js.map +1 -1
- package/build/src/errors.js +3 -0
- package/build/src/errors.js.map +1 -1
- package/build/src/simplex-tree.d.ts +7 -3
- package/build/src/simplex.peggy +800 -0
- package/build/src/version.js +1 -1
- package/package.json +3 -2
- package/parser/index.js +275 -280
- package/parser/index.js.map +1 -1
- package/src/compiler.ts +61 -31
- package/src/errors.ts +11 -9
- package/src/simplex-tree.ts +8 -2
- package/src/simplex.peggy +25 -17
package/build/src/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '0.1
|
|
1
|
+
export const version = '0.2.1';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "simplex-lang",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "SimplEx - simple expression language",
|
|
6
6
|
"files": [
|
|
@@ -33,8 +33,9 @@
|
|
|
33
33
|
"pick-version": "node ./scripts/lib-version.js",
|
|
34
34
|
"lint": "eslint . --fix",
|
|
35
35
|
"build:parser": "peggy -o parser/index.js --source-map --format es --dts src/simplex.peggy",
|
|
36
|
+
"copy-parser": "cp -rf parser/ build/ && cp -f src/simplex.peggy build/src/",
|
|
36
37
|
"build:dev": "npm run lint && npm run compile:dev",
|
|
37
|
-
"build": "npm run build:parser && npm run lint && npm run compile",
|
|
38
|
+
"build": "npm run build:parser && npm run lint && npm run compile && npm run copy-parser",
|
|
38
39
|
"coverage": "c8 node -r dotenv/config --test --enable-source-maps",
|
|
39
40
|
"coverage:report": "c8 report",
|
|
40
41
|
"test": "npm run build && npm run coverage",
|