ekms 8.0.0-beta.75 → 8.0.0-beta.76

Sign up to get free protection for your applications and to get access to all the features.
@@ -59,7 +59,7 @@
59
59
  "development": true
60
60
  },
61
61
  {
62
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
62
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
63
63
  "id": "plusOperator",
64
64
  "level": 0,
65
65
  "bridge": "{ ...next(operator), marker: next(operator('plusExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
@@ -80,7 +80,7 @@
80
80
  "generatorp": "({context}) => context.word"
81
81
  },
82
82
  {
83
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
83
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
84
84
  "id": "plusExpression",
85
85
  "level": 0,
86
86
  "bridge": "{ ...next(operator) }",
@@ -91,7 +91,7 @@
91
91
  "evaluator": "async ({e, context}) => {\n const x = toValue(await e(context.x)) \n const y = toValue(await e(context.y))\n if (!x || !y) {\n // context.evalue = { ...context, paraphrase: true, x: { ...context.x, value: x }, y: { ...context.y, value: y } }\n context.isResponse = false\n } else {\n context.evalue = apply(x, y)\n context.evalue.isResponse = true\n context.evalue.paraphrase = false\n // context.paraphrase = false\n // context.isResponse = true\n }\n /*\n if (!context.value) {\n context.isResponse = false\n context.paraphrase = true\n }\n */\n }"
92
92
  },
93
93
  {
94
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
94
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
95
95
  "id": "minusOperator",
96
96
  "level": 0,
97
97
  "bridge": "{ ...next(operator), marker: next(operator('minusExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
@@ -112,7 +112,7 @@
112
112
  "generatorp": "({context}) => context.word"
113
113
  },
114
114
  {
115
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
115
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
116
116
  "id": "minusExpression",
117
117
  "level": 0,
118
118
  "bridge": "{ ...next(operator) }",
@@ -123,7 +123,7 @@
123
123
  "evaluator": "async ({e, context}) => {\n const x = toValue(await e(context.x)) \n const y = toValue(await e(context.y))\n if (!x || !y) {\n // context.evalue = { ...context, paraphrase: true, x: { ...context.x, value: x }, y: { ...context.y, value: y } }\n context.isResponse = false\n } else {\n context.evalue = apply(x, y)\n context.evalue.isResponse = true\n context.evalue.paraphrase = false\n // context.paraphrase = false\n // context.isResponse = true\n }\n /*\n if (!context.value) {\n context.isResponse = false\n context.paraphrase = true\n }\n */\n }"
124
124
  },
125
125
  {
126
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
126
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
127
127
  "id": "timesOperator",
128
128
  "level": 0,
129
129
  "bridge": "{ ...next(operator), marker: next(operator('timesExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
@@ -153,7 +153,7 @@
153
153
  "generatorp": "({context}) => context.word"
154
154
  },
155
155
  {
156
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
156
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
157
157
  "id": "timesExpression",
158
158
  "level": 0,
159
159
  "bridge": "{ ...next(operator) }",
@@ -164,7 +164,7 @@
164
164
  "evaluator": "async ({e, context}) => {\n const x = toValue(await e(context.x)) \n const y = toValue(await e(context.y))\n if (!x || !y) {\n // context.evalue = { ...context, paraphrase: true, x: { ...context.x, value: x }, y: { ...context.y, value: y } }\n context.isResponse = false\n } else {\n context.evalue = apply(x, y)\n context.evalue.isResponse = true\n context.evalue.paraphrase = false\n // context.paraphrase = false\n // context.isResponse = true\n }\n /*\n if (!context.value) {\n context.isResponse = false\n context.paraphrase = true\n }\n */\n }"
165
165
  },
166
166
  {
167
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
167
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
168
168
  "id": "divideByOperator",
169
169
  "level": 0,
170
170
  "bridge": "{ ...next(operator), marker: next(operator('divideByExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
@@ -193,7 +193,7 @@
193
193
  "generatorp": "({context}) => context.word"
194
194
  },
