@formulavize/lezer-fiz 0.2.5 → 0.2.6
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/package.json +7 -7
- package/test/statements.txt +6 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formulavize/lezer-fiz",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "fiz grammar for lezer",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"type": "module",
|
|
@@ -11,16 +11,16 @@
|
|
|
11
11
|
"module": "dist/index.es.js",
|
|
12
12
|
"types": "dist/index.d.ts",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@lezer/highlight": "^1.2.
|
|
15
|
-
"@lezer/lr": "^1.4.
|
|
14
|
+
"@lezer/highlight": "^1.2.1",
|
|
15
|
+
"@lezer/lr": "^1.4.2"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@lezer/generator": "^1.7.
|
|
18
|
+
"@lezer/generator": "^1.7.1",
|
|
19
19
|
"chokidar-cli": "^3.0.0",
|
|
20
|
-
"mocha": "^10.
|
|
20
|
+
"mocha": "^10.8.2",
|
|
21
21
|
"npm-run-all": "^4.1.5",
|
|
22
|
-
"prettier": "^3.
|
|
23
|
-
"rollup": "^4.
|
|
22
|
+
"prettier": "^3.3.3",
|
|
23
|
+
"rollup": "^4.25.0"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "rollup -c",
|
package/test/statements.txt
CHANGED
|
@@ -195,9 +195,9 @@ Recipe(
|
|
|
195
195
|
|
|
196
196
|
# Diagram
|
|
197
197
|
|
|
198
|
-
x = f(i); y = g(j)
|
|
198
|
+
x = f(i); y = g(j)
|
|
199
199
|
// | |
|
|
200
|
-
m = a(x); n = b(y)
|
|
200
|
+
m = a(x); n = b(y);
|
|
201
201
|
// \ /
|
|
202
202
|
// \ /
|
|
203
203
|
// \ /
|
|
@@ -244,7 +244,9 @@ Recipe(
|
|
|
244
244
|
LineComment,
|
|
245
245
|
Call(
|
|
246
246
|
Identifier,
|
|
247
|
-
ArgList(
|
|
248
|
-
|
|
247
|
+
ArgList(
|
|
248
|
+
RhsVariable(QualifiableIdentifier(Identifier)),
|
|
249
|
+
RhsVariable(QualifiableIdentifier(Identifier))
|
|
250
|
+
)
|
|
249
251
|
)
|
|
250
252
|
)
|