ekms 8.1.0 → 8.3.0-beta.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.
Files changed (44) hide show
  1. package/common/animals.instance.json +65 -13
  2. package/common/colors.instance.json +195 -14
  3. package/common/comparable.instance.json +18 -3
  4. package/common/concept.test.json +688 -0
  5. package/common/countable.test.json +664 -317
  6. package/common/crew.instance.json +27 -569
  7. package/common/dialogues.js +11 -4
  8. package/common/dimension.instance.json +15 -1
  9. package/common/edible.instance.json +334 -32
  10. package/common/edible.test.json +860 -316
  11. package/common/emotions.instance.json +1 -61
  12. package/common/fastfood.instance.json +902 -506
  13. package/common/fastfood.test.json +20879 -15283
  14. package/common/formulas.instance.json +6 -1
  15. package/common/formulas.test.json +5242 -1930
  16. package/common/gdefaults.js +14 -8
  17. package/common/helpers/concept.js +8 -4
  18. package/common/helpers/properties.js +20 -8
  19. package/common/hierarchy.js +1 -0
  20. package/common/kirk.instance.json +1 -6
  21. package/common/length.instance.json +334 -262
  22. package/common/math.instance.json +6 -1
  23. package/common/numbers.js +34 -27
  24. package/common/numbers.test.json +73 -18
  25. package/common/ordering.instance.json +12 -3
  26. package/common/ordinals.js +1 -0
  27. package/common/ordinals.test.json +106 -0
  28. package/common/people.instance.json +66 -284
  29. package/common/people.test.json +1815 -1073
  30. package/common/percentages.js +1 -0
  31. package/common/percentages.test.json +37 -37
  32. package/common/pipboy.instance.json +290 -27
  33. package/common/pokemon.instance.json +30 -13
  34. package/common/pressure.instance.json +150 -97
  35. package/common/properties.instance.json +1 -1
  36. package/common/properties.js +8 -0
  37. package/common/reports.instance.json +21 -1
  38. package/common/scorekeeper.test.json +3563 -2096
  39. package/common/spock.instance.json +1 -6
  40. package/common/temperature.instance.json +206 -149
  41. package/common/ui.instance.json +6 -1
  42. package/common/ui.js +1 -0
  43. package/common/weight.instance.json +309 -224
  44. package/package.json +2 -2
@@ -48,6 +48,9 @@ let config = {
48
48
  "([is:queryBridge|] ([queryable]) ([queryable]))",
49
49
  // "(([queryable]) [is:isEdBridge|is,are] ([isEdAble|]))",
50
50
  "(([queryable]) [(<isEd|> ([isEdAble|]))])",
51
+ "(([isEdee])^ <isEdAble|> ([by] ([isEder])?))",
52
+ "([isEdee|])",
53
+ "([isEder|])",
51
54
 
52
55
  // "([nevermind])",
53
56
  // { pattern: "([nevermindTestSetup] (allowed))", development: true },
@@ -78,9 +81,6 @@ let config = {
78
81
  //"arm them, what, the phasers"
79
82
  //greg is a first name
80
83
  "([yesno|])",
81
- "(([isEdee])^ <isEdAble|> ([by] ([isEder])?))",
82
- "([isEdee|])",
83
- "([isEder|])",
84
84
  { pattern: "([debug23])" },
85
85
 
86
86
  "([to] ([toAble|]))",
@@ -128,7 +128,13 @@ let config = {
128
128
  }
129
129
  },
130
130
 
131
- { id: "by", level: 0, bridge: "{ ...next(operator), object: after[0] }", optional: { 1: "{ marker: 'unknown', implicit: true, concept: true }", }, },
131
+ {
132
+ id: "by",
133
+ level: 0,
134
+ bridge: "{ ...next(operator), object: after[0] }",
135
+ localHierarchy: [['unknown', 'isEder']],
136
+ optional: { 1: "{ marker: 'unknown', implicit: true, concept: true }", },
137
+ },
132
138
 
133
139
  { id: "debug23", level: 0, bridge: "{ ...next(operator) }" },
134
140
  // { id: "what", level: 0, bridge: "{ ...next(operator), ...after[0], query: ['what'], determined: true }" },
@@ -326,6 +332,7 @@ let config = {
326
332
  ['a', 'articlePOS'],
327
333
  ['the', 'articlePOS'],
328
334
  ['unknown', 'theAble'],
335
+ ['theAble', 'queryable'],
329
336
  ['unknown', 'queryable'],
330
337
  ['it', 'queryable'],
331
338
  ['what', 'queryable'],
@@ -372,6 +372,11 @@
372
372
  "ifAble",
373
373
  false
374
374
  ],
375
+ [
376
+ "integer",
377
+ "number",
378
+ false
379
+ ],
375
380
  [
376
381
  "is",
377
382
  "canBeQuestion",
@@ -849,7 +854,7 @@
849
854
  ],
850
855
  [
851
856
  "theAble",
852
- "theAble",
857
+ "queryable",
853
858
  false
854
859
  ],
855
860
  [
@@ -1103,6 +1108,7 @@
1103
1108
  },
1104
1109
  "types": [
1105
1110
  "list",
1111
+ "queryable",
1106
1112
  "unknown"
1107
1113
  ],
1108
1114
  "listable": true,
@@ -1118,6 +1124,10 @@
1118
1124
  "start": 0,
1119
1125
  "end": 8
1120
1126
  },
1127
+ "types": [
1128
+ "queryable",
1129
+ "unknown"
1130
+ ],
1121
1131
  "dead": true,
1122
1132
  "level": 1
1123
1133
  },
@@ -1131,6 +1141,10 @@
1131
1141
  "start": 14,
1132
1142
  "end": 17
1133
1143
  },
1144
+ "types": [
1145
+ "queryable",
1146
+ "unknown"
1147
+ ],
1134
1148
  "dead": true,
1135
1149
  "level": 1
1136
1150
  }