195
195
  {
196
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
196
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
197
197
  "id": "divideByExpression",
198
198
  "level": 0,
199
199
  "bridge": "{ ...next(operator) }",
@@ -534,11 +534,6 @@
534
534
  "theAble",
535
535
  false
536
536
  ],
537
- [
538
- "property",
539
- "unknown",
540
- false
541
- ],
542
537
  [
543
538
  "punctuation",
544
539
  "punctuation",
@@ -739,11 +734,6 @@
739
734
  "hierarchyAble",
740
735
  false
741
736
  ],
742
- [
743
- "unknown",
744
- "object",
745
- false
746
- ],
747
737
  [
748
738
  "unknown",
749
739
  "queryable",
@@ -1000,7 +990,7 @@
1000
990
  "development": true
1001
991
  },
1002
992
  {
1003
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
993
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
1004
994
  "id": "plusOperator",
1005
995
  "level": 0,
1006
996
  "bridge": "{ ...next(operator), marker: next(operator('plusExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
@@ -1020,7 +1010,7 @@
1020
1010
  ]
1021
1011
  },
1022
1012
  {
1023
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
1013
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
1024
1014
  "id": "plusExpression",
1025
1015
  "level": 0,
1026
1016
  "bridge": "{ ...next(operator) }",
@@ -1029,7 +1019,7 @@
1029
1019
  ]
1030
1020
  },
1031
1021
  {
1032
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
1022
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
1033
1023
  "id": "minusOperator",
1034
1024
  "level": 0,
1035
1025
  "bridge": "{ ...next(operator), marker: next(operator('minusExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
@@ -1049,7 +1039,7 @@
1049
1039
  ]
1050
1040
  },
1051
1041
  {
1052
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
1042
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
1053
1043
  "id": "minusExpression",
1054
1044
  "level": 0,
1055
1045
  "bridge": "{ ...next(operator) }",
@@ -1058,7 +1048,7 @@
1058
1048
  ]
1059
1049
  },
1060
1050
  {
1061
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
1051
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
1062
1052
  "id": "timesOperator",
1063
1053
  "level": 0,
1064
1054
  "bridge": "{ ...next(operator), marker: next(operator('timesExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
@@ -1087,7 +1077,7 @@
1087
1077
  ]
1088
1078
  },
1089
1079
  {
1090
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
1080
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
1091
1081
  "id": "timesExpression",
1092
1082
  "level": 0,
1093
1083
  "bridge": "{ ...next(operator) }",
@@ -1096,7 +1086,7 @@
1096
1086
  ]
1097
1087
  },
1098
1088
  {
1099
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
1089
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
1100
1090
  "id": "divideByOperator",
1101
1091
  "level": 0,
1102
1092
  "bridge": "{ ...next(operator), marker: next(operator('divideByExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
@@ -1124,7 +1114,7 @@
1124
1114
  ]
1125
1115
  },
1126
1116
  {
1127
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
1117
+ "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
1128
1118
  "id": "divideByExpression",
1129
1119
  "level": 0,
1130
1120
  "bridge": "{ ...next(operator) }",
@@ -236,11 +236,6 @@
236
236
  "theAble",
237
237
  false
238
238
  ],
239
- [
240
- "property",
241
- "unknown",
242
- false
243
- ],
244
239
  [
245
240
  "punctuation",
246
241
  "punctuation",
@@ -341,11 +336,6 @@
341
336
  "hierarchyAble",
342
337
  false
343
338
  ],
344
- [
345
- "unknown",
346
- "object",
347
- false
348
- ],
349
339
  [
350
340
  "unknown",
351
341
  "queryable",
@@ -731,6 +721,32 @@
731
721
  0
732
722
  ]
733
723
  ],
