@cotal-ai/lang 0.23.0 → 0.25.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 (101) hide show
  1. package/README.md +68 -0
  2. package/dist/effects.d.ts +19 -0
  3. package/dist/effects.d.ts.map +1 -1
  4. package/dist/effects.js +23 -0
  5. package/dist/effects.js.map +1 -1
  6. package/dist/engine/bridge.d.ts +71 -0
  7. package/dist/engine/bridge.d.ts.map +1 -0
  8. package/dist/engine/bridge.js +277 -0
  9. package/dist/engine/bridge.js.map +1 -0
  10. package/dist/engine/ctx.d.ts +140 -0
  11. package/dist/engine/ctx.d.ts.map +1 -0
  12. package/dist/engine/ctx.js +834 -0
  13. package/dist/engine/ctx.js.map +1 -0
  14. package/dist/engine/frame.d.ts +69 -0
  15. package/dist/engine/frame.d.ts.map +1 -0
  16. package/dist/engine/frame.js +105 -0
  17. package/dist/engine/frame.js.map +1 -0
  18. package/dist/engine/host.d.ts +77 -0
  19. package/dist/engine/host.d.ts.map +1 -0
  20. package/dist/engine/host.js +134 -0
  21. package/dist/engine/host.js.map +1 -0
  22. package/dist/engine/worker-entry.d.ts +26 -0
  23. package/dist/engine/worker-entry.d.ts.map +1 -0
  24. package/dist/engine/worker-entry.js +175 -0
  25. package/dist/engine/worker-entry.js.map +1 -0
  26. package/dist/engine/worker.d.ts +156 -0
  27. package/dist/engine/worker.d.ts.map +1 -0
  28. package/dist/engine/worker.js +123 -0
  29. package/dist/engine/worker.js.map +1 -0
  30. package/dist/errors.d.ts +92 -2
  31. package/dist/errors.d.ts.map +1 -1
  32. package/dist/errors.js +187 -2
  33. package/dist/errors.js.map +1 -1
  34. package/dist/grammar.d.ts.map +1 -1
  35. package/dist/grammar.js +561 -128
  36. package/dist/grammar.js.map +1 -1
  37. package/dist/index.d.ts +19 -6
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +19 -6
  40. package/dist/index.js.map +1 -1
  41. package/dist/interpret.d.ts +59 -12
  42. package/dist/interpret.d.ts.map +1 -1
  43. package/dist/interpret.js +831 -613
  44. package/dist/interpret.js.map +1 -1
  45. package/dist/journal.d.ts +218 -9
  46. package/dist/journal.d.ts.map +1 -1
  47. package/dist/journal.js +306 -12
  48. package/dist/journal.js.map +1 -1
  49. package/dist/keys.d.ts +39 -1
  50. package/dist/keys.d.ts.map +1 -1
  51. package/dist/keys.js +61 -0
  52. package/dist/keys.js.map +1 -1
  53. package/dist/library.d.ts +65 -0
  54. package/dist/library.d.ts.map +1 -0
  55. package/dist/library.js +537 -0
  56. package/dist/library.js.map +1 -0
  57. package/dist/notify-fact.d.ts +8 -0
  58. package/dist/notify-fact.d.ts.map +1 -0
  59. package/dist/notify-fact.js +69 -0
  60. package/dist/notify-fact.js.map +1 -0
  61. package/dist/perform.d.ts +138 -0
  62. package/dist/perform.d.ts.map +1 -0
  63. package/dist/perform.js +1052 -0
  64. package/dist/perform.js.map +1 -0
  65. package/dist/pins.d.ts +102 -0
  66. package/dist/pins.d.ts.map +1 -0
  67. package/dist/pins.js +107 -0
  68. package/dist/pins.js.map +1 -0
  69. package/dist/primitives.d.ts +14 -0
  70. package/dist/primitives.d.ts.map +1 -1
  71. package/dist/primitives.js +45 -5
  72. package/dist/primitives.js.map +1 -1
  73. package/dist/sim.d.ts +24 -2
  74. package/dist/sim.d.ts.map +1 -1
  75. package/dist/sim.js +9 -1
  76. package/dist/sim.js.map +1 -1
  77. package/dist/syntax.d.ts +34 -0
  78. package/dist/syntax.d.ts.map +1 -0
  79. package/dist/syntax.js +178 -0
  80. package/dist/syntax.js.map +1 -0
  81. package/dist/transform/emit.d.ts +23 -0
  82. package/dist/transform/emit.d.ts.map +1 -0
  83. package/dist/transform/emit.js +934 -0
  84. package/dist/transform/emit.js.map +1 -0
  85. package/dist/transform/index.d.ts +34 -0
  86. package/dist/transform/index.d.ts.map +1 -0
  87. package/dist/transform/index.js +31 -0
  88. package/dist/transform/index.js.map +1 -0
  89. package/dist/transform/scope.d.ts +58 -0
  90. package/dist/transform/scope.d.ts.map +1 -0
  91. package/dist/transform/scope.js +500 -0
  92. package/dist/transform/scope.js.map +1 -0
  93. package/dist/transform/seam.d.ts +78 -0
  94. package/dist/transform/seam.d.ts.map +1 -0
  95. package/dist/transform/seam.js +111 -0
  96. package/dist/transform/seam.js.map +1 -0
  97. package/dist/values.d.ts +35 -1
  98. package/dist/values.d.ts.map +1 -1
  99. package/dist/values.js +0 -0
  100. package/dist/values.js.map +1 -1
  101. package/package.json +9 -4
