tpmkms_4wp 8.0.0-beta.0 → 8.0.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. package/common/animals.instance.json +103 -113
  2. package/common/characters.js +0 -1
  3. package/common/colors.instance.json +22304 -0
  4. package/common/colors.js +71 -0
  5. package/common/colors.test.json +4860 -0
  6. package/common/concept.js +2 -2
  7. package/common/crew.instance.json +4142 -3545
  8. package/common/crew.js +4 -2
  9. package/common/dialogues.js +34 -7
  10. package/common/dialogues.test.json +1053 -33
  11. package/common/dimension.instance.json +20 -30
  12. package/common/dimension.test.json +289 -312
  13. package/common/edible.instance.json +216 -156
  14. package/common/emotions.instance.json +64 -0
  15. package/common/fastfood.instance.json +1011 -386
  16. package/common/fastfood.js +1 -1
  17. package/common/fastfood.test.json +7941 -3647
  18. package/common/formulas.instance.json +4 -0
  19. package/common/formulas.test.json +1027 -955
  20. package/common/help.test.json +14 -10
  21. package/common/helpers/concept.js +29 -9
  22. package/common/helpers/dialogues.js +17 -1
  23. package/common/helpers/formulas.js +0 -14
  24. package/common/helpers/meta.js +0 -1
  25. package/common/helpers/properties.js +6 -13
  26. package/common/kirk.instance.json +4 -0
  27. package/common/length.instance.json +93 -63
  28. package/common/math.instance.json +26 -47
  29. package/common/meta.js +0 -2
  30. package/common/ordering.instance.json +76 -0
  31. package/common/people.instance.json +35 -60
  32. package/common/pipboy.instance.json +215 -229
  33. package/common/pokemon.instance.json +131 -82
  34. package/common/pressure.instance.json +38 -48
  35. package/common/properties.instance.json +4 -0
  36. package/common/properties.js +7 -7
  37. package/common/properties.test.json +17605 -4030
  38. package/common/punctuation.js +8 -0
  39. package/common/punctuation.test.json +233 -5
  40. package/common/reports.instance.json +12 -4
  41. package/common/reports.js +0 -2
  42. package/common/sizeable.js +7 -2
  43. package/common/spock.instance.json +4 -0
  44. package/common/stm.js +16 -5
  45. package/common/temperature.instance.json +45 -59
  46. package/common/testing.js +0 -1
  47. package/common/tokenize.js +2 -1
  48. package/common/tokenize.test.json +86 -1
  49. package/common/ui.instance.json +4 -0
  50. package/common/ui.js +0 -1
  51. package/common/weight.instance.json +62 -11
  52. package/common/weight.test.json +242 -238
  53. package/main.js +2 -0
  54. package/package.json +6 -2
@@ -255,6 +255,10 @@
255
255
  "divideByOperator",
256
256
  "mathematicalOperator"
257
257
  ],
258
+ [
259
+ "doubleQuote",
260
+ "queryable"
261
+ ],
258
262
  [
259
263
  "expression",
260
264
  "expression"
@@ -1193,6 +1197,10 @@
1193
1197
  "divideByOperator",
1194
1198
  "mathematicalOperator"
1195
1199
  ],
1200
+ [
1201
+ "doubleQuote",
1202
+ "queryable"
1203
+ ],
1196
1204
  [
1197
1205
  "expression",
1198
1206
  "expression"
@@ -1863,10 +1871,6 @@
1863
1871
  1
1864
1872
  ],
1865
1873
  "ops": [
1866
- [
1867
- "list",
1868
- 1
1869
- ],
1870
1874
  [
1871
1875
  "is",
1872
1876
  0
@@ -1919,35 +1923,6 @@
1919
1923
  ],
1920
1924
  "counter": 7
1921
1925
  },
1922
- {
1923
- "op": [
1924
- "list",
1925
- 1
1926
- ],
1927
- "ops": [
1928
- [
1929
- "is",
1930
- 0
1931
- ],
1932
- [
1933
- "unit",
1934
- 0
1935
- ],
1936
- [
1937
- "propertyOf",
1938
- 0
1939
- ],
1940
- [
1941
- "length",
1942
- 0
1943
- ],
1944
- [
1945
- "list",
1946
- 1
1947
- ]
1948
- ],
1949
- "counter": 8
1950
- },
1951
1926
  {
1952
1927
  "op": [
1953
1928
  "unit",
@@ -1971,7 +1946,7 @@
1971
1946
  0
1972
1947
  ]
1973
1948
  ],
1974
- "counter": 9
1949
+ "counter": 8
1975
1950
  },
