tpmkms_4wp 9.3.0-beta.21 → 9.3.0-beta.22
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/colors.instance.json +28 -0
- package/common/crew.instance.json +0 -72
- package/common/dateTimeSelectors.instance.json +2 -2
- package/common/dateTimeSelectors.js +1 -1
- package/common/dates.instance.json +84 -0
- package/common/edible.instance.json +56 -0
- package/common/fastfood.instance.json +384 -0
- package/common/helpers/dateTimeSelectors.js +11 -6
- package/common/pipboy.instance.json +56 -0
- package/common/reminders.instance.json +3 -3
- package/common/reminders.js +7 -5
- package/common/reminders.test.json +4 -1
- package/common/reports.instance.json +1 -1
- package/common/wp.instance.json +56 -0
- package/package.json +2 -2
@@ -3586,6 +3586,20 @@
|
|
3586
3586
|
0
|
3587
3587
|
]
|
3588
3588
|
],
|
3589
|
+
[
|
3590
|
+
[
|
3591
|
+
"is",
|
3592
|
+
0
|
3593
|
+
],
|
3594
|
+
[
|
3595
|
+
"list",
|
3596
|
+
1
|
3597
|
+
],
|
3598
|
+
[
|
3599
|
+
"unknown",
|
3600
|
+
0
|
3601
|
+
]
|
3602
|
+
],
|
3589
3603
|
[
|
3590
3604
|
[
|
3591
3605
|
"is",
|
@@ -36035,6 +36049,20 @@
|
|
36035
36049
|
0
|
36036
36050
|
]
|
36037
36051
|
],
|
36052
|
+
[
|
36053
|
+
[
|
36054
|
+
"is",
|
36055
|
+
0
|
36056
|
+
],
|
36057
|
+
[
|
36058
|
+
"list",
|
36059
|
+
1
|
36060
|
+
],
|
36061
|
+
[
|
36062
|
+
"unknown",
|
36063
|
+
0
|
36064
|
+
]
|
36065
|
+
],
|
36038
36066
|
[
|
36039
36067
|
[
|
36040
36068
|
"is",
|
@@ -13229,24 +13229,6 @@
|
|
13229
13229
|
0
|
13230
13230
|
]
|
13231
13231
|
],
|
13232
|
-
[
|
13233
|
-
[
|
13234
|
-
"is",
|
13235
|
-
0
|
13236
|
-
],
|
13237
|
-
[
|
13238
|
-
"name",
|
13239
|
-
0
|
13240
|
-
],
|
13241
|
-
[
|
13242
|
-
"possession",
|
13243
|
-
0
|
13244
|
-
],
|
13245
|
-
[
|
13246
|
-
"spock",
|
13247
|
-
0
|
13248
|
-
]
|
13249
|
-
],
|
13250
13232
|
[
|
13251
13233
|
[
|
13252
13234
|
"is",
|
@@ -30532,24 +30514,6 @@
|
|
30532
30514
|
0
|
30533
30515
|
]
|
30534
30516
|
],
|
30535
|
-
[
|
30536
|
-
[
|
30537
|
-
"is",
|
30538
|
-
0
|
30539
|
-
],
|
30540
|
-
[
|
30541
|
-
"propertyOf",
|
30542
|
-
0
|
30543
|
-
],
|
30544
|
-
[
|
30545
|
-
"the",
|
30546
|
-
0
|
30547
|
-
],
|
30548
|
-
[
|
30549
|
-
"unknown",
|
30550
|
-
0
|
30551
|
-
]
|
30552
|
-
],
|
30553
30517
|
[
|
30554
30518
|
[
|
30555
30519
|
"is",
|
@@ -52750,24 +52714,6 @@
|
|
52750
52714
|
0
|
52751
52715
|
]
|
52752
52716
|
],
|
52753
|
-
[
|
52754
|
-
[
|
52755
|
-
"is",
|
52756
|
-
0
|
52757
|
-
],
|
52758
|
-
[
|
52759
|
-
"name",
|
52760
|
-
0
|
52761
|
-
],
|
52762
|
-
[
|
52763
|
-
"possession",
|
52764
|
-
0
|
52765
|
-
],
|
52766
|
-
[
|
52767
|
-
"spock",
|
52768
|
-
0
|
52769
|
-
]
|
52770
|
-
],
|
52771
52717
|
[
|
52772
52718
|
[
|
52773
52719
|
"is",
|
@@ -53194,24 +53140,6 @@
|
|
53194
53140
|
0
|
53195
53141
|
]
|
53196
53142
|
],
|
53197
|
-
[
|
53198
|
-
[
|
53199
|
-
"is",
|
53200
|
-
0
|
53201
|
-
],
|
53202
|
-
[
|
53203
|
-
"propertyOf",
|
53204
|
-
0
|
53205
|
-
],
|
53206
|
-
[
|
53207
|
-
"the",
|
53208
|
-
0
|
53209
|
-
],
|
53210
|
-
[
|
53211
|
-
"unknown",
|
53212
|
-
0
|
53213
|
-
]
|
53214
|
-
],
|
53215
53143
|
[
|
53216
53144
|
[
|
53217
53145
|
"is",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
],
|
25
25
|
"semantics": [
|
26
26
|
{
|
27
|
-
"match": "({context, isA}) => isA(context.marker, 'dateTimeSelector') && !!context.evaluate",
|
28
|
-
"apply": "({context, isProcess, isTest, kms}) => {\n context.evalue = instantiate(kms, isProcess || isTest || context.isTest, context)\n }"
|
27
|
+
"match": "({context, isA}) => (isA(context.marker, 'onDateValue_dates') || isA(context.marker, 'dateTimeSelector')) && !!context.evaluate",
|
28
|
+
"apply": "({context, isProcess, isTest, kms}) => {\n debugger\n context.evalue = instantiate(kms, isProcess || isTest || context.isTest, context)\n }"
|
29
29
|
}
|
30
30
|
]
|
31
31
|
}
|
@@ -45,7 +45,7 @@ const template = {
|
|
45
45
|
],
|
46
46
|
semantics: [
|
47
47
|
{
|
48
|
-
match: ({context, isA}) => isA(context.marker, 'dateTimeSelector') && !!context.evaluate,
|
48
|
+
match: ({context, isA}) => (isA(context.marker, 'onDateValue_dates') || isA(context.marker, 'dateTimeSelector')) && !!context.evaluate,
|
49
49
|
apply: ({context, isProcess, isTest, kms}) => {
|
50
50
|
context.evalue = instantiate(kms, isProcess || isTest || context.isTest, context)
|
51
51
|
},
|
@@ -3230,6 +3230,20 @@
|
|
3230
3230
|
0
|
3231
3231
|
]
|
3232
3232
|
],
|
3233
|
+
[
|
3234
|
+
[
|
3235
|
+
"is",
|
3236
|
+
0
|
3237
|
+
],
|
3238
|
+
[
|
3239
|
+
"list",
|
3240
|
+
1
|
3241
|
+
],
|
3242
|
+
[
|
3243
|
+
"unknown",
|
3244
|
+
0
|
3245
|
+
]
|
3246
|
+
],
|
3233
3247
|
[
|
3234
3248
|
[
|
3235
3249
|
"is",
|
@@ -11577,6 +11591,20 @@
|
|
11577
11591
|
0
|
11578
11592
|
]
|
11579
11593
|
],
|
11594
|
+
[
|
11595
|
+
[
|
11596
|
+
"is",
|
11597
|
+
0
|
11598
|
+
],
|
11599
|
+
[
|
11600
|
+
"list",
|
11601
|
+
1
|
11602
|
+
],
|
11603
|
+
[
|
11604
|
+
"unknown",
|
11605
|
+
0
|
11606
|
+
]
|
11607
|
+
],
|
11580
11608
|
[
|
11581
11609
|
[
|
11582
11610
|
"is",
|
@@ -15666,6 +15694,20 @@
|
|
15666
15694
|
0
|
15667
15695
|
]
|
15668
15696
|
],
|
15697
|
+
[
|
15698
|
+
[
|
15699
|
+
"is",
|
15700
|
+
0
|
15701
|
+
],
|
15702
|
+
[
|
15703
|
+
"list",
|
15704
|
+
1
|
15705
|
+
],
|
15706
|
+
[
|
15707
|
+
"unknown",
|
15708
|
+
0
|
15709
|
+
]
|
15710
|
+
],
|
15669
15711
|
[
|
15670
15712
|
[
|
15671
15713
|
"is",
|
@@ -18876,6 +18918,48 @@
|
|
18876
18918
|
0
|
18877
18919
|
]
|
18878
18920
|
],
|
18921
|
+
[
|
18922
|
+
[
|
18923
|
+
"is",
|
18924
|
+
0
|
18925
|
+
],
|
18926
|
+
[
|
18927
|
+
"list",
|
18928
|
+
1
|
18929
|
+
],
|
18930
|
+
[
|
18931
|
+
"unknown",
|
18932
|
+
0
|
18933
|
+
]
|
18934
|
+
],
|
18935
|
+
[
|
18936
|
+
[
|
18937
|
+
"is",
|
18938
|
+
0
|
18939
|
+
],
|
18940
|
+
[
|
18941
|
+
"list",
|
18942
|
+
1
|
18943
|
+
],
|
18944
|
+
[
|
18945
|
+
"unknown",
|
18946
|
+
0
|
18947
|
+
]
|
18948
|
+
],
|
18949
|
+
[
|
18950
|
+
[
|
18951
|
+
"is",
|
18952
|
+
0
|
18953
|
+
],
|
18954
|
+
[
|
18955
|
+
"list",
|
18956
|
+
1
|
18957
|
+
],
|
18958
|
+
[
|
18959
|
+
"unknown",
|
18960
|
+
0
|
18961
|
+
]
|
18962
|
+
],
|
18879
18963
|
[
|
18880
18964
|
[
|
18881
18965
|
"setIdSuffix",
|
@@ -6494,6 +6494,20 @@
|
|
6494
6494
|
0
|
6495
6495
|
]
|
6496
6496
|
],
|
6497
|
+
[
|
6498
|
+
[
|
6499
|
+
"is",
|
6500
|
+
0
|
6501
|
+
],
|
6502
|
+
[
|
6503
|
+
"list",
|
6504
|
+
1
|
6505
|
+
],
|
6506
|
+
[
|
6507
|
+
"unknown",
|
6508
|
+
0
|
6509
|
+
]
|
6510
|
+
],
|
6497
6511
|
[
|
6498
6512
|
[
|
6499
6513
|
"is",
|
@@ -24618,6 +24632,20 @@
|
|
24618
24632
|
0
|
24619
24633
|
]
|
24620
24634
|
],
|
24635
|
+
[
|
24636
|
+
[
|
24637
|
+
"is",
|
24638
|
+
0
|
24639
|
+
],
|
24640
|
+
[
|
24641
|
+
"list",
|
24642
|
+
1
|
24643
|
+
],
|
24644
|
+
[
|
24645
|
+
"unknown",
|
24646
|
+
0
|
24647
|
+
]
|
24648
|
+
],
|
24621
24649
|
[
|
24622
24650
|
[
|
24623
24651
|
"is",
|
@@ -69637,6 +69665,34 @@
|
|
69637
69665
|
0
|
69638
69666
|
]
|
69639
69667
|
],
|
69668
|
+
[
|
69669
|
+
[
|
69670
|
+
"is",
|
69671
|
+
0
|
69672
|
+
],
|
69673
|
+
[
|
69674
|
+
"list",
|
69675
|
+
1
|
69676
|
+
],
|
69677
|
+
[
|
69678
|
+
"unknown",
|
69679
|
+
0
|
69680
|
+
]
|
69681
|
+
],
|
69682
|
+
[
|
69683
|
+
[
|
69684
|
+
"is",
|
69685
|
+
0
|
69686
|
+
],
|
69687
|
+
[
|
69688
|
+
"list",
|
69689
|
+
1
|
69690
|
+
],
|
69691
|
+
[
|
69692
|
+
"unknown",
|
69693
|
+
0
|
69694
|
+
]
|
69695
|
+
],
|
69640
69696
|
[
|
69641
69697
|
[
|
69642
69698
|
"is",
|
@@ -89995,6 +89995,42 @@
|
|
89995
89995
|
0
|
89996
89996
|
]
|
89997
89997
|
],
|
89998
|
+
[
|
89999
|
+
[
|
90000
|
+
"list",
|
90001
|
+
1
|
90002
|
+
],
|
90003
|
+
[
|
90004
|
+
"modifies",
|
90005
|
+
0
|
90006
|
+
],
|
90007
|
+
[
|
90008
|
+
"strawberry",
|
90009
|
+
0
|
90010
|
+
],
|
90011
|
+
[
|
90012
|
+
"unknown",
|
90013
|
+
0
|
90014
|
+
]
|
90015
|
+
],
|
90016
|
+
[
|
90017
|
+
[
|
90018
|
+
"list",
|
90019
|
+
1
|
90020
|
+
],
|
90021
|
+
[
|
90022
|
+
"modifies",
|
90023
|
+
0
|
90024
|
+
],
|
90025
|
+
[
|
90026
|
+
"strawberry",
|
90027
|
+
0
|
90028
|
+
],
|
90029
|
+
[
|
90030
|
+
"unknown",
|
90031
|
+
0
|
90032
|
+
]
|
90033
|
+
],
|
89998
90034
|
[
|
89999
90035
|
[
|
90000
90036
|
"list",
|
@@ -110414,6 +110450,24 @@
|
|
110414
110450
|
0
|
110415
110451
|
]
|
110416
110452
|
],
|
110453
|
+
[
|
110454
|
+
[
|
110455
|
+
"ingredient",
|
110456
|
+
0
|
110457
|
+
],
|
110458
|
+
[
|
110459
|
+
"is",
|
110460
|
+
0
|
110461
|
+
],
|
110462
|
+
[
|
110463
|
+
"list",
|
110464
|
+
1
|
110465
|
+
],
|
110466
|
+
[
|
110467
|
+
"smoothie",
|
110468
|
+
0
|
110469
|
+
]
|
110470
|
+
],
|
110417
110471
|
[
|
110418
110472
|
[
|
110419
110473
|
"ingredient",
|
@@ -347771,6 +347825,24 @@
|
|
347771
347825
|
0
|
347772
347826
|
]
|
347773
347827
|
],
|
347828
|
+
[
|
347829
|
+
[
|
347830
|
+
"breakfast",
|
347831
|
+
0
|
347832
|
+
],
|
347833
|
+
[
|
347834
|
+
"is",
|
347835
|
+
0
|
347836
|
+
],
|
347837
|
+
[
|
347838
|
+
"list",
|
347839
|
+
1
|
347840
|
+
],
|
347841
|
+
[
|
347842
|
+
"meal",
|
347843
|
+
0
|
347844
|
+
]
|
347845
|
+
],
|
347774
347846
|
[
|
347775
347847
|
[
|
347776
347848
|
"is",
|
@@ -362097,6 +362169,20 @@
|
|
362097
362169
|
1
|
362098
362170
|
]
|
362099
362171
|
],
|
362172
|
+
[
|
362173
|
+
[
|
362174
|
+
"is",
|
362175
|
+
0
|
362176
|
+
],
|
362177
|
+
[
|
362178
|
+
"list",
|
362179
|
+
1
|
362180
|
+
],
|
362181
|
+
[
|
362182
|
+
"meal",
|
362183
|
+
0
|
362184
|
+
]
|
362185
|
+
],
|
362100
362186
|
[
|
362101
362187
|
[
|
362102
362188
|
"is",
|
@@ -573379,6 +573465,24 @@
|
|
573379
573465
|
0
|
573380
573466
|
]
|
573381
573467
|
],
|
573468
|
+
[
|
573469
|
+
[
|
573470
|
+
"is",
|
573471
|
+
0
|
573472
|
+
],
|
573473
|
+
[
|
573474
|
+
"kid",
|
573475
|
+
0
|
573476
|
+
],
|
573477
|
+
[
|
573478
|
+
"list",
|
573479
|
+
1
|
573480
|
+
],
|
573481
|
+
[
|
573482
|
+
"meal",
|
573483
|
+
0
|
573484
|
+
]
|
573485
|
+
],
|
573382
573486
|
[
|
573383
573487
|
[
|
573384
573488
|
"is",
|
@@ -595815,6 +595919,60 @@
|
|
595815
595919
|
0
|
595816
595920
|
]
|
595817
595921
|
],
|
595922
|
+
[
|
595923
|
+
[
|
595924
|
+
"bacon",
|
595925
|
+
0
|
595926
|
+
],
|
595927
|
+
[
|
595928
|
+
"cheeseburger",
|
595929
|
+
0
|
595930
|
+
],
|
595931
|
+
[
|
595932
|
+
"chicken",
|
595933
|
+
0
|
595934
|
+
],
|
595935
|
+
[
|
595936
|
+
"club",
|
595937
|
+
0
|
595938
|
+
],
|
595939
|
+
[
|
595940
|
+
"comma",
|
595941
|
+
0
|
595942
|
+
],
|
595943
|
+
[
|
595944
|
+
"crispy",
|
595945
|
+
0
|
595946
|
+
],
|
595947
|
+
[
|
595948
|
+
"go",
|
595949
|
+
0
|
595950
|
+
],
|
595951
|
+
[
|
595952
|
+
"is",
|
595953
|
+
0
|
595954
|
+
],
|
595955
|
+
[
|
595956
|
+
"junior",
|
595957
|
+
0
|
595958
|
+
],
|
595959
|
+
[
|
595960
|
+
"list",
|
595961
|
+
0
|
595962
|
+
],
|
595963
|
+
[
|
595964
|
+
"meal",
|
595965
|
+
0
|
595966
|
+
],
|
595967
|
+
[
|
595968
|
+
"value",
|
595969
|
+
0
|
595970
|
+
],
|
595971
|
+
[
|
595972
|
+
"wrap",
|
595973
|
+
0
|
595974
|
+
]
|
595975
|
+
],
|
595818
595976
|
[
|
595819
595977
|
[
|
595820
595978
|
"chicken",
|
@@ -595937,6 +596095,40 @@
|
|
595937
596095
|
0
|
595938
596096
|
]
|
595939
596097
|
],
|
596098
|
+
[
|
596099
|
+
[
|
596100
|
+
"chicken",
|
596101
|
+
0
|
596102
|
+
],
|
596103
|
+
[
|
596104
|
+
"club",
|
596105
|
+
0
|
596106
|
+
],
|
596107
|
+
[
|
596108
|
+
"crispy",
|
596109
|
+
0
|
596110
|
+
],
|
596111
|
+
[
|
596112
|
+
"is",
|
596113
|
+
0
|
596114
|
+
],
|
596115
|
+
[
|
596116
|
+
"junior",
|
596117
|
+
0
|
596118
|
+
],
|
596119
|
+
[
|
596120
|
+
"list",
|
596121
|
+
0
|
596122
|
+
],
|
596123
|
+
[
|
596124
|
+
"meal",
|
596125
|
+
0
|
596126
|
+
],
|
596127
|
+
[
|
596128
|
+
"value",
|
596129
|
+
0
|
596130
|
+
]
|
596131
|
+
],
|
595940
596132
|
[
|
595941
596133
|
[
|
595942
596134
|
"chicken",
|
@@ -610048,6 +610240,60 @@
|
|
610048
610240
|
0
|
610049
610241
|
]
|
610050
610242
|
],
|
610243
|
+
[
|
610244
|
+
[
|
610245
|
+
"bacon",
|
610246
|
+
0
|
610247
|
+
],
|
610248
|
+
[
|
610249
|
+
"cheeseburger",
|
610250
|
+
0
|
610251
|
+
],
|
610252
|
+
[
|
610253
|
+
"chicken",
|
610254
|
+
0
|
610255
|
+
],
|
610256
|
+
[
|
610257
|
+
"club",
|
610258
|
+
0
|
610259
|
+
],
|
610260
|
+
[
|
610261
|
+
"comma",
|
610262
|
+
0
|
610263
|
+
],
|
610264
|
+
[
|
610265
|
+
"crispy",
|
610266
|
+
0
|
610267
|
+
],
|
610268
|
+
[
|
610269
|
+
"go",
|
610270
|
+
0
|
610271
|
+
],
|
610272
|
+
[
|
610273
|
+
"is",
|
610274
|
+
0
|
610275
|
+
],
|
610276
|
+
[
|
610277
|
+
"junior",
|
610278
|
+
0
|
610279
|
+
],
|
610280
|
+
[
|
610281
|
+
"list",
|
610282
|
+
0
|
610283
|
+
],
|
610284
|
+
[
|
610285
|
+
"meal",
|
610286
|
+
0
|
610287
|
+
],
|
610288
|
+
[
|
610289
|
+
"value",
|
610290
|
+
0
|
610291
|
+
],
|
610292
|
+
[
|
610293
|
+
"wrap",
|
610294
|
+
0
|
610295
|
+
]
|
610296
|
+
],
|
610051
610297
|
[
|
610052
610298
|
[
|
610053
610299
|
"bacon",
|
@@ -611444,6 +611690,24 @@
|
|
611444
611690
|
0
|
611445
611691
|
]
|
611446
611692
|
],
|
611693
|
+
[
|
611694
|
+
[
|
611695
|
+
"breakfast",
|
611696
|
+
0
|
611697
|
+
],
|
611698
|
+
[
|
611699
|
+
"is",
|
611700
|
+
0
|
611701
|
+
],
|
611702
|
+
[
|
611703
|
+
"list",
|
611704
|
+
1
|
611705
|
+
],
|
611706
|
+
[
|
611707
|
+
"meal",
|
611708
|
+
0
|
611709
|
+
]
|
611710
|
+
],
|
611447
611711
|
[
|
611448
611712
|
[
|
611449
611713
|
"breakfast",
|
@@ -611930,6 +612194,40 @@
|
|
611930
612194
|
0
|
611931
612195
|
]
|
611932
612196
|
],
|
612197
|
+
[
|
612198
|
+
[
|
612199
|
+
"chicken",
|
612200
|
+
0
|
612201
|
+
],
|
612202
|
+
[
|
612203
|
+
"club",
|
612204
|
+
0
|
612205
|
+
],
|
612206
|
+
[
|
612207
|
+
"crispy",
|
612208
|
+
0
|
612209
|
+
],
|
612210
|
+
[
|
612211
|
+
"is",
|
612212
|
+
0
|
612213
|
+
],
|
612214
|
+
[
|
612215
|
+
"junior",
|
612216
|
+
0
|
612217
|
+
],
|
612218
|
+
[
|
612219
|
+
"list",
|
612220
|
+
0
|
612221
|
+
],
|
612222
|
+
[
|
612223
|
+
"meal",
|
612224
|
+
0
|
612225
|
+
],
|
612226
|
+
[
|
612227
|
+
"value",
|
612228
|
+
0
|
612229
|
+
]
|
612230
|
+
],
|
611933
612231
|
[
|
611934
612232
|
[
|
611935
612233
|
"chicken",
|
@@ -613372,6 +613670,24 @@
|
|
613372
613670
|
0
|
613373
613671
|
]
|
613374
613672
|
],
|
613673
|
+
[
|
613674
|
+
[
|
613675
|
+
"ingredient",
|
613676
|
+
0
|
613677
|
+
],
|
613678
|
+
[
|
613679
|
+
"is",
|
613680
|
+
0
|
613681
|
+
],
|
613682
|
+
[
|
613683
|
+
"list",
|
613684
|
+
1
|
613685
|
+
],
|
613686
|
+
[
|
613687
|
+
"smoothie",
|
613688
|
+
0
|
613689
|
+
]
|
613690
|
+
],
|
613375
613691
|
[
|
613376
613692
|
[
|
613377
613693
|
"ingredient",
|
@@ -613434,6 +613750,24 @@
|
|
613434
613750
|
0
|
613435
613751
|
]
|
613436
613752
|
],
|
613753
|
+
[
|
613754
|
+
[
|
613755
|
+
"is",
|
613756
|
+
0
|
613757
|
+
],
|
613758
|
+
[
|
613759
|
+
"kid",
|
613760
|
+
0
|
613761
|
+
],
|
613762
|
+
[
|
613763
|
+
"list",
|
613764
|
+
1
|
613765
|
+
],
|
613766
|
+
[
|
613767
|
+
"meal",
|
613768
|
+
0
|
613769
|
+
]
|
613770
|
+
],
|
613437
613771
|
[
|
613438
613772
|
[
|
613439
613773
|
"is",
|
@@ -613616,6 +613950,20 @@
|
|
613616
613950
|
0
|
613617
613951
|
]
|
613618
613952
|
],
|
613953
|
+
[
|
613954
|
+
[
|
613955
|
+
"is",
|
613956
|
+
0
|
613957
|
+
],
|
613958
|
+
[
|
613959
|
+
"list",
|
613960
|
+
1
|
613961
|
+
],
|
613962
|
+
[
|
613963
|
+
"meal",
|
613964
|
+
0
|
613965
|
+
]
|
613966
|
+
],
|
613619
613967
|
[
|
613620
613968
|
[
|
613621
613969
|
"is",
|
@@ -613984,6 +614332,42 @@
|
|
613984
614332
|
0
|
613985
614333
|
]
|
613986
614334
|
],
|
614335
|
+
[
|
614336
|
+
[
|
614337
|
+
"list",
|
614338
|
+
1
|
614339
|
+
],
|
614340
|
+
[
|
614341
|
+
"modifies",
|
614342
|
+
0
|
614343
|
+
],
|
614344
|
+
[
|
614345
|
+
"strawberry",
|
614346
|
+
0
|
614347
|
+
],
|
614348
|
+
[
|
614349
|
+
"unknown",
|
614350
|
+
0
|
614351
|
+
]
|
614352
|
+
],
|
614353
|
+
[
|
614354
|
+
[
|
614355
|
+
"list",
|
614356
|
+
1
|
614357
|
+
],
|
614358
|
+
[
|
614359
|
+
"modifies",
|
614360
|
+
0
|
614361
|
+
],
|
614362
|
+
[
|
614363
|
+
"strawberry",
|
614364
|
+
0
|
614365
|
+
],
|
614366
|
+
[
|
614367
|
+
"unknown",
|
614368
|
+
0
|
614369
|
+
]
|
614370
|
+
],
|
613987
614371
|
[
|
613988
614372
|
[
|
613989
614373
|
"list",
|
@@ -48,12 +48,7 @@ function getTime(time) {
|
|
48
48
|
}
|
49
49
|
|
50
50
|
instantiate = (now, context) => {
|
51
|
-
if (context.dateTimeSelector) {
|
52
|
-
const dateTimeSelector = getNextDayOfWeek(now, context.dateTimeSelector?.value)
|
53
|
-
if (dateTimeSelector) {
|
54
|
-
return dateTimeSelector.toISOString()
|
55
|
-
}
|
56
|
-
} else if (context.marker == 'dateTimeSelector') {
|
51
|
+
if (context.marker == 'dateTimeSelector') {
|
57
52
|
// (on date) OR (date)
|
58
53
|
const date = context.date?.date || context.date
|
59
54
|
const dateTimeSelector = getNextDayOfWeek(now, date.value)
|
@@ -63,6 +58,16 @@ instantiate = (now, context) => {
|
|
63
58
|
dateTimeSelector.setSeconds(hms.second)
|
64
59
|
dateTimeSelector.setMilliseconds(0)
|
65
60
|
return dateTimeSelector.toISOString()
|
61
|
+
} else if (context.dateTimeSelector) {
|
62
|
+
const dateTimeSelector = getNextDayOfWeek(now, context.dateTimeSelector?.value)
|
63
|
+
if (dateTimeSelector) {
|
64
|
+
return dateTimeSelector.toISOString()
|
65
|
+
}
|
66
|
+
} else if (context.value) {
|
67
|
+
const dateTimeSelector = getNextDayOfWeek(now, context.value)
|
68
|
+
if (dateTimeSelector) {
|
69
|
+
return dateTimeSelector.toISOString()
|
70
|
+
}
|
66
71
|
}
|
67
72
|
}
|
68
73
|
|
@@ -1713,6 +1713,20 @@
|
|
1713
1713
|
0
|
1714
1714
|
]
|
1715
1715
|
],
|
1716
|
+
[
|
1717
|
+
[
|
1718
|
+
"is",
|
1719
|
+
0
|
1720
|
+
],
|
1721
|
+
[
|
1722
|
+
"list",
|
1723
|
+
1
|
1724
|
+
],
|
1725
|
+
[
|
1726
|
+
"unknown",
|
1727
|
+
0
|
1728
|
+
]
|
1729
|
+
],
|
1716
1730
|
[
|
1717
1731
|
[
|
1718
1732
|
"is",
|
@@ -10182,6 +10196,20 @@
|
|
10182
10196
|
0
|
10183
10197
|
]
|
10184
10198
|
],
|
10199
|
+
[
|
10200
|
+
[
|
10201
|
+
"is",
|
10202
|
+
0
|
10203
|
+
],
|
10204
|
+
[
|
10205
|
+
"list",
|
10206
|
+
1
|
10207
|
+
],
|
10208
|
+
[
|
10209
|
+
"unknown",
|
10210
|
+
0
|
10211
|
+
]
|
10212
|
+
],
|
10185
10213
|
[
|
10186
10214
|
[
|
10187
10215
|
"is",
|
@@ -35613,6 +35641,34 @@
|
|
35613
35641
|
0
|
35614
35642
|
]
|
35615
35643
|
],
|
35644
|
+
[
|
35645
|
+
[
|
35646
|
+
"is",
|
35647
|
+
0
|
35648
|
+
],
|
35649
|
+
[
|
35650
|
+
"list",
|
35651
|
+
1
|
35652
|
+
],
|
35653
|
+
[
|
35654
|
+
"unknown",
|
35655
|
+
0
|
35656
|
+
]
|
35657
|
+
],
|
35658
|
+
[
|
35659
|
+
[
|
35660
|
+
"is",
|
35661
|
+
0
|
35662
|
+
],
|
35663
|
+
[
|
35664
|
+
"list",
|
35665
|
+
1
|
35666
|
+
],
|
35667
|
+
[
|
35668
|
+
"unknown",
|
35669
|
+
0
|
35670
|
+
]
|
35671
|
+
],
|
35616
35672
|
[
|
35617
35673
|
[
|
35618
35674
|
"is",
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"bridge": "{ ...next(operator), operator: operator, who: after[0], reminder: after[1], interpolate: '${operator} ${who} ${reminder}' }",
|
41
41
|
"withDateBridge": "{ ...next(operator), operator: operator, who: after[0], reminder: after[1], date: after[2], interpolate: '${operator} ${who} ${reminder} ${date}' }",
|
42
42
|
"withDateAndTimeBridge": "{ ...next(operator), operator: operator, who: after[0], reminder: after[1], date: after[2], time: after[3], interpolate: '${operator} ${who} ${reminder} ${date} ${time}' }",
|
43
|
-
"semantic": "async ({api, gsp, gp, context}) => {\n const text = await gsp(context.reminder.slice(1));\n const reminder = { text, dateTimeSelector: context.date }\n if (context.date) {\n reminder.dateTimeSelector = context.date\n reminder.dateTimeSelectorText = await gp(context.date)\n }\n await api.instantiate(reminder)\n api.add(reminder)\n }"
|
43
|
+
"semantic": "async ({api, gsp, gp, context}) => {\n const text = await gsp(context.reminder.slice(1));\n const who = { id: context.who.value || context.who.text, text: context.who.text }\n const reminder = { text, dateTimeSelector: context.date, who }\n if (context.date) {\n reminder.dateTimeSelector = context.date\n reminder.dateTimeSelectorText = await gp(context.date)\n }\n // await api.instantiate(reminder)\n await api.add(reminder)\n }"
|
44
44
|
},
|
45
45
|
{
|
46
46
|
"id": "reminders",
|
@@ -67,7 +67,7 @@
|
|
67
67
|
]
|
68
68
|
},
|
69
69
|
{
|
70
|
-
"apply": "({ask, api}) => {\n ask([\n {\n where: where(),\n oneShot: false,\n onNevermind: ({verbatim, ...args}) => {\n // this is cross km boundaries from the dialogues km to this one so the api if for dialogs.\n // i need to get the one for fastfood here.\n const api = args.kms.fastfood.api\n const needsDrink = askAbout({ args, api })\n for (const item of needsDrink) {\n api.remove(item)\n }\n },\n\n matchq: ({ api, context }) => api.askAbout().length > 0 && context.marker == 'controlEnd',\n applyq: ({ api, context }) => {\n context.cascade = false\n const items = api.askAbout()\n const item = items[0]\n return 'When should I remind you to ' + item.text;\n },\n\n matchr: ({ isA, api, context }) => {\n if (isA(context.marker, 'onDateValue_dates') && api.askAbout().length > 0) {\n return true\n }\n return false\n },\n applyr: async ({ context, api, gp }) => {\n const items = api.askAbout()\n api.update({ id: items[0].id, dateTimeSelector: context, dateTimeSelectorText: await gp(context) })\n }\n },\n ])\n }"
|
70
|
+
"apply": "({ask, api}) => {\n ask([\n {\n where: where(),\n oneShot: false,\n onNevermind: ({verbatim, ...args}) => {\n // this is cross km boundaries from the dialogues km to this one so the api if for dialogs.\n // i need to get the one for fastfood here.\n const api = args.kms.fastfood.api\n const needsDrink = askAbout({ args, api })\n for (const item of needsDrink) {\n api.remove(item)\n }\n },\n\n matchq: ({ api, context }) => api.askAbout().length > 0 && context.marker == 'controlEnd',\n applyq: ({ api, context }) => {\n context.cascade = false\n const items = api.askAbout()\n const item = items[0]\n return 'When should I remind you to ' + item.text;\n },\n\n matchr: ({ isA, api, context }) => {\n if ((isA(context.marker, 'onDateValue_dates') || isA(context.marker, 'dateTimeSelector')) && api.askAbout().length > 0) {\n return true\n }\n return false\n },\n applyr: async ({ context, api, gp }) => {\n const items = api.askAbout()\n await api.update({ id: items[0].id, dateTimeSelector: context, dateTimeSelectorText: await gp(context) })\n }\n },\n ])\n }"
|
71
71
|
}
|
72
72
|
],
|
73
73
|
"resultss": [
|
@@ -135,7 +135,7 @@
|
|
135
135
|
]
|
136
136
|
},
|
137
137
|
{
|
138
|
-
"apply": "({ask, api}) => {\n ask([\n {\n where: where(),\n oneShot: false,\n onNevermind: ({verbatim, ...args}) => {\n // this is cross km boundaries from the dialogues km to this one so the api if for dialogs.\n // i need to get the one for fastfood here.\n const api = args.kms.fastfood.api\n const needsDrink = askAbout({ args, api })\n for (const item of needsDrink) {\n api.remove(item)\n }\n },\n\n matchq: ({ api, context }) => api.askAbout().length > 0 && context.marker == 'controlEnd',\n applyq: ({ api, context }) => {\n context.cascade = false\n const items = api.askAbout()\n const item = items[0]\n return 'When should I remind you to ' + item.text;\n },\n\n matchr: ({ isA, api, context }) => {\n if (isA(context.marker, 'onDateValue_dates') && api.askAbout().length > 0) {\n return true\n }\n return false\n },\n applyr: async ({ context, api, gp }) => {\n const items = api.askAbout()\n api.update({ id: items[0].id, dateTimeSelector: context, dateTimeSelectorText: await gp(context) })\n }\n },\n ])\n }"
|
138
|
+
"apply": "({ask, api}) => {\n ask([\n {\n where: where(),\n oneShot: false,\n onNevermind: ({verbatim, ...args}) => {\n // this is cross km boundaries from the dialogues km to this one so the api if for dialogs.\n // i need to get the one for fastfood here.\n const api = args.kms.fastfood.api\n const needsDrink = askAbout({ args, api })\n for (const item of needsDrink) {\n api.remove(item)\n }\n },\n\n matchq: ({ api, context }) => api.askAbout().length > 0 && context.marker == 'controlEnd',\n applyq: ({ api, context }) => {\n context.cascade = false\n const items = api.askAbout()\n const item = items[0]\n return 'When should I remind you to ' + item.text;\n },\n\n matchr: ({ isA, api, context }) => {\n if ((isA(context.marker, 'onDateValue_dates') || isA(context.marker, 'dateTimeSelector')) && api.askAbout().length > 0) {\n return true\n }\n return false\n },\n applyr: async ({ context, api, gp }) => {\n const items = api.askAbout()\n await api.update({ id: items[0].id, dateTimeSelector: context, dateTimeSelectorText: await gp(context) })\n }\n },\n ])\n }"
|
139
139
|
}
|
140
140
|
],
|
141
141
|
"fragments": [],
|
package/common/reminders.js
CHANGED
@@ -28,7 +28,8 @@ class API {
|
|
28
28
|
this._objects.id = 0
|
29
29
|
}
|
30
30
|
|
31
|
-
add(reminder) {
|
31
|
+
async add(reminder) {
|
32
|
+
await this.instantiate(reminder)
|
32
33
|
const id = ++this._objects.id
|
33
34
|
reminder.id = id
|
34
35
|
this._objects.reminders.push(reminder)
|
@@ -82,10 +83,11 @@ class API {
|
|
82
83
|
this._objects.reminders = this._objects.reminders.splice(ordinal, 1)
|
83
84
|
}
|
84
85
|
|
85
|
-
update(update) {
|
86
|
+
async update(update) {
|
86
87
|
for (const item of this._objects.reminders) {
|
87
88
|
if (item.id == update.id) {
|
88
89
|
Object.assign(item, update)
|
90
|
+
await this.instantiate(item)
|
89
91
|
return
|
90
92
|
}
|
91
93
|
}
|
@@ -137,8 +139,8 @@ const template = {
|
|
137
139
|
reminder.dateTimeSelector = context.date
|
138
140
|
reminder.dateTimeSelectorText = await gp(context.date)
|
139
141
|
}
|
140
|
-
await api.instantiate(reminder)
|
141
|
-
api.add(reminder)
|
142
|
+
// await api.instantiate(reminder)
|
143
|
+
await api.add(reminder)
|
142
144
|
},
|
143
145
|
},
|
144
146
|
{
|
@@ -197,7 +199,7 @@ const template = {
|
|
197
199
|
},
|
198
200
|
applyr: async ({ context, api, gp }) => {
|
199
201
|
const items = api.askAbout()
|
200
|
-
api.update({ id: items[0].id, dateTimeSelector: context, dateTimeSelectorText: await gp(context) })
|
202
|
+
await api.update({ id: items[0].id, dateTimeSelector: context, dateTimeSelectorText: await gp(context) })
|
201
203
|
}
|
202
204
|
},
|
203
205
|
])
|
@@ -5355,6 +5355,7 @@
|
|
5355
5355
|
"dateTimeSelectorText": "monday",
|
5356
5356
|
"fromSTM": true,
|
5357
5357
|
"id": 1,
|
5358
|
+
"nextISODate": "2025-06-30T21:52:00.000Z",
|
5358
5359
|
"pullFromContext": false,
|
5359
5360
|
"stm": {
|
5360
5361
|
"id": 1
|
@@ -5399,6 +5400,7 @@
|
|
5399
5400
|
"dateTimeSelectorText": "monday",
|
5400
5401
|
"fromSTM": true,
|
5401
5402
|
"id": 1,
|
5403
|
+
"nextISODate": "2025-06-30T21:52:00.000Z",
|
5402
5404
|
"pullFromContext": false,
|
5403
5405
|
"stm": {
|
5404
5406
|
"id": 1
|
@@ -20473,7 +20475,6 @@
|
|
20473
20475
|
]
|
20474
20476
|
}
|
20475
20477
|
],
|
20476
|
-
"developerTest": false,
|
20477
20478
|
"generatedParenthesized": [
|
20478
20479
|
"",
|
20479
20480
|
"(When should I remind you to go to school)",
|
@@ -21449,6 +21450,7 @@
|
|
21449
21450
|
"dateTimeSelectorText": "monday at 10 am",
|
21450
21451
|
"fromSTM": true,
|
21451
21452
|
"id": 1,
|
21453
|
+
"nextISODate": "2025-06-30T17:00:00.000Z",
|
21452
21454
|
"pullFromContext": false,
|
21453
21455
|
"stm": {
|
21454
21456
|
"id": 1
|
@@ -21577,6 +21579,7 @@
|
|
21577
21579
|
"dateTimeSelectorText": "monday at 10 am",
|
21578
21580
|
"fromSTM": true,
|
21579
21581
|
"id": 1,
|
21582
|
+
"nextISODate": "2025-06-30T17:00:00.000Z",
|
21580
21583
|
"pullFromContext": false,
|
21581
21584
|
"stm": {
|
21582
21585
|
"id": 1
|
@@ -1048,7 +1048,7 @@
|
|
1048
1048
|
}
|
1049
1049
|
]
|
1050
1050
|
},
|
1051
|
-
"trace": "\n\n>>>>>>>>>>>>> Counter 1\n summary\n\n 0. price/0 (1, 0) - \"price\"\n 1. list/0 (1, 6) - \"and\"\n 2. quantity/0 (1, 10) - \"quantity\"\n 3. is/0 (1, 15) - \"are\"\n 4. property/0 (dead) (1, 21) - \"properties\"\n\n details\n\n 0. price/0 (1, 0) - \"price\"\n {\n default: true\n marker: \n Operator(price/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n 1. list/0 (1, 6) - \"and\"\n {\n default: true\n marker: \n Operator(list/0), passthrough\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n ]\n Evaluator:\n Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')\n\n range: {'start': 6, 'end': 8}\n text: \"and\"\n word: \"and\"\n }\n 2. quantity/0 (1, 10) - \"quantity\"\n {\n default: true\n marker: \n Operator(quantity/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n 3. is/0 (1, 15) - \"are\"\n {\n marker: \n Operator(is/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n Left Selector: [ListableType(Listable(Type('queryable')))]\n Right Selector: [ListableType(Listable(Type('queryable')))]\n ]\n Evaluator:\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n 4. property/0 (dead) (1, 21) - \"properties\"\n {\n dead: true\n marker: \n Operator(property/0)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=0) is ('price', 0)\n Context:\n {\n default: true\n marker: \n Operator(price/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n\n>>>>>>>>>>>>> Counter 2\n summary\n\n *0. price/1 (dead) (2, 0) - \"price\"\n 1. list/0 (1, 6) - \"and\"\n 2. quantity/0 (1, 10) - \"quantity\"\n 3. is/0 (1, 15) - \"are\"\n 4. property/0 (dead) (1, 21) - \"properties\"\n\n details\n\n *0. price/1 (dead) (2, 0) - \"price\"\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: \n Operator(price/1)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n 1. list/0 (1, 6) - \"and\"\n {\n default: true\n marker: \n Operator(list/0), passthrough\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n ]\n Evaluator:\n Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')\n\n range: {'start': 6, 'end': 8}\n text: \"and\"\n word: \"and\"\n }\n 2. quantity/0 (1, 10) - \"quantity\"\n {\n default: true\n marker: \n Operator(quantity/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n 3. is/0 (1, 15) - \"are\"\n {\n marker: \n Operator(is/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n Left Selector: [ListableType(Listable(Type('queryable')))]\n Right Selector: [ListableType(Listable(Type('queryable')))]\n ]\n Evaluator:\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n 4. property/0 (dead) (1, 21) - \"properties\"\n {\n dead: true\n marker: \n Operator(property/0)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=1) is ('list', 0)\n Context:\n {\n default: true\n marker: \n Operator(list/0), passthrough\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n ]\n Evaluator:\n Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')\n\n range: {'start': 6, 'end': 8}\n text: \"and\"\n word: \"and\"\n }\n\n\n>>>>>>>>>>>>> Counter 3\n summary\n\n *0. list/1 (3, 0) - \"price and quantity\"\n 1. is/0 (1, 15) - \"are\"\n 2. property/0 (dead) (1, 21) - \"properties\"\n\n details\n\n *0. list/1 (3, 0) - \"price and quantity\"\n {\n prioritized_by: [('list', 0)]\n default: true\n isList: true\n listable: true\n marker: \n Operator(list/1), passthrough\n Selectors:\n [\n Selector, passthrough\n Bridge('{ ...operator, value: append(before, operator.value) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...operator, value: append(before, operator.value) }')\n Variables:\n {'found_types': ['quantity', 'price'], 'type': ['number', 'listable', 'quantifier', 'comparable', 'quantity', 'property', 'queryable', 'theAble']}\n\n range: {'start': 0, 'end': 17}\n text: \"price and quantity\"\n types: [\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: \n Operator(price/1)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: \n Operator(quantity/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n 1. is/0 (1, 15) - \"are\"\n {\n marker: \n Operator(is/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n Left Selector: [ListableType(Listable(Type('queryable')))]\n Right Selector: [ListableType(Listable(Type('queryable')))]\n ]\n Evaluator:\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n 2. property/0 (dead) (1, 21) - \"properties\"\n {\n dead: true\n marker: \n Operator(property/0)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=1) is ('is', 0)\n Context:\n {\n marker: \n Operator(is/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n Left Selector: [ListableType(Listable(Type('queryable')))]\n Right Selector: [ListableType(Listable(Type('queryable')))]\n ]\n Evaluator:\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n\n\n>>>>>>>>>>>>> Counter 4\n summary\n\n *0. is/1 (4, 0) - \"price and quantity are properties\"\n\n details\n\n *0. is/1 (4, 0) - \"price and quantity are properties\"\n {\n prioritized_by: [('is', 0)]\n marker: \n Operator(is/1)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n Variables:\n {'found_types': []}\n\n number: \"many\"\n one: \n {\n default: true\n isList: true\n listable: true\n marker: \n Operator(list/1), passthrough\n Selectors:\n [\n Selector, passthrough\n Bridge('{ ...operator, value: append(before, operator.value) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...operator, value: append(before, operator.value) }')\n Variables:\n {'found_types': ['quantity', 'price'], 'type': ['number', 'listable', 'quantifier', 'comparable', 'quantity', 'property', 'queryable', 'theAble']}\n\n number: \"many\"\n range: {'start': 0, 'end': 32}\n text: \"price and quantity\"\n types: [\n 'quantity'\n, 'price'\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: \n Operator(price/1)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: \n Operator(quantity/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n\n range: {'start': 0, 'end': 32}\n text: \"price and quantity are properties\"\n two: \n {\n dead: true\n marker: \n Operator(property/0)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n types: [\n 'property'\n ]\n value: \"property\"\n word: \"properties\"\n }\n\n word: \"are\"\n }\n<<<<<<<<<<<<<\nNext Op (index=0) is ('is', 1)\n Context:\n {\n prioritized_by: [('is', 0)]\n marker: \n Operator(is/1)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n Variables:\n {'found_types': []}\n\n number: \"many\"\n one: \n {\n default: true\n isList: true\n listable: true\n marker: \n Operator(list/1), passthrough\n Selectors:\n [\n Selector, passthrough\n Bridge('{ ...operator, value: append(before, operator.value) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...operator, value: append(before, operator.value) }')\n Variables:\n {'found_types': ['quantity', 'price'], 'type': ['number', 'listable', 'quantifier', 'comparable', 'quantity', 'property', 'queryable', 'theAble']}\n\n number: \"many\"\n range: {'start': 0, 'end': 32}\n text: \"price and quantity\"\n types: [\n 'quantity'\n, 'price'\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: \n Operator(price/1)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: \n Operator(quantity/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n\n range: {'start': 0, 'end': 32}\n text: \"price and quantity are properties\"\n two: \n {\n dead: true\n marker: \n Operator(property/0)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n types: [\n 'property'\n ]\n value: \"property\"\n word: \"properties\"\n }\n\n word: \"are\"\n }\n\n\n>>>>>>>>>>>>> Counter 5\n summary\n\n *0. is/2 (dead) (5, 0) - \"price and quantity are properties\"\n\n details\n\n *0. is/2 (dead) (5, 0) - \"price and quantity are properties\"\n {\n prioritized_by: [('is', 1)]\n dead: true\n marker: \n Operator(is/2)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n number: \"many\"\n one: \n {\n default: true\n isList: true\n listable: true\n marker: \n Operator(list/1), passthrough\n Selectors:\n [\n Selector, passthrough\n Bridge('{ ...operator, value: append(before, operator.value) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...operator, value: append(before, operator.value) }')\n Variables:\n {'found_types': ['quantity', 'price'], 'type': ['number', 'listable', 'quantifier', 'comparable', 'quantity', 'property', 'queryable', 'theAble']}\n\n number: \"many\"\n range: {'start': 0, 'end': 32}\n text: \"price and quantity\"\n types: [\n 'quantity'\n, 'price'\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: \n Operator(price/1)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: \n Operator(quantity/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n\n range: {'start': 0, 'end': 32}\n text: \"price and quantity are properties\"\n two: \n {\n dead: true\n marker: \n Operator(property/0)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n types: [\n 'property'\n ]\n value: \"property\"\n word: \"properties\"\n }\n\n word: \"are\"\n }\n<<<<<<<<<<<<<\n",
|
1051
|
+
"trace": "\n\n>>>>>>>>>>>>> Counter 1\n summary\n\n 0. price/0 (1, 0) - \"price\"\n 1. list/0 (1, 6) - \"and\"\n 2. quantity/0 (1, 10) - \"quantity\"\n 3. is/0 (1, 15) - \"are\"\n 4. property/0 (dead) (1, 21) - \"properties\"\n\n details\n\n 0. price/0 (1, 0) - \"price\"\n {\n default: true\n marker: \n Operator(price/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n 1. list/0 (1, 6) - \"and\"\n {\n default: true\n marker: \n Operator(list/0), passthrough\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n ]\n Evaluator:\n Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')\n\n range: {'start': 6, 'end': 8}\n text: \"and\"\n word: \"and\"\n }\n 2. quantity/0 (1, 10) - \"quantity\"\n {\n default: true\n marker: \n Operator(quantity/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n 3. is/0 (1, 15) - \"are\"\n {\n marker: \n Operator(is/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n Left Selector: [ListableType(Listable(Type('queryable')))]\n Right Selector: [ListableType(Listable(Type('queryable')))]\n ]\n Evaluator:\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n 4. property/0 (dead) (1, 21) - \"properties\"\n {\n dead: true\n marker: \n Operator(property/0)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=0) is ('price', 0)\n Context:\n {\n default: true\n marker: \n Operator(price/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n\n>>>>>>>>>>>>> Counter 2\n summary\n\n *0. price/1 (dead) (2, 0) - \"price\"\n 1. list/0 (1, 6) - \"and\"\n 2. quantity/0 (1, 10) - \"quantity\"\n 3. is/0 (1, 15) - \"are\"\n 4. property/0 (dead) (1, 21) - \"properties\"\n\n details\n\n *0. price/1 (dead) (2, 0) - \"price\"\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: \n Operator(price/1)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n 1. list/0 (1, 6) - \"and\"\n {\n default: true\n marker: \n Operator(list/0), passthrough\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n ]\n Evaluator:\n Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')\n\n range: {'start': 6, 'end': 8}\n text: \"and\"\n word: \"and\"\n }\n 2. quantity/0 (1, 10) - \"quantity\"\n {\n default: true\n marker: \n Operator(quantity/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n 3. is/0 (1, 15) - \"are\"\n {\n marker: \n Operator(is/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n Left Selector: [ListableType(Listable(Type('queryable')))]\n Right Selector: [ListableType(Listable(Type('queryable')))]\n ]\n Evaluator:\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n 4. property/0 (dead) (1, 21) - \"properties\"\n {\n dead: true\n marker: \n Operator(property/0)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=1) is ('list', 0)\n Context:\n {\n default: true\n marker: \n Operator(list/0), passthrough\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n ]\n Evaluator:\n Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')\n\n range: {'start': 6, 'end': 8}\n text: \"and\"\n word: \"and\"\n }\n\n\n>>>>>>>>>>>>> Counter 3\n summary\n\n *0. list/1 (3, 0) - \"price and quantity\"\n 1. is/0 (1, 15) - \"are\"\n 2. property/0 (dead) (1, 21) - \"properties\"\n\n details\n\n *0. list/1 (3, 0) - \"price and quantity\"\n {\n prioritized_by: [('list', 0)]\n default: true\n isList: true\n listable: true\n marker: \n Operator(list/1), passthrough\n Selectors:\n [\n Selector, passthrough\n Bridge('{ ...operator, value: append(before, operator.value) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...operator, value: append(before, operator.value) }')\n Variables:\n {'found_types': ['quantity', 'price'], 'type': ['listable', 'queryable', 'theAble', 'quantifier', 'property', 'quantity', 'number', 'comparable']}\n\n range: {'start': 0, 'end': 17}\n text: \"price and quantity\"\n types: [\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: \n Operator(price/1)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: \n Operator(quantity/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n 1. is/0 (1, 15) - \"are\"\n {\n marker: \n Operator(is/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n Left Selector: [ListableType(Listable(Type('queryable')))]\n Right Selector: [ListableType(Listable(Type('queryable')))]\n ]\n Evaluator:\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n 2. property/0 (dead) (1, 21) - \"properties\"\n {\n dead: true\n marker: \n Operator(property/0)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=1) is ('is', 0)\n Context:\n {\n marker: \n Operator(is/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n Left Selector: [ListableType(Listable(Type('queryable')))]\n Right Selector: [ListableType(Listable(Type('queryable')))]\n ]\n Evaluator:\n Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')\n\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n\n\n>>>>>>>>>>>>> Counter 4\n summary\n\n *0. is/1 (4, 0) - \"price and quantity are properties\"\n\n details\n\n *0. is/1 (4, 0) - \"price and quantity are properties\"\n {\n prioritized_by: [('is', 0)]\n marker: \n Operator(is/1)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n Variables:\n {'found_types': []}\n\n number: \"many\"\n one: \n {\n default: true\n isList: true\n listable: true\n marker: \n Operator(list/1), passthrough\n Selectors:\n [\n Selector, passthrough\n Bridge('{ ...operator, value: append(before, operator.value) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...operator, value: append(before, operator.value) }')\n Variables:\n {'found_types': ['quantity', 'price'], 'type': ['listable', 'queryable', 'theAble', 'quantifier', 'property', 'quantity', 'number', 'comparable']}\n\n number: \"many\"\n range: {'start': 0, 'end': 32}\n text: \"price and quantity\"\n types: [\n 'price'\n, 'quantity'\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: \n Operator(price/1)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: \n Operator(quantity/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n\n range: {'start': 0, 'end': 32}\n text: \"price and quantity are properties\"\n two: \n {\n dead: true\n marker: \n Operator(property/0)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n types: [\n 'property'\n ]\n value: \"property\"\n word: \"properties\"\n }\n\n word: \"are\"\n }\n<<<<<<<<<<<<<\nNext Op (index=0) is ('is', 1)\n Context:\n {\n prioritized_by: [('is', 0)]\n marker: \n Operator(is/1)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n Variables:\n {'found_types': []}\n\n number: \"many\"\n one: \n {\n default: true\n isList: true\n listable: true\n marker: \n Operator(list/1), passthrough\n Selectors:\n [\n Selector, passthrough\n Bridge('{ ...operator, value: append(before, operator.value) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...operator, value: append(before, operator.value) }')\n Variables:\n {'found_types': ['quantity', 'price'], 'type': ['listable', 'queryable', 'theAble', 'quantifier', 'property', 'quantity', 'number', 'comparable']}\n\n number: \"many\"\n range: {'start': 0, 'end': 32}\n text: \"price and quantity\"\n types: [\n 'price'\n, 'quantity'\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: \n Operator(price/1)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: \n Operator(quantity/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n\n range: {'start': 0, 'end': 32}\n text: \"price and quantity are properties\"\n two: \n {\n dead: true\n marker: \n Operator(property/0)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n types: [\n 'property'\n ]\n value: \"property\"\n word: \"properties\"\n }\n\n word: \"are\"\n }\n\n\n>>>>>>>>>>>>> Counter 5\n summary\n\n *0. is/2 (dead) (5, 0) - \"price and quantity are properties\"\n\n details\n\n *0. is/2 (dead) (5, 0) - \"price and quantity are properties\"\n {\n prioritized_by: [('is', 1)]\n dead: true\n marker: \n Operator(is/2)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n number: \"many\"\n one: \n {\n default: true\n isList: true\n listable: true\n marker: \n Operator(list/1), passthrough\n Selectors:\n [\n Selector, passthrough\n Bridge('{ ...operator, value: append(before, operator.value) }')\n , same/()\n Left Selector: [And([\"ListableType(Listable(Type(variable: 'type')))\", \"Listable(Unify(Property(('context', 'instance')), Property(('variables', 'instance'))))\"])]\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...operator, value: append(before, operator.value) }')\n Variables:\n {'found_types': ['quantity', 'price'], 'type': ['listable', 'queryable', 'theAble', 'quantifier', 'property', 'quantity', 'number', 'comparable']}\n\n number: \"many\"\n range: {'start': 0, 'end': 32}\n text: \"price and quantity\"\n types: [\n 'price'\n, 'quantity'\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: \n Operator(price/1)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: \n Operator(quantity/0)\n Selectors:\n [\n Selector\n Bridge('{ ...next(operator) }')\n Left Selector: []\n Right Selector: []\n ]\n Evaluator:\n Bridge('{ ...next(operator) }')\n\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n\n range: {'start': 0, 'end': 32}\n text: \"price and quantity are properties\"\n two: \n {\n dead: true\n marker: \n Operator(property/0)\n Selectors:\n [\n Selector\n Left Selector: []\n Right Selector: []\n ]\n\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n types: [\n 'property'\n ]\n value: \"property\"\n word: \"properties\"\n }\n\n word: \"are\"\n }\n<<<<<<<<<<<<<\n",
|
1052
1052
|
"contexts": [
|
1053
1053
|
{
|
1054
1054
|
"number": "many",
|
package/common/wp.instance.json
CHANGED
@@ -24780,6 +24780,20 @@
|
|
24780
24780
|
0
|
24781
24781
|
]
|
24782
24782
|
],
|
24783
|
+
[
|
24784
|
+
[
|
24785
|
+
"is",
|
24786
|
+
0
|
24787
|
+
],
|
24788
|
+
[
|
24789
|
+
"list",
|
24790
|
+
1
|
24791
|
+
],
|
24792
|
+
[
|
24793
|
+
"unknown",
|
24794
|
+
0
|
24795
|
+
]
|
24796
|
+
],
|
24783
24797
|
[
|
24784
24798
|
[
|
24785
24799
|
"is",
|
@@ -48242,6 +48256,20 @@
|
|
48242
48256
|
0
|
48243
48257
|
]
|
48244
48258
|
],
|
48259
|
+
[
|
48260
|
+
[
|
48261
|
+
"is",
|
48262
|
+
0
|
48263
|
+
],
|
48264
|
+
[
|
48265
|
+
"list",
|
48266
|
+
1
|
48267
|
+
],
|
48268
|
+
[
|
48269
|
+
"unknown",
|
48270
|
+
0
|
48271
|
+
]
|
48272
|
+
],
|
48245
48273
|
[
|
48246
48274
|
[
|
48247
48275
|
"is",
|
@@ -54845,6 +54873,34 @@
|
|
54845
54873
|
0
|
54846
54874
|
]
|
54847
54875
|
],
|
54876
|
+
[
|
54877
|
+
[
|
54878
|
+
"is",
|
54879
|
+
0
|
54880
|
+
],
|
54881
|
+
[
|
54882
|
+
"list",
|
54883
|
+
1
|
54884
|
+
],
|
54885
|
+
[
|
54886
|
+
"unknown",
|
54887
|
+
0
|
54888
|
+
]
|
54889
|
+
],
|
54890
|
+
[
|
54891
|
+
[
|
54892
|
+
"is",
|
54893
|
+
0
|
54894
|
+
],
|
54895
|
+
[
|
54896
|
+
"list",
|
54897
|
+
1
|
54898
|
+
],
|
54899
|
+
[
|
54900
|
+
"unknown",
|
54901
|
+
0
|
54902
|
+
]
|
54903
|
+
],
|
54848
54904
|
[
|
54849
54905
|
[
|
54850
54906
|
"is",
|
package/package.json
CHANGED
@@ -341,8 +341,8 @@
|
|
341
341
|
"scriptjs": "^2.5.9",
|
342
342
|
"table": "^6.7.1",
|
343
343
|
"uuid": "^9.0.0",
|
344
|
-
"theprogrammablemind_4wp": "9.3.0-beta.
|
344
|
+
"theprogrammablemind_4wp": "9.3.0-beta.22"
|
345
345
|
},
|
346
|
-
"version": "9.3.0-beta.
|
346
|
+
"version": "9.3.0-beta.22",
|
347
347
|
"license": "UNLICENSED"
|
348
348
|
}
|