ekms 8.9.1-beta.27 → 8.9.1-beta.28

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 (108) hide show
  1. package/common/animals.instance.json +6427 -714
  2. package/common/articles.js +4 -7
  3. package/common/articles.test.json +268 -136
  4. package/common/asking.test.json +1504 -798
  5. package/common/avatar.js +8 -0
  6. package/common/avatar.test.json +3292 -1852
  7. package/common/characters.test.json +962 -464
  8. package/common/colors.instance.json +22950 -1756
  9. package/common/colors.test.json +140 -68
  10. package/common/comparable.instance.json +1279 -149
  11. package/common/comparable.js +11 -11
  12. package/common/comparable.test.json +455 -230
  13. package/common/concept.js +9 -1
  14. package/common/concept.test.json +2023 -928
  15. package/common/conjunction.js +12 -0
  16. package/common/conjunction.test.json +219 -102
  17. package/common/countable.test.json +906 -444
  18. package/common/crew.instance.json +18796 -2069
  19. package/common/crew.js +19 -0
  20. package/common/crew.test.json +7104 -3435
  21. package/common/currency.js +0 -1
  22. package/common/currency.test.json +753 -369
  23. package/common/dialogues.js +74 -27
  24. package/common/dialogues.test.json +4225 -1915
  25. package/common/dimension.instance.json +744 -112
  26. package/common/dimension.js +16 -2
  27. package/common/dimension.test.json +10410 -4721
  28. package/common/edible.instance.json +21412 -2527
  29. package/common/edible.js +13 -0
  30. package/common/edible.test.json +1033 -487
  31. package/common/emotions.instance.json +2269 -254
  32. package/common/emotions.js +10 -2
  33. package/common/emotions.test.json +928 -403
  34. package/common/errors.test.json +77 -38
  35. package/common/evaluate.test.json +43 -22
  36. package/common/events.test.json +453 -210
  37. package/common/fastfood.instance.json +80935 -9140
  38. package/common/fastfood.js +83 -2
  39. package/common/fastfood.test.json +37703 -20376
  40. package/common/formulas.instance.json +309 -53
  41. package/common/formulas.test.json +6286 -3094
  42. package/common/help.test.json +272 -128
  43. package/common/helpers/concept.js +1 -0
  44. package/common/helpers/properties.js +1 -27
  45. package/common/hierarchy.js +9 -0
  46. package/common/hierarchy.test.json +21532 -10628
  47. package/common/javascript.test.json +185 -86
  48. package/common/kirk.instance.json +302 -3
  49. package/common/kirk.test.json +621 -285
  50. package/common/length.instance.json +9630 -697
  51. package/common/length.test.json +3359 -1737
  52. package/common/listener.test.json +33 -18
  53. package/common/math.instance.json +278 -52
  54. package/common/math.test.json +22940 -13876
  55. package/common/meta.instance.json +1 -0
  56. package/common/meta.js +8 -8
  57. package/common/meta.test.json +584 -272
  58. package/common/nameable.test.json +1800 -843
  59. package/common/negation.test.json +114 -60
  60. package/common/numbers.test.json +198 -108
  61. package/common/ordering.instance.json +3848 -541
  62. package/common/ordering.test.json +1158 -540
  63. package/common/ordinals.js +7 -1
  64. package/common/ordinals.test.json +256 -136
  65. package/common/people.instance.json +3803 -537
  66. package/common/people.js +0 -14
  67. package/common/people.test.json +14361 -7176
  68. package/common/percentages.test.json +289 -134
  69. package/common/pipboy.instance.json +13187 -1238
  70. package/common/pipboy.js +22 -41
  71. package/common/pipboy.test.json +5598 -2688
  72. package/common/pokemon.instance.json +5930 -660
  73. package/common/pokemon.test.json +975 -453
  74. package/common/pressure.instance.json +2589 -286
  75. package/common/pressure.test.json +991 -445
  76. package/common/properties.instance.json +887 -80
  77. package/common/properties.js +13 -22
  78. package/common/properties.test.json +20521 -9542
  79. package/common/punctuation.test.json +305 -146
  80. package/common/reports.instance.json +965 -108
  81. package/common/reports.js +7 -0
  82. package/common/reports.test.json +13247 -6426
  83. package/common/scorekeeper.instance.json +1 -0
  84. package/common/scorekeeper.js +17 -7
  85. package/common/scorekeeper.test.json +26256 -11598
  86. package/common/sizeable.test.json +455 -230
  87. package/common/spock.instance.json +302 -3
  88. package/common/spock.test.json +621 -285
  89. package/common/stgame.test.json +962 -464
  90. package/common/stm.test.json +755 -374
  91. package/common/tell.test.json +195 -90
  92. package/common/temperature.instance.json +5940 -285
  93. package/common/temperature.test.json +990 -444
  94. package/common/testing.test.json +67 -34
  95. package/common/time.test.json +2386 -1066
  96. package/common/tokenize.js +3 -2
  97. package/common/tokenize.test.json +33 -18
  98. package/common/ui.instance.json +123 -21
  99. package/common/ui.js +0 -16
  100. package/common/ui.test.json +612 -312
  101. package/common/weight.instance.json +9798 -680
  102. package/common/weight.js +10 -0
  103. package/common/weight.test.json +6185 -2711
  104. package/common/wp.instance.json +13555 -1583
  105. package/common/wp.js +11 -6
  106. package/common/wp.test.json +27299 -13463
  107. package/common/yesno.test.json +132 -72
  108. package/package.json +2 -2