1976
1951
  {
1977
1952
  "op": [
@@ -1992,7 +1967,7 @@
1992
1967
  0
1993
1968
  ]
1994
1969
  ],
1995
- "counter": 10
1970
+ "counter": 9
1996
1971
  },
1997
1972
  {
1998
1973
  "op": [
@@ -2009,7 +1984,7 @@
2009
1984
  0
2010
1985
  ]
2011
1986
  ],
2012
- "counter": 11
1987
+ "counter": 10
2013
1988
  },
2014
1989
  {
2015
1990
  "op": [
@@ -2026,7 +2001,7 @@
2026
2001
  1
2027
2002
  ]
2028
2003
  ],
2029
- "counter": 12
2004
+ "counter": 11
2030
2005
  },
2031
2006
  {
2032
2007
  "op": [
@@ -2039,7 +2014,7 @@
2039
2014
  0
2040
2015
  ]
2041
2016
  ],
2042
- "counter": 13
2017
+ "counter": 12
2043
2018
  },
2044
2019
  {
2045
2020
  "op": [
@@ -2052,7 +2027,7 @@
2052
2027
  1
2053
2028
  ]
2054
2029
  ],
2055
- "counter": 14
2030
+ "counter": 13
2056
2031
  }
2057
2032
  ]
2058
2033
  },
@@ -2070,7 +2045,19 @@
2070
2045
  "one": {
2071
2046
  "number": "many",
2072
2047
  "marker": "list",
2048
+ "default": true,
2049
+ "word": "and",
2050
+ "text": "meter centimeter foot and inch",
2051
+ "range": {
2052
+ "start": 0,
2053
+ "end": 49
2054
+ },
2055
+ "types": [
2056
+ "list",
2057
+ "unknown"
2058
+ ],
2073
2059
  "listable": true,
2060
+ "isList": true,
2074
2061
  "value": [
2075
2062
  {
2076
2063
  "value": "meter",
@@ -2109,7 +2096,7 @@
2109
2096
  "end": 20
2110
2097
  },
2111
2098
  "dead": true,
2112
- "level": 2
2099
+ "level": 1
2113
2100
  },
2114
2101
  {
2115
2102
  "value": "inch",
@@ -2122,18 +2109,9 @@
2122
2109
  "end": 29
2123
2110
  },
2124
2111
  "dead": true,
2125
- "level": 2
2112
+ "level": 1
2126
2113
  }
2127
2114
  ],
2128
- "range": {
2129
- "start": 0,
2130
- "end": 49
2131
- },
2132
- "types": [
2133
- "list",
2134
- "unknown"
2135
- ],
2136
- "text": "meter centimeter",
2137
2115
  "level": 1
2138
2116
  },
2139
2117
  "two": {
@@ -2686,6 +2664,10 @@
2686
2664
  "divideByOperator",
2687
2665
  "mathematicalOperator"
2688
2666
  ],
