tpmkms_4wp 8.9.1-beta.16 → 8.9.1-beta.18
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/common/animals.instance.json +13 -0
- package/common/asking.test.json +41 -0
- package/common/colors.instance.json +26 -28
- package/common/comparable.instance.json +3 -0
- package/common/crew.instance.json +26 -164
- package/common/dimension.instance.json +1 -0
- package/common/edible.instance.json +75 -31
- package/common/emotions.instance.json +1 -60
- package/common/fastfood.instance.json +219 -287
- package/common/formulas.instance.json +1 -0
- package/common/formulas.test.json +461 -10
- package/common/kirk.instance.json +1 -0
- package/common/length.instance.json +15 -0
- package/common/math.instance.json +1 -0
- package/common/ordering.instance.json +2 -120
- package/common/people.instance.json +8 -0
- package/common/pipboy.instance.json +73 -0
- package/common/pokemon.instance.json +13 -0
- package/common/pressure.instance.json +4 -0
- package/common/properties.instance.json +1 -44
- package/common/reports.instance.json +3 -1
- package/common/spock.instance.json +1 -0
- package/common/temperature.instance.json +4 -196
- package/common/ui.instance.json +1 -0
- package/common/weight.instance.json +12 -68
- package/common/wp.instance.json +99 -72
- package/common/wp.js +1 -1
- package/package.json +2 -2
@@ -1099,6 +1099,7 @@
|
|
1099
1099
|
"level": 1
|
1100
1100
|
},
|
1101
1101
|
"level": 1,
|
1102
|
+
"context_index": 1,
|
1102
1103
|
"topLevel": true,
|
1103
1104
|
"touchedBy": [
|
1104
1105
|
"weight#call2"
|
@@ -2438,6 +2439,7 @@
|
|
2438
2439
|
},
|
2439
2440
|
"dead": true,
|
2440
2441
|
"level": 2,
|
2442
|
+
"context_index": 1,
|
2441
2443
|
"topLevel": true,
|
2442
2444
|
"touchedBy": [
|
2443
2445
|
"weight#call2"
|
@@ -4408,6 +4410,7 @@
|
|
4408
4410
|
},
|
4409
4411
|
"dead": true,
|
4410
4412
|
"level": 2,
|
4413
|
+
"context_index": 1,
|
4411
4414
|
"topLevel": true,
|
4412
4415
|
"touchedBy": [
|
4413
4416
|
"weight#call2"
|
@@ -4574,40 +4577,6 @@
|
|
4574
4577
|
0
|
4575
4578
|
]
|
4576
4579
|
],
|
4577
|
-
[
|
4578
|
-
[
|
4579
|
-
"is",
|
4580
|
-
0
|
4581
|
-
],
|
4582
|
-
[
|
4583
|
-
"list",
|
4584
|
-
0
|
4585
|
-
],
|
4586
|
-
[
|
4587
|
-
"ounce",
|
4588
|
-
0
|
4589
|
-
],
|
4590
|
-
[
|
4591
|
-
"propertyOf",
|
4592
|
-
0
|
4593
|
-
],
|
4594
|
-
[
|
4595
|
-
"unit",
|
4596
|
-
0
|
4597
|
-
],
|
4598
|
-
[
|
4599
|
-
"unknown",
|
4600
|
-
0
|
4601
|
-
],
|
4602
|
-
[
|
4603
|
-
"unknown",
|
4604
|
-
1
|
4605
|
-
],
|
4606
|
-
[
|
4607
|
-
"weight",
|
4608
|
-
0
|
4609
|
-
]
|
4610
|
-
],
|
4611
4580
|
[
|
4612
4581
|
[
|
4613
4582
|
"is",
|
@@ -6381,6 +6350,7 @@
|
|
6381
6350
|
"level": 1
|
6382
6351
|
},
|
6383
6352
|
"level": 1,
|
6353
|
+
"context_index": 1,
|
6384
6354
|
"topLevel": true,
|
6385
6355
|
"touchedBy": [
|
6386
6356
|
"weight#call2"
|
@@ -8024,6 +7994,7 @@
|
|
8024
7994
|
"level": 1
|
8025
7995
|
},
|
8026
7996
|
"level": 1,
|
7997
|
+
"context_index": 1,
|
8027
7998
|
"topLevel": true,
|
8028
7999
|
"touchedBy": [
|
8029
8000
|
"weight#call2"
|
@@ -9635,6 +9606,7 @@
|
|
9635
9606
|
"level": 1
|
9636
9607
|
},
|
9637
9608
|
"level": 1,
|
9609
|
+
"context_index": 1,
|
9638
9610
|
"topLevel": true,
|
9639
9611
|
"touchedBy": [
|
9640
9612
|
"weight#call2"
|
@@ -11246,6 +11218,7 @@
|
|
11246
11218
|
"level": 1
|
11247
11219
|
},
|
11248
11220
|
"level": 1,
|
11221
|
+
"context_index": 1,
|
11249
11222
|
"topLevel": true,
|
11250
11223
|
"touchedBy": [
|
11251
11224
|
"weight#call2"
|
@@ -12857,6 +12830,7 @@
|
|
12857
12830
|
"level": 1
|
12858
12831
|
},
|
12859
12832
|
"level": 1,
|
12833
|
+
"context_index": 1,
|
12860
12834
|
"topLevel": true,
|
12861
12835
|
"touchedBy": [
|
12862
12836
|
"weight#call2"
|
@@ -14468,6 +14442,7 @@
|
|
14468
14442
|
"level": 1
|
14469
14443
|
},
|
14470
14444
|
"level": 1,
|
14445
|
+
"context_index": 1,
|
14471
14446
|
"topLevel": true,
|
14472
14447
|
"touchedBy": [
|
14473
14448
|
"weight#call2"
|
@@ -16079,6 +16054,7 @@
|
|
16079
16054
|
"level": 1
|
16080
16055
|
},
|
16081
16056
|
"level": 1,
|
16057
|
+
"context_index": 1,
|
16082
16058
|
"topLevel": true,
|
16083
16059
|
"touchedBy": [
|
16084
16060
|
"weight#call2"
|
@@ -17691,6 +17667,7 @@
|
|
17691
17667
|
"level": 1
|
17692
17668
|
},
|
17693
17669
|
"level": 1,
|
17670
|
+
"context_index": 1,
|
17694
17671
|
"topLevel": true,
|
17695
17672
|
"touchedBy": [
|
17696
17673
|
"weight#call2"
|
@@ -19314,6 +19291,7 @@
|
|
19314
19291
|
"level": 1
|
19315
19292
|
},
|
19316
19293
|
"level": 1,
|
19294
|
+
"context_index": 1,
|
19317
19295
|
"topLevel": true,
|
19318
19296
|
"touchedBy": [
|
19319
19297
|
"weight#call2"
|
@@ -20193,40 +20171,6 @@
|
|
20193
20171
|
0
|
20194
20172
|
]
|
20195
20173
|
],
|
20196
|
-
[
|
20197
|
-
[
|
20198
|
-
"is",
|
20199
|
-
0
|
20200
|
-
],
|
20201
|
-
[
|
20202
|
-
"list",
|
20203
|
-
0
|
20204
|
-
],
|
20205
|
-
[
|
20206
|
-
"ounce",
|
20207
|
-
0
|
20208
|
-
],
|
20209
|
-
[
|
20210
|
-
"propertyOf",
|
20211
|
-
0
|
20212
|
-
],
|
20213
|
-
[
|
20214
|
-
"unit",
|
20215
|
-
0
|
20216
|
-
],
|
20217
|
-
[
|
20218
|
-
"unknown",
|
20219
|
-
0
|
20220
|
-
],
|
20221
|
-
[
|
20222
|
-
"unknown",
|
20223
|
-
1
|
20224
|
-
],
|
20225
|
-
[
|
20226
|
-
"weight",
|
20227
|
-
0
|
20228
|
-
]
|
20229
|
-
],
|
20230
20174
|
[
|
20231
20175
|
[
|
20232
20176
|
"is",
|
package/common/wp.instance.json
CHANGED
@@ -117,7 +117,27 @@
|
|
117
117
|
"optional": {
|
118
118
|
"-1": "{ ...operator, invisible: true }"
|
119
119
|
},
|
120
|
-
"bridge": "{ ...before[0], context: append(before[0].context, [after[0]]), generate: [before[0], operator, after[0]] }"
|
120
|
+
"bridge": "{ ...next(before[0]), context: append(before[0].context, [after[0]]), generate: [before[0], operator, after[0]] }",
|
121
|
+
"semantic": "(args) => {\n const { context, contexts } = args\n for (let i = context.context_index + 1; i < contexts.length; ++i) {\n if (contexts[i].marker == 'applyStyle_wp') {\n debugger\n debugger\n const element = contexts[i].element\n if (!element.context) {\n element.context = []\n }\n element.context = element.context.concat(context.context)\n }\n }\n console.log(JSON.stringify(Object.keys(args)))\n }"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"id": "applyStyle_wp",
|
125
|
+
"parents": [
|
126
|
+
"verb"
|
127
|
+
],
|
128
|
+
"convolution": true,
|
129
|
+
"bridge": "{ ...next(operator), element: after[0], state: before[0], operator: operator, generate: ['state', 'element'] }",
|
130
|
+
"localHierarchy": [
|
131
|
+
[
|
132
|
+
"thisitthat",
|
133
|
+
"statefulElement_wp"
|
134
|
+
],
|
135
|
+
[
|
136
|
+
"everything",
|
137
|
+
"statefulElement_wp"
|
138
|
+
]
|
139
|
+
],
|
140
|
+
"semantic": "(args) => {\n changeState({...args, element: args.context.element, state: args.context.state})\n }"
|
121
141
|
},
|
122
142
|
{
|
123
143
|
"id": "modifiedByStyle_wp",
|
@@ -190,25 +210,6 @@
|
|
190
210
|
},
|
191
211
|
"bridge": "{ ...next(operator), operator: operator, letters: after[1], generate: ['operator', 'letters'] }"
|
192
212
|
},
|
193
|
-
{
|
194
|
-
"id": "applyStyle_wp",
|
195
|
-
"parents": [
|
196
|
-
"verb"
|
197
|
-
],
|
198
|
-
"convolution": true,
|
199
|
-
"bridge": "{ ...next(operator), element: after[0], state: before[0], operator: operator, generate: ['state', 'element'] }",
|
200
|
-
"localHierarchy": [
|
201
|
-
[
|
202
|
-
"thisitthat",
|
203
|
-
"statefulElement_wp"
|
204
|
-
],
|
205
|
-
[
|
206
|
-
"everything",
|
207
|
-
"statefulElement_wp"
|
208
|
-
]
|
209
|
-
],
|
210
|
-
"semantic": "(args) => {\n changeState({...args, element: args.context.element, state: args.context.state})\n }"
|
211
|
-
},
|
212
213
|
{
|
213
214
|
"id": "changeState_wp",
|
214
215
|
"parents": [
|
@@ -2661,6 +2662,7 @@
|
|
2661
2662
|
"level": 1
|
2662
2663
|
},
|
2663
2664
|
"level": 1,
|
2665
|
+
"context_index": 1,
|
2664
2666
|
"topLevel": true,
|
2665
2667
|
"touchedBy": [
|
2666
2668
|
"wp#call2"
|
@@ -5282,6 +5284,7 @@
|
|
5282
5284
|
},
|
5283
5285
|
"dead": true,
|
5284
5286
|
"level": 2,
|
5287
|
+
"context_index": 1,
|
5285
5288
|
"topLevel": true,
|
5286
5289
|
"touchedBy": [
|
5287
5290
|
"wp#call2"
|
@@ -8053,6 +8056,7 @@
|
|
8053
8056
|
},
|
8054
8057
|
"dead": true,
|
8055
8058
|
"level": 2,
|
8059
|
+
"context_index": 1,
|
8056
8060
|
"topLevel": true,
|
8057
8061
|
"touchedBy": [
|
8058
8062
|
"wp#call2"
|
@@ -10929,6 +10933,7 @@
|
|
10929
10933
|
},
|
10930
10934
|
"dead": true,
|
10931
10935
|
"level": 2,
|
10936
|
+
"context_index": 1,
|
10932
10937
|
"topLevel": true,
|
10933
10938
|
"touchedBy": [
|
10934
10939
|
"wp#call2"
|
@@ -13678,6 +13683,7 @@
|
|
13678
13683
|
},
|
13679
13684
|
"dead": true,
|
13680
13685
|
"level": 2,
|
13686
|
+
"context_index": 1,
|
13681
13687
|
"topLevel": true,
|
13682
13688
|
"touchedBy": [
|
13683
13689
|
"wp#call2"
|
@@ -16286,6 +16292,7 @@
|
|
16286
16292
|
"level": 1
|
16287
16293
|
},
|
16288
16294
|
"level": 1,
|
16295
|
+
"context_index": 1,
|
16289
16296
|
"topLevel": true,
|
16290
16297
|
"touchedBy": [
|
16291
16298
|
"wp#call2"
|
@@ -19574,6 +19581,7 @@
|
|
19574
19581
|
},
|
19575
19582
|
"dead": true,
|
19576
19583
|
"level": 2,
|
19584
|
+
"context_index": 1,
|
19577
19585
|
"topLevel": true,
|
19578
19586
|
"touchedBy": [
|
19579
19587
|
"wp#call2"
|
@@ -19645,10 +19653,6 @@
|
|
19645
19653
|
"list",
|
19646
19654
|
0
|
19647
19655
|
],
|
19648
|
-
[
|
19649
|
-
"unknown",
|
19650
|
-
0
|
19651
|
-
],
|
19652
19656
|
[
|
19653
19657
|
"unknown",
|
19654
19658
|
1
|
@@ -19665,7 +19669,7 @@
|
|
19665
19669
|
],
|
19666
19670
|
[
|
19667
19671
|
"list",
|
19668
|
-
|
19672
|
+
1
|
19669
19673
|
],
|
19670
19674
|
[
|
19671
19675
|
"unknown",
|
@@ -19673,10 +19677,6 @@
|
|
19673
19677
|
]
|
19674
19678
|
],
|
19675
19679
|
[
|
19676
|
-
[
|
19677
|
-
"comma",
|
19678
|
-
0
|
19679
|
-
],
|
19680
19680
|
[
|
19681
19681
|
"is",
|
19682
19682
|
0
|
@@ -22534,6 +22534,7 @@
|
|
22534
22534
|
"level": 1
|
22535
22535
|
},
|
22536
22536
|
"level": 1,
|
22537
|
+
"context_index": 1,
|
22537
22538
|
"topLevel": true,
|
22538
22539
|
"touchedBy": [
|
22539
22540
|
"wp#call2"
|
@@ -25445,6 +25446,7 @@
|
|
25445
25446
|
"level": 1
|
25446
25447
|
},
|
25447
25448
|
"level": 1,
|
25449
|
+
"context_index": 1,
|
25448
25450
|
"topLevel": true,
|
25449
25451
|
"touchedBy": [
|
25450
25452
|
"wp#call2"
|
@@ -28381,6 +28383,7 @@
|
|
28381
28383
|
"level": 1
|
28382
28384
|
},
|
28383
28385
|
"level": 1,
|
28386
|
+
"context_index": 1,
|
28384
28387
|
"topLevel": true,
|
28385
28388
|
"touchedBy": [
|
28386
28389
|
"wp#call2"
|
@@ -31342,6 +31345,7 @@
|
|
31342
31345
|
"level": 1
|
31343
31346
|
},
|
31344
31347
|
"level": 1,
|
31348
|
+
"context_index": 1,
|
31345
31349
|
"topLevel": true,
|
31346
31350
|
"touchedBy": [
|
31347
31351
|
"wp#call2"
|
@@ -34328,6 +34332,7 @@
|
|
34328
34332
|
"level": 1
|
34329
34333
|
},
|
34330
34334
|
"level": 1,
|
34335
|
+
"context_index": 1,
|
34331
34336
|
"topLevel": true,
|
34332
34337
|
"touchedBy": [
|
34333
34338
|
"wp#call2"
|
@@ -37990,6 +37995,7 @@
|
|
37990
37995
|
},
|
37991
37996
|
"dead": true,
|
37992
37997
|
"level": 2,
|
37998
|
+
"context_index": 1,
|
37993
37999
|
"topLevel": true,
|
37994
38000
|
"touchedBy": [
|
37995
38001
|
"wp#call2"
|
@@ -38168,6 +38174,20 @@
|
|
38168
38174
|
1
|
38169
38175
|
]
|
38170
38176
|
],
|
38177
|
+
[
|
38178
|
+
[
|
38179
|
+
"is",
|
38180
|
+
0
|
38181
|
+
],
|
38182
|
+
[
|
38183
|
+
"list",
|
38184
|
+
1
|
38185
|
+
],
|
38186
|
+
[
|
38187
|
+
"unknown",
|
38188
|
+
1
|
38189
|
+
]
|
38190
|
+
],
|
38171
38191
|
[
|
38172
38192
|
[
|
38173
38193
|
"is",
|
@@ -41244,6 +41264,7 @@
|
|
41244
41264
|
},
|
41245
41265
|
"dead": true,
|
41246
41266
|
"level": 1,
|
41267
|
+
"context_index": 1,
|
41247
41268
|
"topLevel": true,
|
41248
41269
|
"touchedBy": [
|
41249
41270
|
"wp#call2"
|
@@ -41372,7 +41393,25 @@
|
|
41372
41393
|
"optional": {
|
41373
41394
|
"-1": "{ ...operator, invisible: true }"
|
41374
41395
|
},
|
41375
|
-
"bridge": "{ ...before[0], context: append(before[0].context, [after[0]]), generate: [before[0], operator, after[0]] }"
|
41396
|
+
"bridge": "{ ...next(before[0]), context: append(before[0].context, [after[0]]), generate: [before[0], operator, after[0]] }"
|
41397
|
+
},
|
41398
|
+
{
|
41399
|
+
"id": "applyStyle_wp",
|
41400
|
+
"parents": [
|
41401
|
+
"verb"
|
41402
|
+
],
|
41403
|
+
"convolution": true,
|
41404
|
+
"bridge": "{ ...next(operator), element: after[0], state: before[0], operator: operator, generate: ['state', 'element'] }",
|
41405
|
+
"localHierarchy": [
|
41406
|
+
[
|
41407
|
+
"thisitthat",
|
41408
|
+
"statefulElement_wp"
|
41409
|
+
],
|
41410
|
+
[
|
41411
|
+
"everything",
|
41412
|
+
"statefulElement_wp"
|
41413
|
+
]
|
41414
|
+
]
|
41376
41415
|
},
|
41377
41416
|
{
|
41378
41417
|
"id": "modifiedByStyle_wp",
|
@@ -41445,24 +41484,6 @@
|
|
41445
41484
|
},
|
41446
41485
|
"bridge": "{ ...next(operator), operator: operator, letters: after[1], generate: ['operator', 'letters'] }"
|
41447
41486
|
},
|
41448
|
-
{
|
41449
|
-
"id": "applyStyle_wp",
|
41450
|
-
"parents": [
|
41451
|
-
"verb"
|
41452
|
-
],
|
41453
|
-
"convolution": true,
|
41454
|
-
"bridge": "{ ...next(operator), element: after[0], state: before[0], operator: operator, generate: ['state', 'element'] }",
|
41455
|
-
"localHierarchy": [
|
41456
|
-
[
|
41457
|
-
"thisitthat",
|
41458
|
-
"statefulElement_wp"
|
41459
|
-
],
|
41460
|
-
[
|
41461
|
-
"everything",
|
41462
|
-
"statefulElement_wp"
|
41463
|
-
]
|
41464
|
-
]
|
41465
|
-
},
|
41466
41487
|
{
|
41467
41488
|
"id": "changeState_wp",
|
41468
41489
|
"parents": [
|
@@ -41490,10 +41511,10 @@
|
|
41490
41511
|
],
|
41491
41512
|
"semantics": [
|
41492
41513
|
{
|
41493
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:
|
41514
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:349"
|
41494
41515
|
},
|
41495
41516
|
{
|
41496
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:
|
41517
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:358"
|
41497
41518
|
}
|
41498
41519
|
],
|
41499
41520
|
"priorities": [
|
@@ -42004,28 +42025,6 @@
|
|
42004
42025
|
1
|
42005
42026
|
]
|
42006
42027
|
],
|
42007
|
-
[
|
42008
|
-
[
|
42009
|
-
"comma",
|
42010
|
-
0
|
42011
|
-
],
|
42012
|
-
[
|
42013
|
-
"is",
|
42014
|
-
0
|
42015
|
-
],
|
42016
|
-
[
|
42017
|
-
"list",
|
42018
|
-
0
|
42019
|
-
],
|
42020
|
-
[
|
42021
|
-
"unknown",
|
42022
|
-
0
|
42023
|
-
],
|
42024
|
-
[
|
42025
|
-
"unknown",
|
42026
|
-
1
|
42027
|
-
]
|
42028
|
-
],
|
42029
42028
|
[
|
42030
42029
|
[
|
42031
42030
|
"comma",
|
@@ -42610,6 +42609,34 @@
|
|
42610
42609
|
1
|
42611
42610
|
]
|
42612
42611
|
],
|
42612
|
+
[
|
42613
|
+
[
|
42614
|
+
"is",
|
42615
|
+
0
|
42616
|
+
],
|
42617
|
+
[
|
42618
|
+
"list",
|
42619
|
+
1
|
42620
|
+
],
|
42621
|
+
[
|
42622
|
+
"unknown",
|
42623
|
+
1
|
42624
|
+
]
|
42625
|
+
],
|
42626
|
+
[
|
42627
|
+
[
|
42628
|
+
"is",
|
42629
|
+
0
|
42630
|
+
],
|
42631
|
+
[
|
42632
|
+
"list",
|
42633
|
+
1
|
42634
|
+
],
|
42635
|
+
[
|
42636
|
+
"unknown",
|
42637
|
+
1
|
42638
|
+
]
|
42639
|
+
],
|
42613
42640
|
[
|
42614
42641
|
[
|
42615
42642
|
"is",
|
package/common/wp.js
CHANGED
@@ -260,7 +260,7 @@ template = {
|
|
260
260
|
bridge: "{ ...next(before[0]), context: append(before[0].context, [after[0]]), generate: [before[0], operator, after[0]] }",
|
261
261
|
semantic: (args) => {
|
262
262
|
const { context, contexts } = args
|
263
|
-
for (let i = context.
|
263
|
+
for (let i = context.context_index + 1; i < contexts.length; ++i) {
|
264
264
|
if (contexts[i].marker == 'applyStyle_wp') {
|
265
265
|
debugger
|
266
266
|
debugger
|
package/package.json
CHANGED
@@ -320,8 +320,8 @@
|
|
320
320
|
"scriptjs": "^2.5.9",
|
321
321
|
"table": "^6.7.1",
|
322
322
|
"uuid": "^9.0.0",
|
323
|
-
"theprogrammablemind_4wp": "8.9.1-beta.
|
323
|
+
"theprogrammablemind_4wp": "8.9.1-beta.18"
|
324
324
|
},
|
325
|
-
"version": "8.9.1-beta.
|
325
|
+
"version": "8.9.1-beta.18",
|
326
326
|
"license": "UNLICENSED"
|
327
327
|
}
|