724
+ [
725
+ [
726
+ "between",
727
+ 0
728
+ ],
729
+ [
730
+ "is",
731
+ 0
732
+ ],
733
+ [
734
+ "list",
735
+ 0
736
+ ],
737
+ [
738
+ "unknown",
739
+ 0
740
+ ],
741
+ [
742
+ "unknown",
743
+ 1
744
+ ],
745
+ [
746
+ "xfx",
747
+ 0
748
+ ]
749
+ ],
734
750
  [
735
751
  [
736
752
  "between",
@@ -1078,11 +1094,6 @@
1078
1094
  "theAble",
1079
1095
  false
1080
1096
  ],
1081
- [
1082
- "property",
1083
- "unknown",
1084
- false
1085
- ],
1086
1097
  [
1087
1098
  "punctuation",
1088
1099
  "punctuation",
@@ -1183,11 +1194,6 @@
1183
1194
  "hierarchyAble",
1184
1195
  false
1185
1196
  ],
1186
- [
1187
- "unknown",
1188
- "object",
1189
- false
1190
- ],
1191
1197
  [
1192
1198
  "unknown",
1193
1199
  "queryable",
@@ -1801,7 +1807,7 @@
1801
1807
  "value": "x",
1802
1808
  "unknown": true,
1803
1809
  "text": "x",
1804
- "marker": "unknown",
1810
+ "marker": "object",
1805
1811
  "word": "x",
1806
1812
  "range": {
1807
1813
  "start": 3,
@@ -1809,7 +1815,7 @@
1809
1815
  },
1810
1816
  "dead": true,
1811
1817
  "types": [
1812
- "unknown"
1818
+ "object"
1813
1819
  ],
1814
1820
  "level": 1
1815
1821
  },
@@ -1817,7 +1823,7 @@
1817
1823
  "value": "y",
1818
1824
  "unknown": true,
1819
1825
  "text": "y",
1820
- "marker": "unknown",
1826
+ "marker": "object",
1821
1827
  "word": "y",
1822
1828
  "range": {
1823
1829
  "start": 11,
@@ -1825,7 +1831,7 @@
1825
1831
  },
1826
1832
  "dead": true,
1827
1833
  "types": [
1828
- "unknown"
1834
+ "object"
1829
1835
  ],
1830
1836
  "level": 1
1831
1837
  },
@@ -1866,7 +1872,7 @@
1866
1872
  "value": "x",
1867
1873
  "unknown": true,
1868
1874
  "text": "x",
1869
- "marker": "unknown",
1875
+ "marker": "object",
1870
1876
  "word": "x",
1871
1877
  "range": {
1872
1878
  "start": 16,
@@ -1874,7 +1880,7 @@
1874
1880
  },
1875
1881
  "dead": true,
1876
1882
  "types": [
1877
- "unknown"
1883
+ "object"
1878
1884
  ],
1879
1885
  "level": 1
1880
1886
  },
@@ -1882,7 +1888,7 @@
1882
1888
  "value": "y",
1883
1889
  "unknown": true,
1884
1890
  "text": "y",
1885
- "marker": "unknown",
1891
+ "marker": "object",
1886
1892
  "word": "y",
1887
1893
  "range": {
1888
1894
  "start": 24,
@@ -1890,7 +1896,7 @@
1890
1896
  },
1891
1897
  "dead": true,
1892
1898
  "types": [
1893
- "unknown"
1899
+ "object"
1894
1900
  ],
1895
1901
  "level": 1
1896
1902
  },
@@ -1937,7 +1943,7 @@
1937
1943
  "value": "x",
1938
1944
  "unknown": true,
1939
1945
  "text": "x",
1940
- "marker": "unknown",
1946
+ "marker": "object",
1941
1947
  "word": "x",
1942
1948
  "range": {
1943
1949
  "start": 31,
@@ -1945,7 +1951,7 @@
1945
1951
  },
1946
1952
  "dead": true,
1947
1953
  "types": [
1948
- "unknown"
1954
+ "object"
1949
1955
  ],
1950
1956
  "level": 1
1951
1957
  },
@@ -1953,7 +1959,7 @@
1953
1959
  "value": "y",
