ekms 8.7.0 → 8.8.0
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 +123 -2
- package/common/colors.instance.json +376 -286
- package/common/comparable.instance.json +30 -62
- package/common/crew.instance.json +216 -318
- package/common/crew.js +3 -3
- package/common/dialogues.js +12 -1
- package/common/dimension.instance.json +5 -1
- package/common/edible.instance.json +239 -107
- package/common/emotions.instance.json +5 -0
- package/common/emotions.js +4 -4
- package/common/fastfood.instance.json +1178 -529
- package/common/formulas.instance.json +5 -1
- package/common/kirk.instance.json +5 -0
- package/common/length.instance.json +75 -0
- package/common/math.instance.json +5 -0
- package/common/numbers.js +15 -3
- package/common/ordering.instance.json +73 -47
- package/common/people.instance.json +222 -1
- package/common/people.js +12 -0
- package/common/pipboy.instance.json +144 -83
- package/common/pipboy.js +1 -0
- package/common/pokemon.instance.json +99 -14
- package/common/pressure.instance.json +25 -13
- package/common/pressure.js +4 -4
- package/common/properties.instance.json +10 -13
- package/common/properties.js +1 -0
- package/common/reports.instance.json +11 -1
- package/common/spock.instance.json +5 -0
- package/common/temperature.instance.json +25 -13
- package/common/tokenize.js +1 -1
- package/common/weight.instance.json +110 -14
- package/package.json +2 -2
@@ -29,7 +29,6 @@
|
|
29
29
|
],
|
30
30
|
"semantics": [
|
31
31
|
{
|
32
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:109",
|
33
32
|
"match": "({context, api}) => context.evaluate && api.get(context)",
|
34
33
|
"apply": "async ({context, api, e}) => {\n const { formula } = api.get(context)\n // console.log('greg24 -----------', JSON.stringify(formula, null, 2))\n context.evalue = await e(formula) \n }"
|
35
34
|
}
|
@@ -619,6 +618,11 @@
|
|
619
618
|
"theAble",
|
620
619
|
false
|
621
620
|
],
|
621
|
+
[
|
622
|
+
"propertyOf",
|
623
|
+
"preposition",
|
624
|
+
false
|
625
|
+
],
|
622
626
|
[
|
623
627
|
"punctuation",
|
624
628
|
"punctuation",
|
@@ -669,6 +669,11 @@
|
|
669
669
|
"theAble",
|
670
670
|
false
|
671
671
|
],
|
672
|
+
[
|
673
|
+
"propertyOf",
|
674
|
+
"preposition",
|
675
|
+
false
|
676
|
+
],
|
672
677
|
[
|
673
678
|
"punctuation",
|
674
679
|
"punctuation",
|
@@ -1856,6 +1861,11 @@
|
|
1856
1861
|
"theAble",
|
1857
1862
|
false
|
1858
1863
|
],
|
1864
|
+
[
|
1865
|
+
"propertyOf",
|
1866
|
+
"preposition",
|
1867
|
+
false
|
1868
|
+
],
|
1859
1869
|
[
|
1860
1870
|
"punctuation",
|
1861
1871
|
"punctuation",
|
@@ -3712,6 +3722,11 @@
|
|
3712
3722
|
"theAble",
|
3713
3723
|
false
|
3714
3724
|
],
|
3725
|
+
[
|
3726
|
+
"propertyOf",
|
3727
|
+
"preposition",
|
3728
|
+
false
|
3729
|
+
],
|
3715
3730
|
[
|
3716
3731
|
"punctuation",
|
3717
3732
|
"punctuation",
|
@@ -5113,6 +5128,11 @@
|
|
5113
5128
|
"theAble",
|
5114
5129
|
false
|
5115
5130
|
],
|
5131
|
+
[
|
5132
|
+
"propertyOf",
|
5133
|
+
"preposition",
|
5134
|
+
false
|
5135
|
+
],
|
5116
5136
|
[
|
5117
5137
|
"punctuation",
|
5118
5138
|
"punctuation",
|
@@ -6514,6 +6534,11 @@
|
|
6514
6534
|
"theAble",
|
6515
6535
|
false
|
6516
6536
|
],
|
6537
|
+
[
|
6538
|
+
"propertyOf",
|
6539
|
+
"preposition",
|
6540
|
+
false
|
6541
|
+
],
|
6517
6542
|
[
|
6518
6543
|
"punctuation",
|
6519
6544
|
"punctuation",
|
@@ -7928,6 +7953,11 @@
|
|
7928
7953
|
"theAble",
|
7929
7954
|
false
|
7930
7955
|
],
|
7956
|
+
[
|
7957
|
+
"propertyOf",
|
7958
|
+
"preposition",
|
7959
|
+
false
|
7960
|
+
],
|
7931
7961
|
[
|
7932
7962
|
"punctuation",
|
7933
7963
|
"punctuation",
|
@@ -9352,6 +9382,11 @@
|
|
9352
9382
|
"theAble",
|
9353
9383
|
false
|
9354
9384
|
],
|
9385
|
+
[
|
9386
|
+
"propertyOf",
|
9387
|
+
"preposition",
|
9388
|
+
false
|
9389
|
+
],
|
9355
9390
|
[
|
9356
9391
|
"punctuation",
|
9357
9392
|
"punctuation",
|
@@ -10776,6 +10811,11 @@
|
|
10776
10811
|
"theAble",
|
10777
10812
|
false
|
10778
10813
|
],
|
10814
|
+
[
|
10815
|
+
"propertyOf",
|
10816
|
+
"preposition",
|
10817
|
+
false
|
10818
|
+
],
|
10779
10819
|
[
|
10780
10820
|
"punctuation",
|
10781
10821
|
"punctuation",
|
@@ -12190,6 +12230,11 @@
|
|
12190
12230
|
"theAble",
|
12191
12231
|
false
|
12192
12232
|
],
|
12233
|
+
[
|
12234
|
+
"propertyOf",
|
12235
|
+
"preposition",
|
12236
|
+
false
|
12237
|
+
],
|
12193
12238
|
[
|
12194
12239
|
"punctuation",
|
12195
12240
|
"punctuation",
|
@@ -13591,6 +13636,11 @@
|
|
13591
13636
|
"theAble",
|
13592
13637
|
false
|
13593
13638
|
],
|
13639
|
+
[
|
13640
|
+
"propertyOf",
|
13641
|
+
"preposition",
|
13642
|
+
false
|
13643
|
+
],
|
13594
13644
|
[
|
13595
13645
|
"punctuation",
|
13596
13646
|
"punctuation",
|
@@ -14992,6 +15042,11 @@
|
|
14992
15042
|
"theAble",
|
14993
15043
|
false
|
14994
15044
|
],
|
15045
|
+
[
|
15046
|
+
"propertyOf",
|
15047
|
+
"preposition",
|
15048
|
+
false
|
15049
|
+
],
|
14995
15050
|
[
|
14996
15051
|
"punctuation",
|
14997
15052
|
"punctuation",
|
@@ -16393,6 +16448,11 @@
|
|
16393
16448
|
"theAble",
|
16394
16449
|
false
|
16395
16450
|
],
|
16451
|
+
[
|
16452
|
+
"propertyOf",
|
16453
|
+
"preposition",
|
16454
|
+
false
|
16455
|
+
],
|
16396
16456
|
[
|
16397
16457
|
"punctuation",
|
16398
16458
|
"punctuation",
|
@@ -17785,6 +17845,11 @@
|
|
17785
17845
|
"theAble",
|
17786
17846
|
false
|
17787
17847
|
],
|
17848
|
+
[
|
17849
|
+
"propertyOf",
|
17850
|
+
"preposition",
|
17851
|
+
false
|
17852
|
+
],
|
17788
17853
|
[
|
17789
17854
|
"punctuation",
|
17790
17855
|
"punctuation",
|
@@ -19199,6 +19264,11 @@
|
|
19199
19264
|
"theAble",
|
19200
19265
|
false
|
19201
19266
|
],
|
19267
|
+
[
|
19268
|
+
"propertyOf",
|
19269
|
+
"preposition",
|
19270
|
+
false
|
19271
|
+
],
|
19202
19272
|
[
|
19203
19273
|
"punctuation",
|
19204
19274
|
"punctuation",
|
@@ -20623,6 +20693,11 @@
|
|
20623
20693
|
"theAble",
|
20624
20694
|
false
|
20625
20695
|
],
|
20696
|
+
[
|
20697
|
+
"propertyOf",
|
20698
|
+
"preposition",
|
20699
|
+
false
|
20700
|
+
],
|
20626
20701
|
[
|
20627
20702
|
"punctuation",
|
20628
20703
|
"punctuation",
|
package/common/numbers.js
CHANGED
@@ -51,9 +51,21 @@ let config = {
|
|
51
51
|
"tens": [{"id": "integer", "initial": "{ value: 10, integer: 'many', instance: true }" }],
|
52
52
|
},
|
53
53
|
patterns: [
|
54
|
-
{
|
55
|
-
|
56
|
-
|
54
|
+
{
|
55
|
+
pattern: [{ type: 'digit' }, { repeat: true }],
|
56
|
+
allow_partial_matches: false,
|
57
|
+
defs: [{id: "integer", uuid: '1', initial: "{ value: int(text), instance: true }" }]
|
58
|
+
},
|
59
|
+
{
|
60
|
+
pattern: [{ type: 'digit' }, { repeat: true }, '.', { type: 'digit' }, { repeat: true }],
|
61
|
+
allow_partial_matches: false,
|
62
|
+
defs: [{id: "number", uuid: '1', initial: "{ value: float(text), instance: true }" }]
|
63
|
+
},
|
64
|
+
{
|
65
|
+
pattern: ['.', { type: 'digit' }, { repeat: true }],
|
66
|
+
allow_partial_matches: false,
|
67
|
+
defs: [{id: "number", uuid: '1', initial: "{ value: float(text), instance: true }" }]
|
68
|
+
},
|
57
69
|
],
|
58
70
|
},
|
59
71
|
|
@@ -236,6 +236,11 @@
|
|
236
236
|
"theAble",
|
237
237
|
false
|
238
238
|
],
|
239
|
+
[
|
240
|
+
"propertyOf",
|
241
|
+
"preposition",
|
242
|
+
false
|
243
|
+
],
|
239
244
|
[
|
240
245
|
"punctuation",
|
241
246
|
"punctuation",
|
@@ -730,32 +735,6 @@
|
|
730
735
|
0
|
731
736
|
]
|
732
737
|
],
|
733
|
-
[
|
734
|
-
[
|
735
|
-
"between",
|
736
|
-
0
|
737
|
-
],
|
738
|
-
[
|
739
|
-
"is",
|
740
|
-
0
|
741
|
-
],
|
742
|
-
[
|
743
|
-
"list",
|
744
|
-
0
|
745
|
-
],
|
746
|
-
[
|
747
|
-
"unknown",
|
748
|
-
0
|
749
|
-
],
|
750
|
-
[
|
751
|
-
"unknown",
|
752
|
-
1
|
753
|
-
],
|
754
|
-
[
|
755
|
-
"xfx",
|
756
|
-
0
|
757
|
-
]
|
758
|
-
],
|
759
738
|
[
|
760
739
|
[
|
761
740
|
"between",
|
@@ -1103,6 +1082,11 @@
|
|
1103
1082
|
"theAble",
|
1104
1083
|
false
|
1105
1084
|
],
|
1085
|
+
[
|
1086
|
+
"propertyOf",
|
1087
|
+
"preposition",
|
1088
|
+
false
|
1089
|
+
],
|
1106
1090
|
[
|
1107
1091
|
"punctuation",
|
1108
1092
|
"punctuation",
|
@@ -2046,6 +2030,40 @@
|
|
2046
2030
|
0
|
2047
2031
|
]
|
2048
2032
|
],
|
2033
|
+
[
|
2034
|
+
[
|
2035
|
+
"if",
|
2036
|
+
0
|
2037
|
+
],
|
2038
|
+
[
|
2039
|
+
"like",
|
2040
|
+
0
|
2041
|
+
],
|
2042
|
+
[
|
2043
|
+
"love",
|
2044
|
+
0
|
2045
|
+
],
|
2046
|
+
[
|
2047
|
+
"orList",
|
2048
|
+
0
|
2049
|
+
],
|
2050
|
+
[
|
2051
|
+
"then",
|
2052
|
+
0
|
2053
|
+
],
|
2054
|
+
[
|
2055
|
+
"unknown",
|
2056
|
+
0
|
2057
|
+
],
|
2058
|
+
[
|
2059
|
+
"unknown",
|
2060
|
+
1
|
2061
|
+
],
|
2062
|
+
[
|
2063
|
+
"want",
|
2064
|
+
0
|
2065
|
+
]
|
2066
|
+
],
|
2049
2067
|
[
|
2050
2068
|
[
|
2051
2069
|
"if",
|
@@ -2296,10 +2314,6 @@
|
|
2296
2314
|
"unknown",
|
2297
2315
|
0
|
2298
2316
|
],
|
2299
|
-
[
|
2300
|
-
"unknown",
|
2301
|
-
1
|
2302
|
-
],
|
2303
2317
|
[
|
2304
2318
|
"xfx",
|
2305
2319
|
0
|
@@ -2320,7 +2334,7 @@
|
|
2320
2334
|
],
|
2321
2335
|
[
|
2322
2336
|
"unknown",
|
2323
|
-
|
2337
|
+
1
|
2324
2338
|
],
|
2325
2339
|
[
|
2326
2340
|
"xfx",
|
@@ -2338,15 +2352,11 @@
|
|
2338
2352
|
],
|
2339
2353
|
[
|
2340
2354
|
"list",
|
2341
|
-
|
2355
|
+
1
|
2342
2356
|
],
|
2343
2357
|
[
|
2344
2358
|
"unknown",
|
2345
2359
|
1
|
2346
|
-
],
|
2347
|
-
[
|
2348
|
-
"xfx",
|
2349
|
-
0
|
2350
2360
|
]
|
2351
2361
|
],
|
2352
2362
|
[
|
@@ -2365,42 +2375,58 @@
|
|
2365
2375
|
[
|
2366
2376
|
"unknown",
|
2367
2377
|
1
|
2378
|
+
],
|
2379
|
+
[
|
2380
|
+
"xfx",
|
2381
|
+
0
|
2368
2382
|
]
|
2369
2383
|
],
|
2370
2384
|
[
|
2371
2385
|
[
|
2372
2386
|
"between",
|
2373
|
-
|
2387
|
+
1
|
2374
2388
|
],
|
2375
2389
|
[
|
2376
2390
|
"is",
|
2377
2391
|
0
|
2378
2392
|
],
|
2379
2393
|
[
|
2380
|
-
"
|
2394
|
+
"unknown",
|
2381
2395
|
1
|
2396
|
+
]
|
2397
|
+
],
|
2398
|
+
[
|
2399
|
+
[
|
2400
|
+
"if",
|
2401
|
+
0
|
2382
2402
|
],
|
2383
2403
|
[
|
2384
|
-
"
|
2385
|
-
|
2404
|
+
"like",
|
2405
|
+
0
|
2386
2406
|
],
|
2387
2407
|
[
|
2388
|
-
"
|
2408
|
+
"love",
|
2389
2409
|
0
|
2390
|
-
]
|
2391
|
-
],
|
2392
|
-
[
|
2410
|
+
],
|
2393
2411
|
[
|
2394
|
-
"
|
2395
|
-
|
2412
|
+
"orList",
|
2413
|
+
0
|
2396
2414
|
],
|
2397
2415
|
[
|
2398
|
-
"
|
2416
|
+
"then",
|
2417
|
+
0
|
2418
|
+
],
|
2419
|
+
[
|
2420
|
+
"unknown",
|
2399
2421
|
0
|
2400
2422
|
],
|
2401
2423
|
[
|
2402
2424
|
"unknown",
|
2403
2425
|
1
|
2426
|
+
],
|
2427
|
+
[
|
2428
|
+
"want",
|
2429
|
+
0
|
2404
2430
|
]
|
2405
2431
|
],
|
2406
2432
|
[
|