ekms 8.0.0-beta.5 → 8.0.0-beta.51

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. package/common/animals.instance.json +2855 -1363
  2. package/common/animals.js +17 -20
  3. package/common/articles.js +103 -0
  4. package/common/articles.test.json +310 -0
  5. package/common/avatar.js +5 -9
  6. package/common/characters.js +22 -28
  7. package/common/colors.instance.json +6978 -3493
  8. package/common/colors.js +4 -8
  9. package/common/colors.test.json +345 -780
  10. package/common/comparable.js +5 -22
  11. package/common/concept.js +120 -118
  12. package/common/countable.js +18 -12
  13. package/common/countable.test.json +1050 -0
  14. package/common/crew.instance.json +13032 -6570
  15. package/common/crew.js +36 -41
  16. package/common/crew.test.json +714 -452
  17. package/common/currency.js +27 -45
  18. package/common/dialogues.js +158 -282
  19. package/common/dimension.instance.json +273 -272
  20. package/common/dimension.js +16 -22
  21. package/common/dimension.test.json +446 -1640
  22. package/common/edible.instance.json +19911 -9877
  23. package/common/edible.js +3 -8
  24. package/common/emotions.instance.json +146 -128
  25. package/common/emotions.js +35 -38
  26. package/common/evaluate.instance.json +2 -0
  27. package/common/evaluate.js +49 -0
  28. package/common/evaluate.test.json +574 -0
  29. package/common/events.js +9 -13
  30. package/common/fastfood.instance.json +221141 -111240
  31. package/common/fastfood.js +70 -80
  32. package/common/formulas.instance.json +251 -265
  33. package/common/formulas.js +17 -24
  34. package/common/gdefaults.js +24 -26
  35. package/common/help.js +7 -12
  36. package/common/help.test.json +22 -22
  37. package/common/helpers/concept.js +9 -6
  38. package/common/helpers/dialogues.js +2 -3
  39. package/common/helpers/properties.js +54 -62
  40. package/common/helpers.js +1 -1
  41. package/common/hierarchy.js +16 -24
  42. package/common/javascript.js +11 -18
  43. package/common/kirk.instance.json +583 -289
  44. package/common/kirk.js +5 -8
  45. package/common/length.instance.json +5530 -4754
  46. package/common/length.js +4 -8
  47. package/common/listener.js +48 -0
  48. package/common/listener.test.json +104 -0
  49. package/common/math.instance.json +192 -1184
  50. package/common/math.js +15 -19
  51. package/common/meta.js +23 -47
  52. package/common/nameable.instance.json +2 -0
  53. package/common/nameable.js +135 -0
  54. package/common/nameable.test.json +2121 -0
  55. package/common/negation.instance.json +2 -0
  56. package/common/negation.js +38 -0
  57. package/common/negation.test.json +308 -0
  58. package/common/numbers.js +6 -10
  59. package/common/ordering.instance.json +340 -160
  60. package/common/ordering.js +80 -86
  61. package/common/people.instance.json +2066 -1014
  62. package/common/people.js +8 -13
  63. package/common/percentages.instance.json +2 -0
  64. package/common/percentages.js +53 -0
  65. package/common/percentages.test.json +751 -0
  66. package/common/pipboy.instance.json +7999 -6269
  67. package/common/pipboy.js +32 -43
  68. package/common/pokemon.instance.json +4207 -2069
  69. package/common/pokemon.js +7 -20
  70. package/common/pos.js +4 -5
  71. package/common/pressure.instance.json +1341 -1189
  72. package/common/pressure.js +4 -8
  73. package/common/properties.instance.json +130 -60
  74. package/common/properties.js +57 -134
  75. package/common/punctuation.js +6 -6
  76. package/common/reports.instance.json +595 -557
  77. package/common/reports.js +64 -89
  78. package/common/scorekeeper.js +18 -30
  79. package/common/sdefaults.js +16 -7
  80. package/common/sizeable.js +5 -9
  81. package/common/spock.instance.json +583 -289
  82. package/common/spock.js +5 -8
  83. package/common/stgame.js +19 -19
  84. package/common/stm.js +163 -26
  85. package/common/stm.test.json +1734 -1
  86. package/common/tell.js +14 -18
  87. package/common/temperature.instance.json +1461 -1293
  88. package/common/temperature.js +4 -8
  89. package/common/tester.js +3 -3
  90. package/common/testing.js +8 -12
  91. package/common/time.js +20 -25
  92. package/common/tokenize.js +4 -5
  93. package/common/ui.instance.json +257 -258
  94. package/common/ui.js +11 -17
  95. package/common/weight.instance.json +5212 -4233
  96. package/common/weight.js +4 -8
  97. package/common/yesno.js +5 -5
  98. package/main.js +59 -46
  99. package/package.json +27 -5