1954
1960
  "unknown": true,
1955
1961
  "text": "y",
1956
- "marker": "unknown",
1962
+ "marker": "object",
1957
1963
  "word": "y",
1958
1964
  "range": {
1959
1965
  "start": 39,
@@ -1961,7 +1967,7 @@
1961
1967
  },
1962
1968
  "dead": true,
1963
1969
  "types": [
1964
- "unknown"
1970
+ "object"
1965
1971
  ],
1966
1972
  "level": 1
1967
1973
  },
@@ -2031,6 +2037,40 @@
2031
2037
  0
2032
2038
  ]
2033
2039
  ],
2040
+ [
2041
+ [
2042
+ "if",
2043
+ 0
2044
+ ],
2045
+ [
2046
+ "like",
2047
+ 0
2048
+ ],
2049
+ [
2050
+ "love",
2051
+ 0
2052
+ ],
2053
+ [
2054
+ "orList",
2055
+ 0
2056
+ ],
2057
+ [
2058
+ "then",
2059
+ 0
2060
+ ],
2061
+ [
2062
+ "unknown",
2063
+ 0
2064
+ ],
2065
+ [
2066
+ "unknown",
2067
+ 1
2068
+ ],
2069
+ [
2070
+ "want",
2071
+ 0
2072
+ ]
2073
+ ],
2034
2074
  [
2035
2075
  [
2036
2076
  "if",
@@ -2264,6 +2304,32 @@
2264
2304
  0
2265
2305
  ]
2266
2306
  ],
2307
+ [
2308
+ [
2309
+ "between",
2310
+ 0
2311
+ ],
2312
+ [
2313
+ "is",
2314
+ 0
2315
+ ],
2316
+ [
2317
+ "list",
2318
+ 0
2319
+ ],
2320
+ [
2321
+ "unknown",
2322
+ 0
2323
+ ],
2324
+ [
2325
+ "unknown",
2326
+ 1
2327
+ ],
2328
+ [
2329
+ "xfx",
2330
+ 0
2331
+ ]
2332
+ ],
2267
2333
  [
2268
2334
  [
2269
2335
  "between",
@@ -2396,6 +2462,40 @@
2396
2462
  0
2397
2463
  ]
2398
2464
  ],