@@ -9,11 +9,23 @@ const config = {
9
9
  operators: [
10
10
  "(x [list|and] y)",
11
11
  ],
12
+ associations: {
13
+ positive: [
14
+ { context: [['listable', 0], ['list', 0], ['listable', 0]], choose: 0 },
15
+ { context: [['listable', 1], ['list', 0], ['listable', 0]], choose: 0 },
16
+ { context: [['listable', 1], ['list', 0], ['listable', 1]], choose: 0 },
17
+ ]
18
+ },
12
19
  bridges: [
13
20
  // context.instance == variables.instance (unification)
14
21
  {
15
22
  id: "list",
16
23
  level: 0,
24
+ /*
25
+ localHierarchy: [
26
+ ['unknown', 'listable'],
27
+ ],
28
+ */
17
29
  selector: {
18
30
  match: "same",
19
31
  left: [ { pattern: '($type && context.instance == variables.instance)' } ],
@@ -320,114 +320,231 @@
320
320
  ""
321
321
  ],
322
322
  "summaries": [
323
- [
324
- {
325
- "counter": 1,
326
- "operators": [
327
- [
328
- "unknown",
329
- 0
330
- ],
331
- [
332
- "unknown",
333
- 0
334
- ],
335
- [
336
- "list",
337
- 0
338
- ],
339
- [
340
- "unknown",
341
- 0
323
+ {
324
+ "length": 1,
325
+ "summaries": [
326
+ {
327
+ "counter": 1,
328
+ "operators": [
329
+ {
330
+ "marker": [
331
+ "unknown",
332
+ 0
333
+ ],
334
+ "range": {
335
+ "end": 0,
336
+ "start": 0
337
+ }
338
+ },
339
+ {
340
+ "marker": [
341
+ "unknown",
342
+ 0
343
+ ],
344
+ "range": {
345
+ "end": 2,
346
+ "start": 2
347
+ }
348
+ },
349
+ {
350
+ "marker": [
351
+ "list",
352
+ 0
353
+ ],
354
+ "range": {
355
+ "end": 6,
356
+ "start": 4
357
+ }
358
+ },
359
+ {
360
+ "marker": [
361
+ "unknown",
362
+ 0
363
+ ],
364
+ "range": {
365
+ "end": 8,
366
+ "start": 8
367
+ }
368
+ }
342
369
  ]
343
- ]
344
- },
345
- {
346
- "counter": 2,
347
- "operators": [
348
- [
349
- "unknown",
350
- 1
351
- ],
352
- [
353
- "unknown",
354
- 0
355
- ],
356
- [
357
- "list",
358
- 0
359
- ],
360
- [
361
- "unknown",
362
- 0
370
+ },
371
+ {
372
+ "counter": 2,
373
+ "operators": [
374
+ {
375
+ "marker": [
376
+ "unknown",
377
+ 1
378
+ ],
379
+ "range": {
380
+ "end": 0,
381
+ "start": 0
382
+ }
383
+ },
384
+ {
385
+ "marker": [
386
+ "unknown",
387
+ 0
388
+ ],
389
+ "range": {
390
+ "end": 2,
391
+ "start": 2
392
+ }
393
+ },
394
+ {
395
+ "marker": [
396
+ "list",
397
+ 0
398
+ ],
399
+ "range": {
400
+ "end": 6,
401
+ "start": 4
402
+ }
403
+ },
404
+ {
405
+ "marker": [
406
+ "unknown",
407
+ 0
408
+ ],
409
+ "range": {
410
+ "end": 8,
411
+ "start": 8
412
+ }
413
+ }
363
414
  ]
364
- ]
365
- },
366
- {
367
- "counter": 3,
368
- "operators": [
369
- [
370
- "unknown",
371
- 1
372
- ],
373
- [
374
- "unknown",
375
- 1
376
- ],
377
- [
378
- "list",
379
- 0
380
- ],
381
- [
382
- "unknown",
383
- 0
415
+ },
416
+ {
417
+ "counter": 3,
418
+ "operators": [
419
+ {
420
+ "marker": [
421
+ "unknown",
422
+ 1
423
+ ],
424
+ "range": {
425
+ "end": 0,
426
+ "start": 0
427
+ }
428
+ },
429
+ {
430
+ "marker": [
431
+ "unknown",
432
+ 1
433
+ ],
434
+ "range": {
435
+ "end": 2,
436
+ "start": 2
437
+ }
438
+ },
439
+ {
440
+ "marker": [
441
+ "list",
442
+ 0
443
+ ],
444
+ "range": {
445
+ "end": 6,
446
+ "start": 4
447
+ }
448
+ },
449
+ {
450
+ "marker": [
451
+ "unknown",
452
+ 0
453
+ ],
454
+ "range": {
455
+ "end": 8,
456
+ "start": 8
457
+ }
458
+ }
384
459
  ]
385
- ]
386
- },
387
- {
388
- "counter": 4,
389
- "operators": [
390
- [
391
- "unknown",
392
- 1
393
- ],
394
- [
395
- "unknown",
396
- 1
397
- ],
398
- [
399
- "list",
400
- 0
401
- ],
402
- [
403
- "unknown",
404
- 1
460
+ },
461
+ {
462
+ "counter": 4,
463
+ "operators": [
464
+ {
465
+ "marker": [
466
+ "unknown",
467
+ 1
468
+ ],
469
+ "range": {
470
+ "end": 0,
471
+ "start": 0
472
+ }
473
+ },
474
+ {
475
+ "marker": [
476
+ "unknown",
477
+ 1
478
+ ],
479
+ "range": {
480
+ "end": 2,
481
+ "start": 2
482
+ }
483
+ },
484
+ {
485
+ "marker": [
486
+ "list",
487
+ 0
488
+ ],
489
+ "range": {
490
+ "end": 6,
491
+ "start": 4
492
+ }
493
+ },
494
+ {
495
+ "marker": [
496
+ "unknown",
497
+ 1
498
+ ],
499
+ "range": {
500
+ "end": 8,
501
+ "start": 8
502
+ }
503
+ }
405
504
  ]
406
- ]
407
- },
408
- {
409
- "counter": 5,
410
- "operators": [
411
- [
412
- "unknown",
413
- 1
414
- ],
415
- [
416
- "list",
417
- 1
505
+ },
506
+ {
507
+ "counter": 5,
508
+ "operators": [
509
+ {
510
+ "marker": [
511
+ "unknown",
512
+ 1
513
+ ],
514
+ "range": {
515
+ "end": 0,
516
+ "start": 0
517
+ }
518
+ },
519
+ {
520
+ "marker": [
521
+ "list",
522
+ 1
523
+ ],
524
+ "range": {
525
+ "end": 8,
526
+ "start": 2
527
+ }
528
+ }
418
529
  ]
419
- ]
420
- },
421
- {
422
- "counter": 6,
423
- "operators": [
424
- [
425
- "list",
426
- 1
530
+ },
531
+ {
532
+ "counter": 6,
533
+ "operators": [
534
+ {
535
+ "marker": [
536
+ "list",
537
+ 1
538
+ ],
539
+ "range": {
540
+ "end": 8,
541
+ "start": 0
542
+ }
543
+ }
427
544
  ]
428
- ]
429
- }
430
- ]
545
+ }
546
+ ]
547
+ }
431
548
  ]
432
549
  }
433
550
  ]