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
package/dist/cli/index.js CHANGED
@@ -7608,8 +7608,8 @@ var Encoder = class {
7608
7608
  /**
7609
7609
  * The class of the follow set of term `i` in a sequence — the sync sentinel a
7610
7610
  * list nested in that term resyncs to, INFERRED from structure exactly as
7611
- * `sequence()` (combinators/sequence.ts:58) and `emitSeqValues`
7612
- * (compiler/codegen.ts:1756) infer it: the union of every LATER term's first
7611
+ * `sequence()` (combinators/sequence.ts:58) and the source
7612
+ * lowering's `emitSeqValues` infer it: the union of every LATER term's first
7613
7613
  * set, not merely up to the first non-nullable one, so a mandatory middle term
7614
7614
  * cannot hide a later close. −1 where there is no usable sentinel, which is the
7615
7615
  * same set of cases `firstSetSentinel` answers `null` for.
@@ -8400,7 +8400,7 @@ var Encoder = class {
8400
8400
  }
8401
8401
  // A LABEL IS A ROW — see `OP_LABEL`. It replaces the child's expected set,
8402
8402
  // which is the entire combinator.
8403
- // A LABEL IS CREDITED ON SUCCESS, as `codegen.ts:4530` credits it: its hook
8403
+ // A LABEL IS CREDITED ON SUCCESS, as the source lowering credited it: its hook
8404
8404
  // is emitted AFTER the child's statements, where a failed child has already
8405
8405
  // broken out of the labelled block.
8406
8406
  case "label":
@@ -16524,7 +16524,7 @@ function tableRules(source, metadataOrEntry = {}) {
16524
16524
  }
16525
16525
 
16526
16526
  // src/version.ts
16527
- var PARSEMAN_VERSION = "0.59.2";
16527
+ var PARSEMAN_VERSION = "0.59.3";
16528
16528
 
16529
16529
  // src/table/emit.ts
16530
16530
  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`)});`;