2465
+ [
2466
+ [
2467
+ "if",
2468
+ 0
2469
+ ],
2470
+ [
2471
+ "like",
2472
+ 0
2473
+ ],
2474
+ [
2475
+ "love",
2476
+ 0
2477
+ ],
2478
+ [
2479
+ "orList",
2480
+ 0
2481
+ ],
2482
+ [
2483
+ "then",
2484
+ 0
2485
+ ],
2486
+ [
2487
+ "unknown",
2488
+ 0
2489
+ ],
2490
+ [
2491
+ "unknown",
2492
+ 1
2493
+ ],
2494
+ [
2495
+ "want",
2496
+ 0
2497
+ ]
2498
+ ],
2399
2499
  [
2400
2500
  [
2401
2501
  "if",
@@ -235,11 +235,6 @@
235
235
  "theAble",
236
236
  false
237
237
  ],
238
- [
239
- "property",
240
- "unknown",
241
- false
242
- ],
243
238
  [
244
239
  "punctuation",
245
240
  "punctuation",
@@ -340,11 +335,6 @@
340
335
  "hierarchyAble",
341
336
  false
342
337
  ],
343
- [
344
- "unknown",
345
- "object",
346
- false
347
- ],
348
338
  [
349
339
  "unknown",
350
340
  "queryable",
@@ -904,11 +894,6 @@
904
894
  "theAble",
905
895
  false
906
896
  ],
907
- [
908
- "property",
909
- "unknown",
910
- false
911
- ],
912
897
  [
913
898
  "punctuation",
914
899
  "punctuation",
@@ -1009,11 +994,6 @@
1009
994
  "hierarchyAble",
1010
995
  false
1011
996
  ],
1012
- [
1013
- "unknown",
1014
- "object",
1015
- false
1016
- ],
1017
997
  [
1018
998
  "unknown",
1019
999
  "queryable",
@@ -1667,11 +1647,6 @@
1667
1647
  "theAble",
1668
1648
  false
1669
1649
  ],
1670
- [
1671
- "property",
1672
- "unknown",
1673
- false
1674
- ],
1675
1650
  [
1676
1651
  "punctuation",
1677
1652
  "punctuation",
@@ -1772,11 +1747,6 @@
1772
1747
  "hierarchyAble",
1773
1748
  false
1774
1749
  ],
1775
- [
1776
- "unknown",
1777
- "object",
1778
- false
1779
- ],
1780
1750
  [
1781
1751
  "unknown",
1782
1752
  "queryable",
@@ -2475,11 +2445,6 @@
2475
2445
  "theAble",
2476
2446
  false
2477
2447
  ],
2478
- [
2479
- "property",
2480
- "unknown",
2481
- false
2482
- ],
2483
2448
  [
2484
2449
  "punctuation",
2485
2450
  "punctuation",
@@ -2580,11 +2545,6 @@
2580
2545
  "hierarchyAble",
2581
2546
  false
2582
2547
  ],
2583
- [
2584
- "unknown",
2585
- "object",
2586
- false
2587
- ],
2588
2548
  [
2589
2549
  "unknown",
2590
2550
  "queryable",
@@ -3328,11 +3288,6 @@
3328
3288
  "theAble",
3329
3289
  false
3330
3290
  ],
3331
- [
3332
- "property",
3333
- "unknown",
3334
- false
3335
- ],
3336
3291
  [
3337
3292
  "punctuation",
3338
3293
  "punctuation",
@@ -3433,11 +3388,6 @@
3433
3388
  "hierarchyAble",
3434
3389
  false
3435
3390
  ],
3436
- [
3437
- "unknown",
3438
- "object",
3439
- false
3440
- ],
3441
3391
  [
3442
3392
  "unknown",
3443
3393
  "queryable",
@@ -4240,11 +4190,6 @@
4240
4190
  "theAble",
4241
4191
  false
4242
4192
  ],
4243
- [
4244
- "property",
4245
- "unknown",
4246
- false
4247
- ],
4248
4193
  [
4249
4194
  "punctuation",
4250
4195
  "punctuation",
@@ -4345,11 +4290,6 @@
4345
4290
  "hierarchyAble",
4346
4291
  false
4347
4292
  ],
4348
- [
4349
- "unknown",
4350
- "object",
4351
- false
4352
- ],
4353
4293
  [
4354
4294
  "unknown",
4355
4295
  "queryable",
@@ -5524,11 +5464,6 @@
5524
5464
  "theAble",
5525
5465
  false
5526
5466
  ],
5527
- [
5528
- "property",
5529
- "unknown",
5530
- false
5531
- ],
5532
5467
  [
5533
5468
  "punctuation",
5534
5469
  "punctuation",
@@ -5629,11 +5564,6 @@
5629
5564
  "hierarchyAble",
5630
5565
  false
5631
5566
  ],
5632
- [
5633
- "unknown",
5634
- "object",
5635
- false
5636
- ],
5637
5567
  [
5638
5568
  "unknown",
5639
5569
  "queryable",
@@ -6651,11 +6581,6 @@
6651
6581
  "theAble",
6652
6582
  false
6653
6583
  ],
6654
- [
6655
- "property",
6656
- "unknown",
6657
- false
6658
- ],
6659
6584
  [
6660
6585
  "punctuation",
6661
6586
  "punctuation",
@@ -6756,11 +6681,6 @@
6756
6681
  "hierarchyAble",
6757
6682
  false
6758
6683
  ],
6759
- [
6760
- "unknown",
6761
- "object",
6762
- false
6763
- ],
6764
6684
  [
6765
6685
  "unknown",
6766
6686
  "queryable",