package/dist/errors.js CHANGED
@@ -17,7 +17,10 @@ export const CATALOG = {
17
17
  L1005: "Forbidden syntax: generator",
18
18
  L1006: "Forbidden syntax: `eval` or `Function`",
19
19
  L1007: "Forbidden syntax: regular expression literal",
20
- L1008: "Missing semicolon",
20
+ // ASI itself is ALLOWED. The error is the two constructs where a newline changes what the code
21
+ // MEANS: a value on the line after a bare `return`, and a line opening with `(` or `[` that
22
+ // continues the statement above it. "Missing semicolon" named a rule this language does not have.
23
+ L1008: "Newline hazard",
21
24
  L1009: "Unbraced branch",
22
25
  L1010: "`switch` case does not terminate",
23
26
  L1011: "Computed property name",
@@ -34,14 +37,25 @@ export const CATALOG = {
34
37
  L1022: "Forbidden syntax: `do...while`",
35
38
  L1023: "Forbidden syntax: `await` outside an async function",
36
39
  L1024: "`return` outside a function",
40
+ L1025: "Forbidden syntax: loose equality",
41
+ L1026: "Forbidden syntax: comma operator",
42
+ L1027: "Forbidden syntax: `void`",
43
+ L1028: "Forbidden property name",
44
+ // The catch-all behind the admitted-node table: syntax that is valid JavaScript, is on no
45
+ // forbidden row of its own, and is not in the language either. Naming it here is what lets the
46
+ // interpreter's own "unsupported" fault stay unreachable from a validated program.
47
+ L1029: "Syntax outside the language",
48
+ L1030: "Forbidden literal: bigint",
37
49
  // ---- L2xxx: name resolution and static rules ----------------------------------------------
38
50
  L2001: "Unknown identifier",
39
51
  L2002: "Shadows a builtin or a primitive",
40
52
  L2003: "Assignment to a `const` binding",
53
+ L2004: "Use before declaration",
41
54
  L2011: "The Promise API is not available",
42
55
  L2013: "An async call is not awaited",
43
56
  L2012: "Host global is not available",
44
57
  L2031: "Mutation of a frozen value",
58
+ L2032: "Write from a concurrent branch to something declared outside it",
45
59
  // ---- L3xxx: effect call shape --------------------------------------------------------------
46
60
  L3011: "Unknown option key",
47
61
  L3012: "Missing required step name",
@@ -51,6 +65,7 @@ export const CATALOG = {
51
65
  L3022: "Two agents share a worktree concurrently",
52
66
  L3023: "Array-form `parallel` holds named effects",
53
67
  L3024: "`fanOut` branch keys are not unique",
68
+ L3025: "Branch key contains a reserved step-key character",
54
69
  L3041: "Value cannot cross an effect boundary",
55
70
  L3042: "Function passed as effect data",
56
71
  L3043: "`notify` fact is not a bounded decision record",
@@ -65,15 +80,87 @@ export const CATALOG = {
65
80
  L4007: "Checkpoint expired",
66
81
  L4008: "Concurrent worktree write",
67
82
  L4009: "Run effect ceiling reached",
83
+ L4010: "Field access on `null` or `undefined`",
84
+ L4011: "Call of a value that is not a function",
85
+ L4012: "Assertion failed",
68
86
  L4013: "Step budget exhausted",
87
+ L4014: "Unknown member",
88
+ L4015: "Not iterable",
89
+ L4016: "Builtin failed",
90
+ L4017: "Invalid array length",
91
+ L4018: "No implicit conversion",
92
+ L4019: "Array write past the end",
93
+ L4020: "A method is not a value",
94
+ L4021: "A callable `then` is not a record member",
69
95
  // ---- L5xxx: durability -----------------------------------------------------------------------
70
96
  L5001: "Run divergence",
71
97
  L5002: "Program hash not available",
72
98
  L5003: "Orphaned `spawn` on migrate",
73
99
  L5004: "Orphaned resolved checkpoint on migrate",
74
- L5005: "External reference gone",
100
+ L5005: "A pending effect cannot be recovered",
75
101
  L5006: "Effect result too large",
76
102
  L5007: "Lease lost",
103
+ L5008: "Resume under a different language version",
104
+ L5009: "Resume pin mismatch",
105
+ // The log said no, which is not the world saying no. Recorded separately because a run that
106
+ // cannot append has no result to report, and reporting one anyway is how a completed effect
107
+ // comes to be replayed as a failure.
108
+ L5010: "Journal append rejected",
109
+ // A journal belongs to ONE run. The keys are structural, so another run's entry with the same
110
+ // scope and name MATCHES: a mismatch is not a mislabelling, it is one run resuming from another
111
+ // run's history and returning its results as its own.
112
+ L5011: "Journal belongs to a different run",
113
+ // The DRIVER stopped, and the program did not. A run whose host must stop before the next effect
114
+ // — its work horizon reached, a pause requested — has not failed and has not finished: it is
115
+ // exactly where its journal says it is, and someone else can pick it up there. Recorded as its
116
+ // own code because settling the entry instead would write down a failure for work nobody
117
+ // attempted.
118
+ L5012: "Run released before the next effect",
119
+ // The three refusals design 8.4's orphan table needs and does not number. Allocated here rather
120
+ // than reused, because a code that means two things is worse than a code that means nothing: the
121
+ // first three numbers this table wanted — L5005, L5006, L5007 — were already a pending effect, an
122
+ // oversized result, and a lost lease, and a reader acting on one of those would act on the wrong
123
+ // fact entirely.
124
+ L5013: "Orphaned undelivered `notice` on migrate",
125
+ L5014: "Orphaned open `conclave` on migrate",
126
+ L5015: "No orphan policy for this entry kind on migrate",
127
+ // A durable run reached an effect whose substrate has not landed on this host. Its own code
128
+ // because the alternative — a generic handler fault — records "the handler broke" for a step
129
+ // nothing ever attempted, and a reader of the journal cannot tell the two apart afterwards.
130
+ L5016: "Effect not durable on this host",
131
+ // The fork's three refusals, allocated from THIS FILE rather than from memory — the rule the
132
+ // orphan table's L5005/L5006/L5007 collision bought. Note what is NOT here: a fork asked to pin a
133
+ // new program hash reuses L5002, which already says exactly that and had no user. A synonym would
134
+ // have been a second name for one fact, which is the same defect as a reused number, wearing a
135
+ // nicer face.
136
+ L5017: "Fork cut step is not in the journal",
137
+ L5018: "Fork cut was never reached",
138
+ L5020: "A fork cut lies inside a scope whose outcome was already decided",
139
+ L5019: "Fork cannot honour `onFork` on this host",
140
+ // Allocated from THIS FILE, same rule. A resume that is handed history but not the pins that
141
+ // history was written under does not fail anywhere: it re-resolves them, takes this host's clock
142
+ // as the run's epoch and this interpreter's default as the seed, and carries on. Nothing in the
143
+ // journal disagrees, because pure draws are not journalled and the clock is not a recorded fact.
144
+ L5021: "Resume over a journal without the run's pins",
145
+ // The hole the "losers only" branch digest left open, and it did not fail quietly: the walk was
146
+ // sent into a recorded winning arm the edited source had RENAMED away, entered nothing, and
147
+ // awaited `Promise.race([])`, which never settles. Its own code and not L5001 because that one is
148
+ // a hash comparison down to its field names, and this is a comparison of branch NAMES.
149
+ L5022: "A recorded branch is not in the migrated source",
150
+ // Allocated here because the L5xxx range is where a fact about a RECORD lives, and this is one: the
151
+ // record names a language version and this build has no engine that speaks it. Deliberately not
152
+ // L5008, which is the same shape of disagreement one layer in - a record handed to a SPECIFIC
153
+ // engine whose version differs, where the repair is to run it on the engine that matches. Here
154
+ // there is no such engine to name, so the repair is a different sentence and gets its own code.
155
+ L5023: "No engine in this build serves this record's language version",
156
+ // Allocated from THIS FILE, same rule as the three above. A fact about a RECORD, so L5xxx: the
157
+ // entry's `external` is a value the language cannot express, which is different from the record
158
+ // disagreeing with the source (L5001) or with this build (L5023): nothing here disagrees with
159
+ // anything, the field simply cannot be read back. Its write-side sibling is deliberately NOT a new
160
+ // code: a handler that binds such a value fails inside its own dispatch, where L4000 handler-fault
161
+ // already says exactly that, and a second name for one fact is the defect the L5017..L5020 note
162
+ // above was written about.
163
+ L5024: "A recorded value has no canonical form",
77
164
  // ---- L6xxx: simulation -------------------------------------------------------------------------
78
165
  L6001: "Unscripted effect in simulation",
79
166
  L6002: "Simulation script entry unused",
@@ -160,4 +247,102 @@ export class LangErrors extends Error {
160
247
  return this.errors.map((e) => e.render(this.source)).join("\n\n");
161
248
  }
162
249
  }
250
+ /**
251
+ * A refusal raised while a program RUNS, carrying its `L` code as a field so a caller can branch on
252
+ * it rather than parse prose.
253
+ *
254
+ * It lives here rather than in `interpret.ts` because `keys.ts` raises one too — a computed step
255
+ * name is only knowable at key-construction time — and `keys.ts` cannot import the interpreter that
256
+ * imports it. The error vocabulary is the one module in this package that depends on nothing.
257
+ */
258
+ export class RuntimeFault extends Error {
259
+ code;
260
+ constructor(code, message) {
261
+ super(`${code} ${message}`);
262
+ this.code = code;
263
+ this.name = "RuntimeFault";
264
+ }
265
+ }
266
+ /** The message off anything a foreign body throws, read defensively: other people's code may throw a primitive. */
267
+ export function messageOf(v) {
268
+ if (v instanceof Error)
269
+ return v.message;
270
+ const m = v?.message;
271
+ return typeof m === "string" ? m : String(v);
272
+ }
273
+ /** A recorded step's inputs changed, so its recorded result may no longer be the truth. */
274
+ export class RunDivergence extends Error {
275
+ stepKey;
276
+ recordedHash;
277
+ programHash;
278
+ constructor(stepKey, recordedHash, programHash) {
279
+ super(`L5001 Run divergence\n\n step ${stepKey} INPUT CHANGED\n recorded ${recordedHash}\n program ${programHash}\n\nThe recorded result was produced from different inputs, so replaying it would hand the program an answer to a question it is no longer asking.\n\nOptions\n fork(run, "${stepKey}") re-run from this step, keeping everything before it\n revert the inputs keep the recorded result`);
280
+ this.stepKey = stepKey;
281
+ this.recordedHash = recordedHash;
282
+ this.programHash = programHash;
283
+ this.name = "RunDivergence";
284
+ }
285
+ }
286
+ /**
287
+ * A migration's walk reached a settled scope it cannot enter.
288
+ *
289
+ * A `conclave` is the case that exists today: its channel handle is HANDLER-DERIVED, the mint
290
+ * returns it and nothing journals it, so a walk cannot re-enter the body without inventing a
291
+ * handle, and an invented one would re-hash every step inside that used the channel into a
292
+ * divergence the run never had. Refusing is the honest exit. Consuming the subtree instead would
293
+ * hide exactly the orphans a migration exists to find, which is a silent wrong answer in place of
294
+ * a loud refusal.
295
+ */
296
+ export class UnwalkableScope extends Error {
297
+ scopeKey;
298
+ why;
299
+ constructor(scopeKey, why) {
300
+ super(`a migration cannot walk inside the settled ${why} at ${scopeKey}: its handle is handler-derived and was never journalled, so the walk would have to invent one. Fork from this step instead, or migrate a run that does not contain it.`);
301
+ this.scopeKey = scopeKey;
302
+ this.why = why;
303
+ this.name = "UnwalkableScope";
304
+ }
305
+ }
306
+ /**
307
+ * A migration's walk was sent into a recorded branch the new source does not have.
308
+ *
309
+ * Its own code rather than `RunDivergence`, for the reason the L5005/L5006/L5007 collision in the
310
+ * orphan table bought: `RunDivergence` is a HASH comparison and says so in both its fields and its
311
+ * message, and putting branch NAMES in fields called `recordedHash`/`programHash` would be a lie in
312
+ * the payload a repair loop reads. The author's repair differs too: this one is fixed by looking at
313
+ * an arm's NAME, not at its body.
314
+ */
315
+ export class ScopeBranchMissing extends Error {
316
+ scopeKey;
317
+ scope;
318
+ missing;
319
+ recorded;
320
+ source;
321
+ constructor(scopeKey, scope, missing, recorded, source) {
322
+ super(recorded.length === 0
323
+ // THE EMPTY CASE IS NOT THE SAME SENTENCE. "A recorded branch is not in the source" is false
324
+ // here: no branch was recorded at all, and saying "missing: " with nothing after it would
325
+ // send a reader looking through their source for an arm that was never named. The cause is
326
+ // the entry, not the edit, and the repair is different too.
327
+ ? `L5022 A settled scope recorded no branch names\n\n step ${scopeKey} BRANCH NAMES ABSENT\n`
328
+ + ` source ${source.join(", ")}\n\n`
329
+ + `This ${scope} settled before scopes recorded their arm names on failure, so the walk has `
330
+ + `nothing to tell it which arm ran. It cannot enter one, and entering none would wait `
331
+ + `forever on a scope with no branches in it.\n\nOptions\n resume(run) replay it rather `
332
+ + `than walking it\n fork(run, "${scopeKey}") re-run this scope on the current arms`
333
+ : `L5022 A recorded branch is not in the migrated source\n\n step ${scopeKey} BRANCH MISSING\n`
334
+ + ` recorded ${recorded.join(", ")}\n source ${source.join(", ")}\n`
335
+ + ` missing ${missing.join(", ")}\n\n`
336
+ + `This ${scope} settled on ${missing.length === 1 ? "a branch" : "branches"} the new source no longer declares, so the walk `
337
+ + `cannot enter ${missing.length === 1 ? "it" : "them"} to check what ran inside. Migrating anyway would hand the program a `
338
+ + `result produced by an arm it does not have.\n\nOptions\n restore the branch ${missing.map((k) => `\`${k}\``).join(", ")} `
339
+ + `keep the recorded result\n fork(run, "${scopeKey}") re-run this scope on the new arms`);
340
+ this.scopeKey = scopeKey;
341
+ this.scope = scope;
342
+ this.missing = missing;
343
+ this.recorded = recorded;
344
+ this.source = source;
345
+ this.name = "ScopeBranchMissing";
346
+ }
347
+ }
163
348
  //# sourceMappingURL=errors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,wFAAwF;AACxF,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,8FAA8F;IAC9F,KAAK,EAAE,2BAA2B;IAClC,KAAK,EAAE,0BAA0B;IACjC,KAAK,EAAE,yBAAyB;IAChC,KAAK,EAAE,8BAA8B;IACrC,KAAK,EAAE,6BAA6B;IACpC,KAAK,EAAE,wCAAwC;IAC/C,KAAK,EAAE,8CAA8C;IACrD,KAAK,EAAE,mBAAmB;IAC1B,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,kCAAkC;IACzC,KAAK,EAAE,wBAAwB;IAC/B,KAAK,EAAE,eAAe;IACtB,KAAK,EAAE,0BAA0B;IACjC,KAAK,EAAE,0BAA0B;IACjC,KAAK,EAAE,4BAA4B;IACnC,KAAK,EAAE,gCAAgC;IACvC,KAAK,EAAE,yBAAyB;IAChC,KAAK,EAAE,2CAA2C;IAClD,KAAK,EAAE,yBAAyB;IAChC,KAAK,EAAE,wCAAwC;IAC/C,KAAK,EAAE,4BAA4B;IACnC,KAAK,EAAE,gCAAgC;IACvC,KAAK,EAAE,qDAAqD;IAC5D,KAAK,EAAE,6BAA6B;IAEpC,8FAA8F;IAC9F,KAAK,EAAE,oBAAoB;IAC3B,KAAK,EAAE,kCAAkC;IACzC,KAAK,EAAE,iCAAiC;IACxC,KAAK,EAAE,kCAAkC;IACzC,KAAK,EAAE,8BAA8B;IACrC,KAAK,EAAE,8BAA8B;IACrC,KAAK,EAAE,4BAA4B;IAEnC,+FAA+F;IAC/F,KAAK,EAAE,oBAAoB;IAC3B,KAAK,EAAE,4BAA4B;IACnC,KAAK,EAAE,4BAA4B;IACnC,KAAK,EAAE,qBAAqB;IAC5B,KAAK,EAAE,4BAA4B;IACnC,KAAK,EAA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O,EAAE,SAAS,EAAmD,MAAM,aAAa,CAAC;AAYzF,yEAAyE;AACzE,KAAK,OAAO,GAAG,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAY9C,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,SAAS,SAAS,EAAE,CAAC;CACzC;AAo8BD;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,SAAqB,GAAG,cAAc,CAyClF"}
1
+ {"version":3,"file":"grammar.d.ts","sourceRoot":"","sources":["../src/grammar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAmD,MAAM,aAAa,CAAC;AAgBzF,yEAAyE;AACzE,KAAK,OAAO,GAAG,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAY9C,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,SAAS,SAAS,EAAE,CAAC;CACzC;AAs5CD;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,SAAqB,GAAG,cAAc,CA4ClF"}