@@ -14,7 +14,7 @@
14
14
  {
15
15
  "context": [
16
16
  [
17
- "mathematicalOperator",
17
+ "mathematical_operator",
18
18
  0
19
19
  ],
20
20
  [
@@ -29,14 +29,14 @@
29
29
  ],
30
30
  "semantics": [
31
31
  {
32
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:109",
32
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
33
33
  "match": "({context, api}) => context.evaluate && api.get(context)",
34
- "apply": "({context, api, e}) => {\n const { formula } = api.get(context)\n // console.log('greg24 -----------', JSON.stringify(formula, null, 2))\n context.evalue = e(formula) \n }"
34
+ "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
35
  }
36
36
  ],
37
37
  "bridges": [
38
38
  {
39
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:120",
39
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
40
40
  "id": "formulaForVariable",
41
41
  "isA": [
42
42
  "preposition",
@@ -44,14 +44,14 @@
44
44
  ],
45
45
  "convolution": true,
46
46
  "bridge": "{ number: before[0].number, ...next(operator), what: before[0], equality: after[0], variable: after[1] }",
47
- "generatorp": "({context, g}) => `${g(context.what)} ${g(context.equality)} ${g(context.variable)}`",
47
+ "generatorp": "async ({context, g}) => `${await g(context.what)} ${await g(context.equality)} ${await g(context.variable)}`",
48
48
  "evaluator": "({context, api, objects}) => {\n const formulas = api.gets(context.variable).map((f) => { return { ...f.equality, paraphrase: true } })\n context.evalue = { marker: 'list', value: formulas }\n }"
49
49
  },
50
50
  {
51
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:132",
51
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
52
52
  "id": "solve",
53
53
  "bridge": "{ ...next(operator), equality: after[0], variable: after[2] }",
54
- "generatorp": "({context, gp}) => `${context.word} ${gp(context.equality)} for ${gp(context.variable)}`",
54
+ "generatorp": "async ({context, gp}) => `${context.word} ${await gp(context.equality)} for ${await gp(context.variable)}`",
55
55
  "semantic": "({context}) => {\n context.response = solveFor(context.equality, context.variable)\n context.isResponse = true\n context.value = null\n if (!context.response) {\n // TODO some KM for talking to the user wrt brief+avatar\n context.verbatim = `Solving failed`\n }\n }"
56
56
  },
57
57
  {
@@ -74,30 +74,30 @@
74
74
  ]
75
75
  },
76
76
  {
77
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:159",
77
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
78
78
  "id": "calculate",
79
79
  "isA": [
80
80
  "verby"
81
81
  ],
82
82
  "bridge": "{ ...next(operator), expression: after[0] }",
83
- "generatorp": "({context, g}) => `${context.word} ${g(context.expression)}`",
83
+ "generatorp": "async ({context, g}) => `${context.word} ${await g(context.expression)}`",
84
84
  "localHierarchy": [
85
85
  [
86
86
  "unknown",
87
87
  "expression"
88
88
  ]
89
89
  ],
90
- "semantic": "({context, e}) => {\n context.evalue = e(context.expression)\n context.isResponse = true\n }"
90
+ "semantic": "async ({context, e}) => {\n context.evalue = await e(context.expression)\n context.isResponse = true\n }"
91
91
  },
92
92
  {
93
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:171",
93
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
94
94
  "id": "equals",
95
95
  "bridge": "{ ...next(operator), left: before[0], right: after[0] }",
96
96
  "words": [
97
97
  "="
98
98
  ],
99
99
  "after": [
100
- "mathematicalOperator"
100
+ "mathematical_operator"
101
101
  ],
102
102
  "localHierarchy": [
103
103
  [
@@ -105,7 +105,7 @@
105
105
  "expression"
106
106
  ]
107
107
  ],
108
- "generatorp": "({context, gp}) => `${gp(context.left)} ${context.word} ${gp(context.right)}`",
108
+ "generatorp": "async ({context, gp}) => `${await gp(context.left)} ${context.word} ${await gp(context.right)}`",
109
109
  "semantic": "({context, api}) => {\n // TODO make sure left is a single name\n // TODO calculate invertable formulas?\n api.add(context.left, context.right, context)\n }"
110
110
  }
111
111
  ]
@@ -114,569 +114,555 @@
114
114
  "resultss": [
115
115
  {
116
116
  "hierarchy": [
117
- [
118
- "*",
119
- "hierarchyAble"
120
- ],
121
- [
122
- "*",
123
- "isEdee"
124
- ],
125
- [
126
- "*",
127
- "isEder"
128
- ],
129
- [
130
- "*",
131
- "mathematical_operator"
132
- ],
133
- [
134
- "*",
135
- "object"
136
- ],
137
- [
138
- "*",
139
- "property"
140
- ],
141
- [
142
- "*",
143
- "queryable"
144
- ],
145
- [
146
- "*",
147
- "theAble"
148
- ],
149
- [
150
- "+",
151
- "hierarchyAble"
152
- ],
153
- [
154
- "+",
155
- "isEdee"
156
- ],
157
- [
158
- "+",
159
- "isEder"
160
- ],
161
- [
162
- "+",
163
- "mathematical_operator"
164
- ],
165
- [
166
- "+",
167
- "object"
168
- ],
169
- [
170
- "+",
171
- "property"
172
- ],
173
- [
174
- "+",
175
- "queryable"
176
- ],
177
- [
178
- "+",
179
- "theAble"
180
- ],
181
- [
182
- "-",
183
- "hierarchyAble"
184
- ],
185
- [
186
- "-",
187
- "isEdee"
188
- ],
189
- [
190
- "-",
191
- "isEder"
192
- ],
193
- [
194
- "-",
195
- "mathematical_operator"
196
- ],
197
- [
198
- "-",
199
- "object"
200
- ],
201
- [
202
- "-",
203
- "property"
204
- ],
205
- [
206
- "-",
207
- "queryable"
208
- ],
209
- [
210
- "-",
211
- "theAble"
212
- ],
213
- [
214
- "/",
215
- "hierarchyAble"
216
- ],
217
- [
218
- "/",
219
- "isEdee"
220
- ],
221
- [
222
- "/",
223
- "isEder"
224
- ],
225
- [
226
- "/",
227
- "mathematical_operator"
228
- ],
229
- [
230
- "/",
231
- "object"
232
- ],
233
- [
234
- "/",
235
- "property"
236
- ],
237
- [
238
- "/",
239
- "queryable"
240
- ],
241
- [
242
- "/",
243
- "theAble"
244
- ],
245
117
  [
246
118
  "a",
247
- "articlePOS"
119
+ "articlePOS",
120
+ false
248
121
  ],
249
122
  [
250
123
  "adjective",
251
- "adjective"
124
+ "adjective",
125
+ false
252
126
  ],
253
127
  [
254
128
  "all",
255
- "quantifier"
129
+ "quantifier",
130
+ false
256
131
  ],
257
132
  [
258
133
  "articlePOS",
259
- "articlePOS"
134
+ "articlePOS",
135
+ false
260
136
  ],
261
137
  [
262
138
  "between",
263
- "preposition"
139
+ "preposition",
140
+ false
264
141
  ],
265
142
  [
266
143
  "canBeDoQuestion",
267
- "canBeDoQuestion"
144
+ "canBeDoQuestion",
145
+ false
268
146
  ],
269
147
  [
270
148
  "canBeQuestion",
271
- "canBeQuestion"
149
+ "canBeQuestion",
150
+ false
272
151
  ],
273
152
  [
274
153
  "concept",
275
- "queryable"
154
+ "queryable",
155
+ false
276
156
  ],
277
157
  [
278
158
  "concept",
279
- "theAble"
159
+ "theAble",
160
+ false
280
161
  ],
281
162
  [
282
163
  "condition",
283
- "condition"
164
+ "condition",
165
+ false
284
166
  ],
285
167
  [
286
168
  "countable",
287
- "hierarchyAble"
169
+ "hierarchyAble",
170
+ false
288
171
  ],
289
172
  [
290
173
  "divideByExpression",
291
- "mathematicalExpression"
174
+ "mathematicalExpression",
175
+ false
292
176
  ],
293
177
  [
294
178
  "divideByOperator",
295
- "mathematicalOperator"
179
+ "mathematical_operator",
180
+ false
296
181
  ],
297
182
  [
298
183
  "doubleQuote",
299
- "queryable"
184
+ "queryable",
185
+ false
186
+ ],
187
+ [
188
+ "evaluate",
189
+ "verby",
190
+ false
300
191
  ],
301
192
  [
302
193
  "hasCountOfPieces",
303
- "countable"
194
+ "countable",
195
+ false
304
196
  ],
305
197
  [
306
198
  "have",
307
- "canBeDoQuestion"
199
+ "canBeDoQuestion",
200
+ false
308
201
  ],
309
202
  [
310
203
  "have",
311
- "canBeQuestion"
204
+ "canBeQuestion",
205
+ false
312
206
  ],
313
207
  [
314
208
  "hierarchyAble",
315
- "queryable"
209
+ "queryable",
210
+ false
316
211
  ],
317
212
  [
318
213
  "highest",
319
- "condition"
214
+ "condition",
215
+ false
320
216
  ],
321
217
  [
322
218
  "ifAble",
323
- "ifAble"
219
+ "ifAble",
220
+ false
324
221
  ],
325
222
  [
326
223
  "is",
327
- "canBeQuestion"
224
+ "canBeQuestion",
225
+ false
328
226
  ],
329
227
  [
330
228
  "is",
331
- "verby"
229
+ "verby",
230
+ false
332
231
  ],
333
232
  [
334
233
  "isEdee",
335
- "isEdee"
234
+ "isEdee",
235
+ false
336
236
  ],
337
237
  [
338
238
  "isEder",
339
- "isEder"
239
+ "isEder",
240
+ false
340
241
  ],
341
242
  [
342
243
  "it",
343
- "pronoun"
244
+ "pronoun",
245
+ false
344
246
  ],
345
247
  [
346
248
  "it",
347
- "queryable"
249
+ "queryable",
250
+ false
348
251
  ],
349
252
  [
350
253
  "it",
351
- "thisitthat"
254
+ "thisitthat",
255
+ false
352
256
  ],
353
257
  [
354
258
  "it",
355
- "toAble"
259
+ "toAble",
260
+ false
356
261
  ],
357
262
  [
358
263
  "lowest",
359
- "condition"
264
+ "condition",
265
+ false
360
266
  ],
361
267
  [
362
268
  "mathematical",
363
- "hierarchyAble"
269
+ "hierarchyAble",
270
+ false
364
271
  ],
365
272
  [
366
273
  "mathematical",
367
- "isEdee"
274
+ "isEdee",
275
+ false
368
276
  ],
369
277
  [
370
278
  "mathematical",
371
- "isEder"
279
+ "isEder",
280
+ false
372
281
  ],
373
282
  [
374
283
  "mathematical",
375
- "object"
284
+ "object",
285
+ false
376
286
  ],
377
287
  [
378
288
  "mathematical",
379
- "operator_modifier"
289
+ "operator_modifier",
290
+ false
380
291
  ],
381
292
  [
382
293
  "mathematical",
383
- "property"
294
+ "property",
295
+ false
384
296
  ],
385
297
  [
386
298
  "mathematical",
387
- "queryable"
299
+ "queryable",
300
+ false
388
301
  ],
389
302
  [
390
303
  "mathematical",
391
- "theAble"
304
+ "theAble",
305
+ false
392
306
  ],
393
307
  [
394
308
  "mathematicalExpression",
395
- "concept"
309
+ "concept",
310
+ false
396
311
  ],
397
312
  [
398
313
  "mathematicalExpression",
399
- "number"
314
+ "number",
315
+ false
400
316
  ],
401
317
  [
402
- "mathematicalOperator",
403
- "mathematicalOperator"
318
+ "mathematical_operator",
319
+ "adjective",
320
+ true
404
321
  ],
405
322
  [
406
323
  "mathematical_operator",
407
- "adjective"
324
+ "concept",
325
+ false
408
326
  ],
409
327
  [
410
328
  "mathematical_operator",
411
- "concept"
329
+ "hierarchyAble",
330
+ false
412
331
  ],
413
332
  [
414
333
  "mathematical_operator",
415
- "hierarchyAble"
334
+ "isEdee",
335
+ false
416
336
  ],
417
337
  [
418
338
  "mathematical_operator",
419
- "isEdee"
339
+ "isEder",
340
+ false
420
341
  ],
421
342
  [
422
343
  "mathematical_operator",
423
- "isEder"
344
+ "object",
345
+ false
424
346
  ],
425
347
  [
426
348
  "mathematical_operator",
427
- "object"
349
+ "operator",
350
+ false
428
351
  ],
429
352
  [
430
353
  "mathematical_operator",
431
- "operator"
354
+ "property",
355
+ false
432
356
  ],
433
357
  [
434
358
  "mathematical_operator",
435
- "property"
359
+ "queryable",
360
+ false
436
361
  ],
437
362
  [
438
363
  "mathematical_operator",
439
- "queryable"
364
+ "theAble",
365
+ false
440
366
  ],
441
367
  [
442
- "mathematical_operator",
443
- "theAble"
368
+ "memorable",
369
+ "theAble",
370
+ false
444
371
  ],
445
372
  [
446
373
  "minusExpression",
447
- "mathematicalExpression"
374
+ "mathematicalExpression",
375
+ false
448
376
  ],
449
377
  [
450
378
  "minusOperator",
451
- "mathematicalOperator"
379
+ "mathematical_operator",
380
+ false
452
381
  ],
453
382
  [
454
383
  "modifies",
455
- "verby"
456
- ],
457
- [
458
- "notAble",
459
- "notAble"
384
+ "verby",
385
+ false
460
386
  ],
461
387
  [
462
388
  "noun",
463
- "theAble"
389
+ "theAble",
390
+ false
464
391
  ],
465
392
  [
466
393
  "number",
467
- "quantifier"
394
+ "quantifier",
395
+ false
468
396
  ],
469
397
  [
470
398
  "number",
471
- "queryable"
399
+ "queryable",
400
+ false
472
401
  ],
473
402
  [
474
403
  "object",
475
- "queryable"
404
+ "queryable",
405
+ false
476
406
  ],
477
407
  [
478
408
  "object",
479
- "theAble"
409
+ "theAble",
410
+ false
480
411
  ],
481
412
  [
482
413
  "operator",
483
- "concept"
414
+ "concept",
415
+ false
484
416
  ],
485
417
  [
486
418
  "operator",
487
- "hierarchyAble"
419
+ "hierarchyAble",
420
+ false
488
421
  ],
489
422
  [
490
423
  "operator",
491
- "isEdee"
424
+ "isEdee",
425
+ false
492
426
  ],
493
427
  [
494
428
  "operator",
495
- "isEder"
429
+ "isEder",
430
+ false
496
431
  ],
497
432
  [
498
433
  "operator",
499
- "object"
434
+ "object",
435
+ false
500
436
  ],
501
437
  [
502
438
  "operator",
503
- "property"
439
+ "property",
440
+ false
504
441
  ],
505
442
  [
506
443
  "operator",
507
- "queryable"
444
+ "queryable",
445
+ false
508
446
  ],
509
447
  [
510
448
  "operator",
511
- "theAble"
449
+ "theAble",
450
+ false
512
451
  ],
513
452
  [
514
453
  "operator_modifier",
515
- "operator_modifier"
454
+ "operator_modifier",
455
+ false
516
456
  ],
517
457
  [
518
458
  "orAble",
519
- "ifAble"
459
+ "ifAble",
460
+ false
520
461
  ],
521
462
  [
522
463
  "plusExpression",
523
- "mathematicalExpression"
464
+ "mathematicalExpression",
465
+ false
524
466
  ],
525
467
  [
526
468
  "plusOperator",
527
- "mathematicalOperator"
469
+ "mathematical_operator",
470
+ false
528
471
  ],
529
472
  [
530
473
  "preposition",
531
- "preposition"
474
+ "preposition",
475
+ false
532
476
  ],
533
477
  [
534
478
  "pronoun",
535
- "pronoun"
479
+ "pronoun",
480
+ false
536
481
  ],
537
482
  [
538
483
  "property",
539
- "queryable"
484
+ "queryable",
485
+ false
540
486
  ],
541
487
  [
542
488
  "property",
543
- "theAble"
489
+ "theAble",
490
+ false
544
491
  ],
545
492
  [
546
493
  "property",
547
- "unknown"
494
+ "unknown",
495
+ false
548
496
  ],
549
497
  [
550
498
  "punctuation",
551
- "punctuation"
499
+ "punctuation",
500
+ false
552
501
  ],
553
502
  [
554
503
  "quantifier",
555
- "quantifier"
504
+ "quantifier",
505
+ false
556
506
  ],
557
507
  [
558
508
  "queryable",
559
- "queryable"
509
+ "queryable",
510
+ false
560
511
  ],
561
512
  [
562
513
  "questionMark",
563
- "punctuation"
514
+ "punctuation",
515
+ false
564
516
  ],
565
517
  [
566
518
  "readonly",
567
- "queryable"
519
+ "queryable",
520
+ false
568
521
  ],
569
522
  [
570
523
  "reason",
571
- "queryable"
524
+ "queryable",
525
+ false
572
526
  ],
573
527
  [
574
528
  "reason",
575
- "theAble"
529
+ "theAble",
530
+ false
531
+ ],
532
+ [
533
+ "remember",
534
+ "verby",
535
+ false
536
+ ],
537
+ [
538
+ "stm_before",
539
+ "adjective",
540
+ false
576
541
  ],
577
542
  [
578
543
  "that",
579
- "thisitthat"
544
+ "thisitthat",
545
+ false
580
546
  ],
581
547
  [
582
548
  "the",
583
- "articlePOS"
549
+ "articlePOS",
550
+ false
584
551
  ],
585
552
  [
586
553
  "theAble",
587
- "theAble"
554
+ "theAble",
555
+ false
588
556
  ],
589
557
  [
590
558
  "this",
591
- "pronoun"
559
+ "pronoun",
560
+ false
592
561
  ],
593
562
  [
594
563
  "this",
595
- "queryable"
564
+ "queryable",
565
+ false
596
566
  ],
597
567
  [
598
568
  "this",
599
- "thisitthat"
569
+ "thisitthat",
570
+ false
600
571
  ],
601
572
  [
602
573
  "thisitthat",
603
- "queryable"
574
+ "queryable",
575
+ false
604
576
  ],
605
577
  [
606
578
  "timesExpression",
607
- "mathematicalExpression"
579
+ "mathematicalExpression",
580
+ false
608
581
  ],
609
582
  [
610
583
  "timesOperator",
611
- "mathematicalOperator"
584
+ "mathematical_operator",
585
+ false
612
586
  ],
613
587
  [
614
588
  "to",
615
- "preposition"
589
+ "preposition",
590
+ false
616
591
  ],
617
592
  [
618
593
  "toAble",
619
- "toAble"
594
+ "toAble",
595
+ false
620
596
  ],
621
597
  [
622
598
  "type",
623
- "property"
599
+ "property",
600
+ false
624
601
  ],
625
602
  [
626
603
  "type",
627
- "whatAble"
628
- ],
629
- [
630
- "unknown",
631
- "hierarchyAble"
604
+ "whatAble",
605
+ false
632
606
  ],
633
607
  [
634
608
  "unknown",
635
- "notAble"
609
+ "hierarchyAble",
610
+ false
636
611
  ],
637
612
  [
638
613
  "unknown",
639
- "object"
614
+ "object",
615
+ false
640
616
  ],
641
617
  [
642
618
  "unknown",
643
- "queryable"
619
+ "queryable",
620
+ false
644
621
  ],
645
622
  [
646
623
  "unknown",
647
- "theAble"
624
+ "theAble",
625
+ false
648
626
  ],
649
627
  [
650
628
  "verby",
651
- "verby"
629
+ "verby",
630
+ false
652
631
  ],
653
632
  [
654
633
  "what",
655
- "object"
634
+ "object",
635
+ false
656
636
  ],
657
637
  [
658
638
  "what",
659
- "queryable"
639
+ "queryable",
640
+ false
660
641
  ],
661
642
  [
662
643
  "whatAble",
663
- "queryable"
644
+ "queryable",
645
+ false
664
646
  ],
665
647
  [
666
648
  "whose",
667
- "object"
649
+ "object",
650
+ false
668
651
  ],
669
652
  [
670
653
  "x",
671
- "number"
654
+ "number",
655
+ false
672
656
  ],
673
657
  [
674
658
  "xfx",
675
- "queryable"
659
+ "queryable",
660
+ false
676
661
  ],
677
662
  [
678
663
  "y",
679
- "number"
664
+ "number",
665
+ false
680
666
  ]
681
667
  ],
682
668
  "metadata": {
@@ -867,7 +853,7 @@
867
853
  {
868
854
  "context": [
869
855
  [
870
- "mathematicalOperator",
856
+ "mathematical_operator",
871
857
  0
872
858
  ],
873
859
  [
@@ -882,12 +868,12 @@
882
868
  ],
883
869
  "semantics": [
884
870
  {
885
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:109"
871
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5"
886
872
  }
887
873
  ],
888
874
  "bridges": [
889
875
  {
890
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:120",
876
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
891
877
  "id": "formulaForVariable",
892
878
  "isA": [
893
879
  "preposition",
@@ -897,7 +883,7 @@
897
883
  "bridge": "{ number: before[0].number, ...next(operator), what: before[0], equality: after[0], variable: after[1] }"
898
884
  },
899
885
  {
900
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:132",
886
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
901
887
  "id": "solve",
902
888
  "bridge": "{ ...next(operator), equality: after[0], variable: after[2] }"
903
889
  },
@@ -921,7 +907,7 @@
921
907
  ]
922
908
  },
923
909
  {
924
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:159",
910
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
925
911
  "id": "calculate",
926
912
  "isA": [
927
913
  "verby"
@@ -935,14 +921,14 @@
935
921
  ]
936
922
  },
937
923
  {
938
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:171",
924
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
939
925
  "id": "equals",
940
926
  "bridge": "{ ...next(operator), left: before[0], right: after[0] }",
941
927
  "words": [
942
928
  "="
943
929
  ],
944
930
  "after": [
945
- "mathematicalOperator"
931
+ "mathematical_operator"
946
932
  ],
947
933
  "localHierarchy": [
948
934
  [