parseman 0.59.2 → 0.59.3

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 (66) hide show
  1. package/dist/analysis/commitment.d.ts +1 -1
  2. package/dist/analysis/diagnostics.js +4 -4
  3. package/dist/analysis/diagnostics.js.map +1 -1
  4. package/dist/cli/index.js +4 -4
  5. package/dist/cli/index.js.map +1 -1
  6. package/dist/combinators/completions.d.ts +3 -3
  7. package/dist/combinators/completions.d.ts.map +1 -1
  8. package/dist/combinators/gate.d.ts +1 -1
  9. package/dist/compiler/compile-linkable-table.d.ts +2 -3
  10. package/dist/compiler/compile-linkable-table.d.ts.map +1 -1
  11. package/dist/compiler/linker.d.ts.map +1 -1
  12. package/dist/cst/host-mode.d.ts +1 -1
  13. package/dist/cst/root-trivia-scope.d.ts +1 -1
  14. package/dist/index.js +4 -4
  15. package/dist/index.js.map +1 -1
  16. package/dist/language-service/index.d.ts +1 -1
  17. package/dist/language-service/index.js.map +1 -1
  18. package/dist/plugin/entry-supercompiler.d.ts.map +1 -1
  19. package/dist/plugin/index.d.ts +3 -7
  20. package/dist/plugin/index.d.ts.map +1 -1
  21. package/dist/plugin/index.js +4 -4
  22. package/dist/plugin/index.js.map +1 -1
  23. package/dist/spec/index.js.map +1 -1
  24. package/dist/table/assemble.d.ts +2 -3
  25. package/dist/table/assemble.d.ts.map +1 -1
  26. package/dist/table/compile-rule-map.d.ts +3 -2
  27. package/dist/table/compile-rule-map.d.ts.map +1 -1
  28. package/dist/table/compile.d.ts +2 -2
  29. package/dist/table/emit.d.ts +4 -5
  30. package/dist/table/emit.d.ts.map +1 -1
  31. package/dist/table/encode.d.ts +6 -7
  32. package/dist/table/encode.d.ts.map +1 -1
  33. package/dist/table/exec.d.ts.map +1 -1
  34. package/dist/table/index.js +4 -4
  35. package/dist/table/index.js.map +1 -1
  36. package/dist/table/ops.d.ts +14 -14
  37. package/dist/table/program.d.ts +7 -7
  38. package/dist/types.d.ts +1 -1
  39. package/dist/version.d.ts +6 -6
  40. package/package.json +1 -1
  41. package/src/analysis/commitment.ts +1 -1
  42. package/src/analysis/terminal.ts +1 -1
  43. package/src/combinators/choice.ts +1 -1
  44. package/src/combinators/completions.ts +3 -3
  45. package/src/combinators/gate.ts +1 -1
  46. package/src/compiler/compile-linkable-table.ts +2 -3
  47. package/src/compiler/degradation.ts +2 -2
  48. package/src/compiler/linker.ts +5 -3
  49. package/src/cst/capture-buffer.ts +2 -2
  50. package/src/cst/host-mode.ts +1 -1
  51. package/src/cst/root-trivia-scope.ts +1 -1
  52. package/src/language-service/index.ts +1 -1
  53. package/src/plugin/entry-supercompiler.ts +2 -1
  54. package/src/plugin/index.ts +11 -16
  55. package/src/table/assemble.ts +9 -10
  56. package/src/table/compile-rule-map.ts +4 -3
  57. package/src/table/compile.ts +3 -3
  58. package/src/table/emit-assembly.ts +4 -4
  59. package/src/table/emit.ts +13 -14
  60. package/src/table/encode.ts +14 -15
  61. package/src/table/exec.ts +4 -5
  62. package/src/table/ops.ts +14 -14
  63. package/src/table/program.ts +7 -7
  64. package/src/table/stamp.ts +1 -1
  65. package/src/types.ts +1 -1
  66. package/src/version.ts +6 -6
@@ -99,7 +99,7 @@ export declare function hasNodeDef(p: Combinator<unknown>, seen?: Set<Combinator
99
99
  *
100
100
  * It belongs in THIS module for the reason stated at the top of it: both lowerings
101
101
  * must reach the same answer, and a stamp they disagree about is a driver that
102
- * accepts a host it should refuse. It previously lived in `compiler/codegen.ts`,
102
+ * accepts a host it should refuse. It previously lived in the source lowering,
103
103
  * which forced `table/compile-rule-map.ts` to import the engine the table replaced.
104
104
  *
105
105
  * The descent mirrors the source lowering's own `childrenOf` exactly — including a
@@ -7463,8 +7463,8 @@ var Encoder = class {
7463
7463
  /**
7464
7464
  * The class of the follow set of term `i` in a sequence — the sync sentinel a
7465
7465
  * list nested in that term resyncs to, INFERRED from structure exactly as
7466
- * `sequence()` (combinators/sequence.ts:58) and `emitSeqValues`
7467
- * (compiler/codegen.ts:1756) infer it: the union of every LATER term's first
7466
+ * `sequence()` (combinators/sequence.ts:58) and the source
7467
+ * lowering's `emitSeqValues` infer it: the union of every LATER term's first
7468
7468
  * set, not merely up to the first non-nullable one, so a mandatory middle term
7469
7469
  * cannot hide a later close. −1 where there is no usable sentinel, which is the
7470
7470
  * same set of cases `firstSetSentinel` answers `null` for.
@@ -8255,7 +8255,7 @@ var Encoder = class {
8255
8255
  }
8256
8256
  // A LABEL IS A ROW — see `OP_LABEL`. It replaces the child's expected set,
8257
8257
  // which is the entire combinator.
8258
- // A LABEL IS CREDITED ON SUCCESS, as `codegen.ts:4530` credits it: its hook
8258
+ // A LABEL IS CREDITED ON SUCCESS, as the source lowering credited it: its hook
8259
8259
  // is emitted AFTER the child's statements, where a failed child has already
8260
8260
  // broken out of the labelled block.
8261
8261
  case "label":
@@ -16383,7 +16383,7 @@ function tableRules(source, metadataOrEntry = {}) {
16383
16383
  }
16384
16384
 
16385
16385
  // src/version.ts
16386
- var PARSEMAN_VERSION = "0.59.2";
16386
+ var PARSEMAN_VERSION = "0.59.3";
16387
16387
 
16388
16388
  // src/table/emit.ts
16389
16389
  var FACTORY_ARITY_GUARD = `if(arguments.length<${EMITTED_PARAMS.length})throw new Error(${JSON.stringify(`parseman: this parser was printed by parseman ${PARSEMAN_VERSION}; upgrade the parseman runtime to at least that version`)});`;