2667
+ [
2668
+ "doubleQuote",
2669
+ "queryable"
2670
+ ],
2689
2671
  [
2690
2672
  "expression",
2691
2673
  "expression"
@@ -3371,7 +3353,7 @@
3371
3353
  "trace": "undefined",
3372
3354
  "contexts": [
3373
3355
  {
3374
- "value": "=",
3356
+ "value": "equals",
3375
3357
  "text": "meters = centimeters / 100",
3376
3358
  "marker": "equals",
3377
3359
  "word": "=",
@@ -3809,6 +3791,10 @@
3809
3791
  "divideByOperator",
3810
3792
  "mathematicalOperator"
3811
3793
  ],
3794
+ [
3795
+ "doubleQuote",
3796
+ "queryable"
3797
+ ],
3812
3798
  [
3813
3799
  "expression",
3814
3800
  "expression"
@@ -4494,7 +4480,7 @@
4494
4480
  "trace": "undefined",
4495
4481
  "contexts": [
4496
4482
  {
4497
- "value": "=",
4483
+ "value": "equals",
4498
4484
  "text": "centimeters = meters * 100",
4499
4485
  "marker": "equals",
4500
4486
  "word": "=",
@@ -4932,6 +4918,10 @@
4932
4918
  "divideByOperator",
4933
4919
  "mathematicalOperator"
4934
4920
  ],
4921
+ [
4922
+ "doubleQuote",
4923
+ "queryable"
4924
+ ],
4935
4925
  [
4936
4926
  "expression",
4937
4927
  "expression"
@@ -5617,7 +5607,7 @@
5617
5607
  "trace": "undefined",
5618
5608
  "contexts": [
5619
5609
  {
5620
- "value": "=",
5610
+ "value": "equals",
5621
5611
  "text": "centimeters = millimeters / 10",
5622
5612
  "marker": "equals",
5623
5613
  "word": "=",
@@ -6067,6 +6057,10 @@
6067
6057
  "divideByOperator",
6068
6058
  "mathematicalOperator"
6069
6059
  ],
6060
+ [
6061
+ "doubleQuote",
6062
+ "queryable"
6063
+ ],
6070
6064
  [
6071
6065
  "expression",
6072
6066
  "expression"
@@ -6752,7 +6746,7 @@
6752
6746
  "trace": "undefined",
6753
6747
  "contexts": [
6754
6748
  {
6755
- "value": "=",
6749
+ "value": "equals",
6756
6750
  "text": "millimeters = centimeters * 10",
6757
6751
  "marker": "equals",
6758
6752
  "word": "=",
@@ -7212,6 +7206,10 @@
7212
7206
  "divideByOperator",
7213
7207
  "mathematicalOperator"
7214
7208
  ],
7209
+ [
7210
+ "doubleQuote",
7211
+ "queryable"
7212
+ ],
7215
7213
  [
7216
7214
  "expression",
7217
7215
  "expression"
@@ -7897,7 +7895,7 @@
7897
7895
  "trace": "undefined",
7898
7896
  "contexts": [
7899
7897
  {
7900
- "value": "=",
7898
+ "value": "equals",
7901
7899
  "text": "millimeters = meters * 1000",
7902
7900
  "marker": "equals",
7903
7901
  "word": "=",
@@ -8357,6 +8355,10 @@
8357
8355
  "divideByOperator",
8358
8356
  "mathematicalOperator"
8359
8357
  ],
8358
+ [
8359
+ "doubleQuote",
8360
+ "queryable"
8361
+ ],
8360
8362
  [
8361
8363
  "expression",
8362
8364
  "expression"
@@ -9042,7 +9044,7 @@
9042
9044
  "trace": "undefined",
9043
9045
  "contexts": [
9044
9046
  {
9045
- "value": "=",
9047
+ "value": "equals",
9046
9048
  "text": "meters = millimeters / 1000",
9047
9049
  "marker": "equals",
9048
9050
  "word": "=",
@@ -9492,6 +9494,10 @@
9492
9494
  "divideByOperator",
9493
9495
  "mathematicalOperator"
9494
9496
  ],
9497
+ [
9498
+ "doubleQuote",
9499
+ "queryable"
9500
+ ],
9495
9501
  [
9496
9502
  "expression",
9497
9503
  "expression"
@@ -10177,7 +10183,7 @@
10177
10183
  "trace": "undefined",
10178
10184
  "contexts": [
10179
10185
  {
10180
- "value": "=",
10186
+ "value": "equals",
10181
10187
  "text": "feet = inches / 12",
10182
10188
  "marker": "equals",
10183
10189
  "word": "=",
@@ -10615,6 +10621,10 @@
10615
10621
  "divideByOperator",
10616
10622
  "mathematicalOperator"
10617
10623
  ],
10624
+ [
10625
+ "doubleQuote",
10626
+ "queryable"
10627
+ ],
10618
10628
  [
10619
10629
  "expression",
10620
10630
  "expression"
@@ -11300,7 +11310,7 @@
11300
11310
  "trace": "undefined",
11301
11311
  "contexts": [
11302
11312
  {
11303
- "value": "=",
11313
+ "value": "equals",
11304
11314
  "text": "inches = feet * 12",
11305
11315
  "marker": "equals",
11306
11316
  "word": "=",
@@ -11738,6 +11748,10 @@
11738
11748
  "divideByOperator",
11739
11749
  "mathematicalOperator"
11740
11750
  ],
11751
+ [
11752
+ "doubleQuote",
11753
+ "queryable"
11754
+ ],
11741
11755
  [
11742
11756
  "expression",
11743
11757
  "expression"
@@ -12423,7 +12437,7 @@
12423
12437
  "trace": "undefined",
12424
12438
  "contexts": [
12425
12439
  {
12426
- "value": "=",
12440
+ "value": "equals",
12427
12441
  "text": "meters = feet / 3.28",
12428
12442
  "marker": "equals",
12429
12443
  "word": "=",
@@ -12861,6 +12875,10 @@
12861
12875
  "divideByOperator",
12862
12876
  "mathematicalOperator"
12863
12877
  ],
12878
+ [
12879
+ "doubleQuote",
12880
+ "queryable"
12881
+ ],
12864
12882
  [
12865
12883
  "expression",
12866
12884
  "expression"
@@ -13529,7 +13547,7 @@
13529
13547
  "trace": "undefined",
13530
13548
  "contexts": [
13531
13549
  {
13532
- "value": "=",
13550
+ "value": "equals",
13533
13551
  "text": "miles = 5280 * feet",
13534
13552
  "marker": "equals",
13535
13553
  "word": "=",
@@ -13974,6 +13992,10 @@
13974
13992
  "divideByOperator",
13975
13993
  "mathematicalOperator"
13976
13994
  ],
13995
+ [
13996
+ "doubleQuote",
13997
+ "queryable"
13998
+ ],
13977
13999
  [
13978
14000
  "expression",
13979
14001
  "expression"
@@ -14659,7 +14681,7 @@
14659
14681
  "trace": "undefined",
14660
14682
  "contexts": [
14661
14683
  {
14662
- "value": "=",
14684
+ "value": "equals",
14663
14685
  "text": "feet = miles / 5280",
14664
14686
  "marker": "equals",
14665
14687
  "word": "=",
@@ -15109,6 +15131,10 @@
15109
15131
  "divideByOperator",
15110
15132
  "mathematicalOperator"
15111
15133
  ],
15134
+ [
15135
+ "doubleQuote",
15136
+ "queryable"
15137
+ ],
15112
15138
  [
15113
15139
  "expression",
15114
15140
  "expression"
@@ -15794,7 +15820,7 @@
15794
15820
  "trace": "undefined",
15795
15821
  "contexts": [
15796
15822
  {
15797
- "value": "=",
15823
+ "value": "equals",
15798
15824
  "text": "kilometers = meters / 1000",
15799
15825
  "marker": "equals",
15800
15826
  "word": "=",
@@ -16254,6 +16280,10 @@
16254
16280
  "divideByOperator",
16255
16281
  "mathematicalOperator"
16256
16282
  ],
16283
+ [
16284
+ "doubleQuote",
16285
+ "queryable"
16286
+ ],
16257
16287
  [
16258
16288
  "expression",
16259
16289
  "expression"
@@ -16939,7 +16969,7 @@
16939
16969
  "trace": "undefined",
16940
16970
  "contexts": [
16941
16971
  {
16942
- "value": "=",
16972
+ "value": "equals",
16943
16973
  "text": "meters = kilometers * 1000",
16944
16974
  "marker": "equals",
16945
16975
  "word": "=",
@@ -250,6 +250,10 @@
250
250
  "countable",
251
251
  "hierarchyAble"
252
252
  ],
253
+ [
254
+ "doubleQuote",
255
+ "queryable"
256
+ ],
253
257
  [
254
258
  "hasCountOfPieces",
255
259
  "countable"
@@ -673,6 +677,10 @@
673
677
  "countable",
674
678
  "hierarchyAble"
675
679
  ],
680
+ [
681
+ "doubleQuote",
682
+ "queryable"
683
+ ],
676
684
  [
677
685
  "hasCountOfPieces",
678
686
  "countable"
@@ -1203,10 +1211,6 @@
1203
1211
  1
1204
1212
  ],
1205
1213
  "ops": [
1206
- [
1207
- "list",
1208
- 1
1209
- ],
1210
1214
  [
1211
1215
  "is",
1212
1216
  0
@@ -1259,35 +1263,6 @@
1259
1263
  ],
1260
1264
  "counter": 7
1261
1265
  },
1262
- {
1263
- "op": [
1264
- "list",
1265
- 1
1266
- ],
1267
- "ops": [
1268
- [
1269
- "is",
1270
- 0
1271
- ],
1272
- [
1273
- "mathematical",
1274
- 0
1275
- ],
1276
- [
1277
- "operator",
1278
- 0
1279
- ],
1280
- [
1281
- "mathematical_operator",
1282
- 0
1283
- ],
1284
- [
1285
- "list",
1286
- 1
1287
- ]
1288
- ],
1289
- "counter": 8
1290
- },
1291
1266
  {
1292
1267
  "op": [
1293
1268
  "mathematical_operator",
@@ -1311,7 +1286,7 @@
1311
1286
  0
1312
1287
  ]
1313
1288
  ],
1314
- "counter": 9
1289
+ "counter": 8
1315
1290
  },
1316
1291
  {
1317
1292
  "op": [
@@ -1324,7 +1299,7 @@
1324
1299
  0
1325
1300
  ]
1326
1301
  ],
1327
- "counter": 10
1302
+ "counter": 9
1328
1303
  },
1329
1304
  {
1330
1305
  "op": [
@@ -1337,7 +1312,7 @@
1337
1312
  1
1338
1313
  ]
1339
1314
  ],
1340
- "counter": 11
1315
+ "counter": 10
1341
1316
  }
1342
1317
  ]
1343
1318
  },
@@ -1355,7 +1330,19 @@
1355
1330
  "one": {
1356
1331
  "number": "many",
1357
1332
  "marker": "list",
1333
+ "default": true,
1334
+ "word": "and",
1335
+ "text": "* + / and -",
1336
+ "range": {
1337
+ "start": 0,
1338
+ "end": 37
1339
+ },
1340
+ "types": [
1341
+ "list",
1342
+ "unknown"
1343
+ ],
1358
1344
  "listable": true,
1345
+ "isList": true,
1359
1346
  "value": [
1360
1347
  {
1361
1348
  "marker": "unknown",
@@ -1394,7 +1381,7 @@
1394
1381
  },
1395
1382
  "unknown": true,
1396
1383
  "dead": true,
1397
- "level": 2
1384
+ "level": 1
1398
1385
  },
1399
1386
  {
1400
1387
  "marker": "unknown",
@@ -1407,18 +1394,9 @@
1407
1394
  },
1408
1395
  "unknown": true,
1409
1396
  "dead": true,
1410
- "level": 2
1397
+ "level": 1
1411
1398
  }
1412
1399
  ],
1413
- "range": {
1414
- "start": 0,
1415
- "end": 37
1416
- },
1417
- "types": [
1418
- "list",
1419
- "unknown"
1420
- ],
1421
- "text": "* +",
1422
1400
  "level": 1
1423
1401
  },
1424
1402
  "two": {
@@ -1437,6 +1415,7 @@
1437
1415
  ],
1438
1416
  "modifier_mathematical": {
1439
1417
  "value": "mathematical",
1418
+ "number": "one",
1440
1419
  "text": "mathematical",
1441
1420
  "marker": "mathematical",
1442
1421
  "word": "mathematical",
package/common/meta.js CHANGED
@@ -72,8 +72,6 @@ let configStruct = {
72
72
  operator: "((synonym/*) [synonymOfWord|of] (word))",
73
73
  bridge: "{ ...next(operator), word: after[0] }",
74
74
  evaluator: ({context}) => {
75
- debugger
76
- debugger
77
75
  }
78
76
  },
79
77
  */
@@ -50,6 +50,10 @@
50
50
  "dislike",
51
51
  "orAble"
52
52
  ],
53
+ [
54
+ "doubleQuote",
55
+ "queryable"
56
+ ],
53
57
  [
54
58
  "hate",
55
59
  "canBeDoQuestion"
@@ -796,6 +800,10 @@
796
800
  "dislike",
797
801
  "orAble"
798
802
  ],
803
+ [
804
+ "doubleQuote",
805
+ "queryable"
806
+ ],
799
807
  [
800
808
  "hate",
801
809
  "canBeDoQuestion"
@@ -1839,6 +1847,40 @@
1839
1847
  0
1840
1848
  ]
1841
1849
  ],
1850
+ [
1851
+ [
1852
+ "if",
1853
+ 0
1854
+ ],
1855
+ [
1856
+ "like",
1857
+ 0
1858
+ ],
1859
+ [
1860
+ "love",
1861
+ 0
1862
+ ],
1863
+ [
1864
+ "orList",
1865
+ 0
1866
+ ],
1867
+ [
1868
+ "then",
1869
+ 0
1870
+ ],
1871
+ [
1872
+ "unknown",
1873
+ 0
1874
+ ],
1875
+ [
1876
+ "unknown",
1877
+ 1
1878
+ ],
1879
+ [
1880
+ "want",
1881
+ 0
1882
+ ]
1883
+ ],
1842
1884
  [
1843
1885
  [
1844
1886
  "if",
@@ -2200,6 +2242,40 @@
2200
2242
  0
2201
2243
  ]
2202
2244
  ],
2245
+ [
2246
+ [
2247
+ "if",
2248
+ 0
2249
+ ],
2250
+ [
2251
+ "like",
2252
+ 0
2253
+ ],
2254
+ [
2255
+ "love",
2256
+ 0
2257
+ ],
2258
+ [
2259
+ "orList",
2260
+ 0
2261
+ ],
2262
+ [
2263
+ "then",
2264
+ 0
2265
+ ],
2266
+ [
2267
+ "unknown",
2268
+ 0
2269
+ ],
2270
+ [
2271
+ "unknown",
2272
+ 1
2273
+ ],
2274
+ [
2275
+ "want",
2276
+ 0
2277
+ ]
2278
+ ],
2203
2279
  [
2204
2280
  [
2205
2281
  "if",