wikipeg 6.1.1 → 6.1.3
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/HISTORY.md +15 -0
- package/README.md +41 -7
- package/bin/wikipeg +8 -0
- package/lib/compiler/passes/analyze-params.js +21 -8
- package/lib/compiler/passes/ast-to-code.js +23 -33
- package/lib/compiler/passes/transform-common-lang.js +4 -1
- package/lib/peg.js +1 -1
- package/lib/utils/transform-array.js +1367 -0
- package/package.json +8 -6
- package/src/DefaultTracer.php +1 -0
- package/src/Expectation.php +1 -0
- package/src/InternalError.php +1 -0
- package/src/Location.php +1 -0
- package/src/LocationRange.php +1 -0
- package/src/PEGParserBase.php +1 -0
- package/src/SyntaxError.php +1 -0
- package/src/Tracer.php +1 -0
- package/VERSION +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wikipeg",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.3",
|
|
4
4
|
"description": "Parser generator for JavaScript and PHP",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://gerrit.wikimedia.org/r/plugins/gitiles/wikipeg/",
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"HISTORY.md",
|
|
20
20
|
"LICENSE",
|
|
21
21
|
"README.md",
|
|
22
|
-
"VERSION",
|
|
23
22
|
"bin/wikipeg",
|
|
24
23
|
"examples/*.pegjs",
|
|
25
24
|
"examples/*.pegphp",
|
|
@@ -31,11 +30,14 @@
|
|
|
31
30
|
"package.json"
|
|
32
31
|
],
|
|
33
32
|
"main": "lib/peg",
|
|
34
|
-
"bin":
|
|
33
|
+
"bin": {
|
|
34
|
+
"wikipeg": "bin/wikipeg"
|
|
35
|
+
},
|
|
35
36
|
"scripts": {
|
|
36
37
|
"eslint": "make eslint",
|
|
37
|
-
"test": "make eslint && make test",
|
|
38
|
-
"
|
|
38
|
+
"test": "make eslint && make test && make check-version",
|
|
39
|
+
"test-with-php": "make eslint && make test-with-php",
|
|
40
|
+
"rebuild": "make rebuild"
|
|
39
41
|
},
|
|
40
42
|
"repository": {
|
|
41
43
|
"type": "git",
|
|
@@ -43,7 +45,7 @@
|
|
|
43
45
|
},
|
|
44
46
|
"devDependencies": {
|
|
45
47
|
"eslint": "8.57.0",
|
|
46
|
-
"jasmine": "
|
|
48
|
+
"jasmine": "7.0.0-pre.1"
|
|
47
49
|
},
|
|
48
50
|
"engines": {
|
|
49
51
|
"node": ">= 6.0.0"
|
package/src/DefaultTracer.php
CHANGED
package/src/Expectation.php
CHANGED
package/src/InternalError.php
CHANGED
package/src/Location.php
CHANGED
package/src/LocationRange.php
CHANGED
package/src/PEGParserBase.php
CHANGED
package/src/SyntaxError.php
CHANGED
package/src/Tracer.php
CHANGED
package/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
6.1.1
|