@bablr/cli 0.11.8 → 0.11.10
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/bin/index.js +3 -1
- package/package.json +4 -4
package/bin/index.js
CHANGED
|
@@ -19,6 +19,8 @@ program
|
|
|
19
19
|
.option('-l, --language [URL]', 'The URL of the top BABLR language')
|
|
20
20
|
.option('-p, --production [name]', 'Shorthand: sets the named node matcher as root matcher')
|
|
21
21
|
.option('-m, --matcher [matcher]', 'Sets the root matcher')
|
|
22
|
+
.option('-s, --shift', 'Allows shifting')
|
|
23
|
+
.option('-S, --no-shift', 'Disallows shifting')
|
|
22
24
|
.option('-f, --format', 'Pretty-format CSTML output', true)
|
|
23
25
|
.option('-F, --no-format')
|
|
24
26
|
.option('-v, --verbose', 'Prints debugging information to stderr')
|
|
@@ -75,7 +77,7 @@ const output = evaluateIO(() =>
|
|
|
75
77
|
{
|
|
76
78
|
enhancers,
|
|
77
79
|
emitEffects: true,
|
|
78
|
-
holdShiftedNodes: !options.
|
|
80
|
+
holdShiftedNodes: !options.shift,
|
|
79
81
|
// holdUndefinedAttributes: !options.gaps,
|
|
80
82
|
tree: false,
|
|
81
83
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bablr/cli",
|
|
3
3
|
"description": "CLI for running BABLR parsers",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.10",
|
|
5
5
|
"author": "Conrad Buck<conartist6@gmail.com>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"@bablr/agast-helpers": "0.10.2",
|
|
21
21
|
"@bablr/agast-vm-helpers": "0.10.2",
|
|
22
22
|
"@bablr/io-vm-node": "0.9.1",
|
|
23
|
-
"@bablr/boot": "0.11.
|
|
23
|
+
"@bablr/boot": "0.11.2",
|
|
24
24
|
"@bablr/coroutine": "0.1.0",
|
|
25
25
|
"@bablr/helpers": "0.25.1",
|
|
26
|
-
"@bablr/language-en-cstml": "0.12.
|
|
27
|
-
"@bablr/language-en-bablr-cli-verbose-output": "0.10.
|
|
26
|
+
"@bablr/language-en-cstml": "0.12.3",
|
|
27
|
+
"@bablr/language-en-bablr-cli-verbose-output": "0.10.4",
|
|
28
28
|
"@iter-tools/imm-stack": "1.2.0",
|
|
29
29
|
"bablr": "0.11.2",
|
|
30
30
|
"color-support": "1.1.3",
|