eliscript 0.1.0 → 0.1.1

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 (185) hide show
  1. package/README.md +9 -8
  2. package/bootstrap/compiler/emitter.eli +161 -63
  3. package/bootstrap/host/check-cli.mjs +0 -1
  4. package/bootstrap/host/check-cli.mjs.map +1 -1
  5. package/bootstrap/host/compiler-session.eli +2 -1
  6. package/bootstrap/host/eliscript-cli.mjs +2 -9
  7. package/bootstrap/host/eliscript-cli.mjs.map +1 -1
  8. package/bootstrap/host/project-cli.mjs +1 -11
  9. package/bootstrap/host/project-cli.mjs.map +1 -1
  10. package/bootstrap/host/project.mjs +2 -8
  11. package/bootstrap/host/project.mjs.map +1 -1
  12. package/browser/README.md +1 -1
  13. package/compiler/README.md +2 -2
  14. package/compiler/eliscript-emitter.el +229 -85
  15. package/compiler/eliscript-ir-emitter.el +64 -34
  16. package/compiler/eliscript-project.el +20 -5
  17. package/dist/backends/async.mjs +1 -90
  18. package/dist/backends/async.mjs.map +1 -1
  19. package/dist/backends/binary.mjs +1 -91
  20. package/dist/backends/binary.mjs.map +1 -1
  21. package/dist/backends/capabilities.mjs +1 -90
  22. package/dist/backends/capabilities.mjs.map +1 -1
  23. package/dist/backends/elf.mjs +1 -90
  24. package/dist/backends/elf.mjs.map +1 -1
  25. package/dist/backends/managed.mjs +1 -94
  26. package/dist/backends/managed.mjs.map +1 -1
  27. package/dist/backends/memory.mjs +1 -90
  28. package/dist/backends/memory.mjs.map +1 -1
  29. package/dist/backends/native.mjs +1 -91
  30. package/dist/backends/native.mjs.map +1 -1
  31. package/dist/backends/numeric.mjs +1 -90
  32. package/dist/backends/numeric.mjs.map +1 -1
  33. package/dist/backends/optimize.mjs +1 -90
  34. package/dist/backends/optimize.mjs.map +1 -1
  35. package/dist/backends/regexp.mjs +1 -91
  36. package/dist/backends/regexp.mjs.map +1 -1
  37. package/dist/backends/sha256.mjs +2 -96
  38. package/dist/backends/sha256.mjs.map +1 -1
  39. package/dist/backends/wasm.mjs +1 -90
  40. package/dist/backends/wasm.mjs.map +1 -1
  41. package/dist/bootstrap/analyzer.mjs +1 -95
  42. package/dist/bootstrap/analyzer.mjs.map +1 -1
  43. package/dist/bootstrap/compiler.mjs +1 -105
  44. package/dist/bootstrap/compiler.mjs.map +1 -1
  45. package/dist/bootstrap/emitter.mjs +848 -807
  46. package/dist/bootstrap/emitter.mjs.map +1 -1
  47. package/dist/bootstrap/expander.mjs +1 -96
  48. package/dist/bootstrap/expander.mjs.map +1 -1
  49. package/dist/bootstrap/formatter.mjs +1 -104
  50. package/dist/bootstrap/formatter.mjs.map +1 -1
  51. package/dist/bootstrap/ir.mjs +18 -172
  52. package/dist/bootstrap/ir.mjs.map +1 -1
  53. package/dist/bootstrap/lower.mjs +1 -92
  54. package/dist/bootstrap/lower.mjs.map +1 -1
  55. package/dist/bootstrap/project.mjs +23 -209
  56. package/dist/bootstrap/project.mjs.map +1 -1
  57. package/dist/bootstrap/reader.mjs +1 -96
  58. package/dist/bootstrap/reader.mjs.map +1 -1
  59. package/dist/bootstrap/source-map.mjs +7 -112
  60. package/dist/bootstrap/source-map.mjs.map +1 -1
  61. package/dist/bootstrap/symbol.mjs +7 -114
  62. package/dist/bootstrap/symbol.mjs.map +1 -1
  63. package/dist/bootstrap/syntax.mjs +10 -176
  64. package/dist/bootstrap/syntax.mjs.map +1 -1
  65. package/dist/bootstrap/transient-analysis.mjs +1 -93
  66. package/dist/bootstrap/transient-analysis.mjs.map +1 -1
  67. package/dist/browser/compiler.js +105 -104
  68. package/dist/browser/loader.js +1 -1
  69. package/dist/browser/loader.mjs +5 -124
  70. package/dist/compiler-artifact.json +1 -1
  71. package/dist/host/compiler-session.mjs +205 -297
  72. package/dist/host/compiler-session.mjs.map +1 -1
  73. package/dist/host/compiler-tools.mjs +1 -91
  74. package/dist/host/compiler-tools.mjs.map +1 -1
  75. package/dist/literal-sources/runtime/core/order.eli +32 -10
  76. package/dist/literal-sources/runtime/core/sequence.eli +69 -28
  77. package/dist/literal-sources/runtime/core/vector.eli +2 -4
  78. package/dist/literal-sources/stdlib/managed-literal-protocols.eli +5 -5
  79. package/dist/literal-sources/stdlib/managed-literals.eli +1 -1
  80. package/dist/package.json +1 -0
  81. package/dist/runtime/math.mjs +62 -252
  82. package/dist/runtime/math.mjs.map +1 -1
  83. package/dist/runtime/prelude.mjs +95 -0
  84. package/dist/runtime/prelude.mjs.macro-origins.json +1 -0
  85. package/dist/runtime/prelude.mjs.map +1 -0
  86. package/dist/runtime/unicode-case-data.mjs +1 -95
  87. package/dist/runtime/unicode-case-data.mjs.map +1 -1
  88. package/dist/runtime/unicode-case.mjs +3 -97
  89. package/dist/runtime/unicode-case.mjs.map +1 -1
  90. package/dist/stage3-release.json +1 -1
  91. package/editor/README.md +9 -4
  92. package/editor/eliscript-compat.el +164 -2
  93. package/editor/eliscript-mode.el +1 -1
  94. package/editor/eliscript-repl.el +1 -1
  95. package/package.json +2 -1
  96. package/runtime/README.md +21 -1
  97. package/runtime/core/protocol-impl.mjs +1 -115
  98. package/runtime/core/protocol-impl.mjs.map +1 -1
  99. package/runtime/core/text-impl.mjs +1 -90
  100. package/runtime/core/text-impl.mjs.map +1 -1
  101. package/runtime/core/vector.eli +1 -1
  102. package/runtime/core/vector.mjs +0 -9
  103. package/runtime/emacs-compat.eli +5957 -2
  104. package/runtime/emacs-compat.mjs +13522 -2295
  105. package/runtime/emacs-compat.mjs.map +1 -0
  106. package/runtime/math.mjs +62 -252
  107. package/runtime/math.mjs.map +1 -1
  108. package/runtime/prelude.eli +4 -0
  109. package/runtime/prelude.mjs +95 -0
  110. package/runtime/prelude.mjs.map +1 -0
  111. package/runtime/unicode-case-data.mjs +1 -95
  112. package/runtime/unicode-case-data.mjs.map +1 -1
  113. package/runtime/unicode-case.mjs +3 -97
  114. package/runtime/unicode-case.mjs.map +1 -1
  115. package/stdlib/managed-literals.eli +1 -1
  116. package/stdlib/managed-runtime-vector.eli +2 -4
  117. package/tools/backends/compiler-build.mjs +3 -93
  118. package/tools/backends/compiler-cli.mjs +2 -15
  119. package/tools/backends/compiler-corpus-bit.mjs +2 -95
  120. package/tools/backends/compiler-corpus-cli-adapters.mjs +1 -97
  121. package/tools/backends/compiler-corpus-debugging.mjs +2 -95
  122. package/tools/backends/compiler-corpus-emitter.mjs +1 -97
  123. package/tools/backends/compiler-corpus-execution.mjs +2 -108
  124. package/tools/backends/compiler-corpus-fuzz.mjs +2 -95
  125. package/tools/backends/compiler-corpus-host-context.mjs +2 -99
  126. package/tools/backends/compiler-corpus-identity-host.mjs +18 -123
  127. package/tools/backends/compiler-corpus-identity-value-adapters.mjs +0 -9
  128. package/tools/backends/compiler-corpus-literal-provider.mjs +1 -91
  129. package/tools/backends/compiler-corpus-managed-adapters.mjs +1 -99
  130. package/tools/backends/compiler-corpus-managed-fixtures.mjs +2 -113
  131. package/tools/backends/compiler-corpus-matchers.mjs +3 -106
  132. package/tools/backends/compiler-corpus-original-program.mjs +1 -91
  133. package/tools/backends/compiler-corpus-process.mjs +1 -92
  134. package/tools/backends/compiler-corpus-program-driver.mjs +1 -3
  135. package/tools/backends/compiler-corpus-project-adapters.mjs +1 -95
  136. package/tools/backends/compiler-corpus-project-entry-host.mjs +2 -92
  137. package/tools/backends/compiler-corpus-project-transport.mjs +1 -90
  138. package/tools/backends/compiler-corpus-raw-fixture-observer.mjs +1 -91
  139. package/tools/backends/compiler-corpus-raw-language-fixtures.mjs +1 -92
  140. package/tools/backends/compiler-corpus-raw-math-fixture.mjs +1 -91
  141. package/tools/backends/compiler-corpus-raw-special-fixtures.mjs +1 -91
  142. package/tools/backends/compiler-corpus-reference.mjs +1 -90
  143. package/tools/backends/compiler-corpus-runtime-adapters.mjs +2 -110
  144. package/tools/backends/compiler-corpus-tools-cli.mjs +1 -95
  145. package/tools/backends/compiler-corpus-tools-reference.mjs +22 -163
  146. package/tools/backends/compiler-corpus.mjs +3 -125
  147. package/tools/backends/compiler-matrix.mjs +1 -92
  148. package/tools/backends/compiler-package-browser.mjs +1 -90
  149. package/tools/backends/compiler-package.mjs +3 -95
  150. package/tools/backends/compiler-unicode-profile-host.mjs +1 -91
  151. package/tools/backends/dist/bootstrap-js-stages.mjs +1 -91
  152. package/tools/backends/dist/bootstrap-js-stages.mjs.map +1 -1
  153. package/tools/backends/dist/managed-ir-inventory.mjs +1 -91
  154. package/tools/backends/dist/managed-ir-inventory.mjs.map +1 -1
  155. package/tools/backends/dist/record-grid.mjs +1 -91
  156. package/tools/backends/dist/record-grid.mjs.map +1 -1
  157. package/tools/backends/dist/release-cli.mjs +4 -94
  158. package/tools/backends/dist/release-cli.mjs.map +1 -1
  159. package/tools/backends/dist/run-artifact.mjs +1 -91
  160. package/tools/backends/dist/run-artifact.mjs.map +1 -1
  161. package/tools/backends/eliscript/compiler-corpus-bit.eli +1 -0
  162. package/tools/backends/managed-foreign-binding.mjs +1 -95
  163. package/tools/backends/managed-host-lifecycle.mjs +1 -91
  164. package/tools/backends/managed-host-object-provider.mjs +18 -59
  165. package/tools/backends/managed-host-object-realm.mjs +1 -91
  166. package/tools/backends/managed-host-proxy.mjs +9 -18
  167. package/tools/backends/managed-host-runtime.mjs +3 -105
  168. package/tools/backends/managed-host.mjs +1 -104
  169. package/tools/backends/managed-module-graph.mjs +1 -97
  170. package/tools/backends/managed-runtime.mjs +1 -96
  171. package/tools/backends/managed-source-view.mjs +13 -108
  172. package/tools/backends/native-managed-runtime.mjs +1 -91
  173. package/tools/backends/native-memory.mjs +1 -91
  174. package/tools/backends/stage3-targets.mjs +1 -91
  175. package/tools/bootstrap-runtime.el +3 -2
  176. package/tools/project/project.eli +1 -1
  177. package/tools/testing/stdlib-bit-corpus-host.mjs +1 -90
  178. package/tools/testing/stdlib-bit.mjs +1 -90
  179. package/dist/bootstrap/package.json +0 -1
  180. package/dist/bootstrap/runtime/math.mjs +0 -1117
  181. package/dist/bootstrap/runtime/math.mjs.map +0 -1
  182. package/dist/bootstrap/runtime/unicode-case-data.mjs +0 -10125
  183. package/dist/bootstrap/runtime/unicode-case-data.mjs.map +0 -1
  184. package/dist/bootstrap/runtime/unicode-case.mjs +0 -281
  185. package/dist/bootstrap/runtime/unicode-case.mjs.map +0 -1
@@ -1,125 +1,20 @@
1
1
  // Generated by Eliscript. Do not edit.
2
2
  import { tdz as __eliscript_tdz_error, immutable as __eliscript_const_error } from "data:text/javascript;base64,Y29uc3QgRSA9IFJlZmVyZW5jZUVycm9yOyBjb25zdCBUID0gVHlwZUVycm9yOyBleHBvcnQgZnVuY3Rpb24gdGR6KG5hbWUpIHsgdGhyb3cgbmV3IEUoIkNhbm5vdCBhY2Nlc3MgJyIgKyBuYW1lICsgIicgYmVmb3JlIGluaXRpYWxpemF0aW9uIik7IH0gZXhwb3J0IGZ1bmN0aW9uIGltbXV0YWJsZSgpIHsgdGhyb3cgbmV3IFQoIkFzc2lnbm1lbnQgdG8gY29uc3RhbnQgdmFyaWFibGUuIik7IH0K";
3
- var __eliscript_tdz_ready_0;
4
- function __eliscript_tdz_read_0() { if (__eliscript_tdz_ready_0 !== true) __eliscript_tdz_error("originalRuntimeSourceSuites"); return originalRuntimeSourceSuites; }
5
- function __eliscript_tdz_write_0(__eliscript_tdz_value_0) { if (__eliscript_tdz_ready_0 !== true) __eliscript_tdz_error("originalRuntimeSourceSuites"); return __eliscript_const_error(); }
6
- var __eliscript_tdz_ready_1;
7
- function __eliscript_tdz_read_1() { if (__eliscript_tdz_ready_1 !== true) __eliscript_tdz_error("isOriginalRuntimeHostOnly"); return isOriginalRuntimeHostOnly; }
8
- function __eliscript_tdz_write_1(__eliscript_tdz_value_1) { if (__eliscript_tdz_ready_1 !== true) __eliscript_tdz_error("isOriginalRuntimeHostOnly"); return __eliscript_const_error(); }
9
- var __eliscript_tdz_ready_2;
10
- function __eliscript_tdz_read_2() { if (__eliscript_tdz_ready_2 !== true) __eliscript_tdz_error("originalRuntimeOnlyCase"); return originalRuntimeOnlyCase; }
11
- function __eliscript_tdz_write_2(__eliscript_tdz_value_2) { if (__eliscript_tdz_ready_2 !== true) __eliscript_tdz_error("originalRuntimeOnlyCase"); return __eliscript_const_error(); }
12
3
  var __eliscript_tdz_ready_3;
13
4
  function __eliscript_tdz_read_3() { if (__eliscript_tdz_ready_3 !== true) __eliscript_tdz_error("suite"); return suite; }
14
- function __eliscript_tdz_write_3(__eliscript_tdz_value_3) { if (__eliscript_tdz_ready_3 !== true) __eliscript_tdz_error("suite"); return __eliscript_const_error(); }
15
5
  var __eliscript_tdz_ready_4;
16
6
  function __eliscript_tdz_read_4() { if (__eliscript_tdz_ready_4 !== true) __eliscript_tdz_error("eli_source"); return eli_source; }
17
- function __eliscript_tdz_write_4(__eliscript_tdz_value_4) { if (__eliscript_tdz_ready_4 !== true) __eliscript_tdz_error("eli_source"); return __eliscript_const_error(); }
18
7
  var __eliscript_tdz_ready_5;
19
8
  function __eliscript_tdz_read_5() { if (__eliscript_tdz_ready_5 !== true) __eliscript_tdz_error("titles"); return titles; }
20
- function __eliscript_tdz_write_5(__eliscript_tdz_value_5) { if (__eliscript_tdz_ready_5 !== true) __eliscript_tdz_error("titles"); return __eliscript_const_error(); }
21
9
  var __eliscript_tdz_ready_6;
22
10
  function __eliscript_tdz_read_6() { if (__eliscript_tdz_ready_6 !== true) __eliscript_tdz_error("plans"); return plans; }
23
- function __eliscript_tdz_write_6(__eliscript_tdz_value_6) { if (__eliscript_tdz_ready_6 !== true) __eliscript_tdz_error("plans"); return __eliscript_const_error(); }
24
11
  var __eliscript_tdz_ready_7;
25
12
  function __eliscript_tdz_read_7() { if (__eliscript_tdz_ready_7 !== true) __eliscript_tdz_error("originalRuntimeHostCompletionSource"); return originalRuntimeHostCompletionSource; }
26
- function __eliscript_tdz_write_7(__eliscript_tdz_value_7) { if (__eliscript_tdz_ready_7 !== true) __eliscript_tdz_error("originalRuntimeHostCompletionSource"); return __eliscript_const_error(); }
27
13
  var __eliscript_tdz_ready_8;
28
14
  function __eliscript_tdz_read_8() { if (__eliscript_tdz_ready_8 !== true) __eliscript_tdz_error("core_project_records"); return core_project_records; }
29
- function __eliscript_tdz_write_8(__eliscript_tdz_value_8) { if (__eliscript_tdz_ready_8 !== true) __eliscript_tdz_error("core_project_records"); return __eliscript_const_error(); }
30
15
  import "eliscript/runtime/unicode-case.mjs";
31
- import { c as __eliscript_at, d as __eliscript_at_direct } from "data:text/javascript;base64,dmFyIG09UmVmbGVjdC5hcHBseSx0dD1OdW1iZXIucHJvdG90eXBlLnZhbHVlT2Ysaj1OdW1iZXIucHJvdG90eXBlLnRvU3RyaW5nLFU9TnVtYmVyLG50PU9iamVjdC5jcmVhdGUsaD1CaWdJbnQsZXQ9RGF0YVZpZXcsb3Q9QXJyYXlCdWZmZXIsaXQ9RGF0YVZpZXcucHJvdG90eXBlLnNldEZsb2F0NjQsSj1EYXRhVmlldy5wcm90b3R5cGUuZ2V0VWludDMyLHJ0PVJhbmdlRXJyb3I7ZnVuY3Rpb24gY3QodCxuKXtsZXQgZT1oKG4pLG89aCh0KSxpPSIiO2lmKG88MG4pbz0tbztkb3tsZXQgZj1vJWU7aT0iMDEyMzQ1Njc4OWFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6IltVKGYpXStpLG8vPWV9d2hpbGUobyE9PTBuKTtyZXR1cm4gdDwwPyItIitpOml9ZnVuY3Rpb24gc3QodCxuKXtsZXQgZT1uZXcgZXQobmV3IG90KDgpKTttKGl0LGUsWzAsdCwhMV0pO2xldCBvPW0oSixlLFswLCExXSksaT1tKEosZSxbNCwhMV0pLGY9bz4+PjIwJjIwNDcsYj1vJjEwNDg1NzUscD1vPj4+MzEscj1oKGIpPDwzMm58aChpKTtpZihmIT09MClyKz0xbjw8NTJuO3I8PD0ybjtsZXQgbD00bix1PWY+MSYmYj09PTAmJmk9PT0wPzFuOjJuLGs9Mm47aWYoZj49MTA3NSl7bGV0IGM9aChmLTEwNzUpO3I8PD1jLHU8PD1jLGs8PD1jfWVsc2UgbDw8PWgoZj09PTA/MTA3NDoxMDc1LW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LGk9eShlLDApO2U9WChlLDEpLHQ9byxuPWk7Y29udGludWV9aWYodD09PU4pe2lmKCFBKG4pKXJldHVybiBzKHQsbixlKTtsZXQgbz1uLGk9eShlLDApO2U9Wih5KGUsMSksITApLHQ9byxuPWk7Y29udGludWV9aWYodD09PXMpe2xldCBvPXkoZSwwKSxpPXkoZSwxKTtpZighQShvKSlyZXR1cm4gcyh0LG4sZSk7ZT1aKHkoZSwyKSwhMSksdD1vLG49aTtjb250aW51ZX1pZih0PT09RSl7bGV0IG89cyh0LG4sZSk7aWYobiE9PWomJm4hPT1LJiZuIT09eiYmbiE9PU0mJm4hPT1OJiZuIT09cyYmbiE9PUUpcmV0dXJuIG87bGV0IGk9bixmPXkoZSwwKSxiPVgoZSwxKSxwPSguLi51KT0+TChpLGYsU3QoYix1KSk7VChwLHB0LHt2YWx1ZToodSk9PnUgaW5zdGFuY2VvZiBpLGNvbmZpZ3VyYWJsZTohMH0pO2xldCByPXMoRSxwLFt2b2lkIDBdKTt1dChyLGZ0KG8pKTtsZXQgbD1hdChvKTtmb3IobGV0IHU9MDt1PGwubGVuZ3RoO3UrKylUKHIsbFt1XSxsdChvLGxbdV0pKTtyZXR1cm4gcn1yZXR1cm4gcyh0LG4sZSl9fWZ1bmN0aW9uIFJ0KHQsbil7bGV0IGU9dFtuXTtyZXR1cm4oLi4ubyk9PkwoZSx0LG8pfWZ1bmN0aW9uIEF0KHQsbiwuLi5lKXtsZXQgbz10W25dO3JldHVybiBMKG8sdCxlKX1leHBvcnR7UnQgYXMgYyxBdCBhcyBkfTs=";
16
+ import { __eliscript_at, __eliscript_at_direct, __eliscript_to_number, __eliscript_numeric_decrement, __eliscript_numeric_relation, __eliscript_numeric_sub, __eliscript_numeric_mul, __eliscript_numeric_div, __eliscript_numeric_rem, __eliscript_numeric_and, __eliscript_numeric_or, __eliscript_numeric_xor, __eliscript_numeric_shl, __eliscript_numeric_shr, __eliscript_numeric_ushr, __eliscript_numeric_neg, __eliscript_numeric_int32, __eliscript_numeric_uint32, __eliscript_numeric_not } from "eliscript/runtime/prelude.mjs";
32
17
  const __eliscript_truthy = (value) => value !== false && value != null;
33
- const __eliscript_number_intrinsic = globalThis.Number;
34
- const __eliscript_bigint_intrinsic = globalThis.BigInt;
35
- const __eliscript_numeric_apply = globalThis.Reflect.apply;
36
- const __eliscript_numeric_symbol = globalThis.Symbol.toPrimitive;
37
- const __eliscript_numeric_error = globalThis.TypeError;
38
- const __eliscript_numeric_trim = globalThis.String.prototype.trim;
39
- const __eliscript_numeric_slice = globalThis.String.prototype.slice;
40
- const __eliscript_numeric_exec = globalThis.RegExp.prototype.exec;
41
- const __eliscript_numeric_radix = /^(?:0[xX][0-9a-fA-F]+|0[oO][0-7]+|0[bB][01]+)$/;
42
- const __eliscript_numeric_object = (value) => value !== null && (typeof value === "object" || typeof value === "function" || (typeof value === "undefined" && value !== void 0));
43
- const __eliscript_numeric_primitive = (value) => {
44
- if (!__eliscript_numeric_object(value)) return value;
45
- const exotic = value[__eliscript_numeric_symbol];
46
- if (exotic !== void 0 && exotic !== null) {
47
- const result = __eliscript_numeric_apply(exotic, value, ["number"]);
48
- if (!__eliscript_numeric_object(result)) return result;
49
- throw new __eliscript_numeric_error("Cannot convert object to primitive value");
50
- }
51
- for (let index = 0; index < 2; index++) {
52
- const method = value[index === 0 ? "valueOf" : "toString"];
53
- if (typeof method === "function" || (typeof method === "undefined" && method !== void 0)) {
54
- const result = __eliscript_numeric_apply(method, value, []);
55
- if (!__eliscript_numeric_object(result)) return result;
56
- }
57
- }
58
- throw new __eliscript_numeric_error("Cannot convert object to primitive value");
59
- };
60
- const __eliscript_to_number = (value) => {
61
- const primitive = __eliscript_numeric_primitive(value);
62
- if (typeof primitive === "string") {
63
- const text = __eliscript_numeric_apply(__eliscript_numeric_trim, primitive, []);
64
- if (__eliscript_numeric_apply(__eliscript_numeric_exec, __eliscript_numeric_radix, [text]) !== null) {
65
- let first = 2;
66
- while (first < text.length && text[first] === "0") first++;
67
- if (first === text.length) return 0;
68
- const prefix = text[1];
69
- const limit = prefix === "x" || prefix === "X" ? 256 : prefix === "b" || prefix === "B" ? 1024 : 342;
70
- if (text.length - first > limit) return 1 / 0;
71
- const token = __eliscript_numeric_apply(__eliscript_numeric_slice, text, [0, 2]) + __eliscript_numeric_apply(__eliscript_numeric_slice, text, [first]);
72
- return __eliscript_number_intrinsic(__eliscript_bigint_intrinsic(token));
73
- }
74
- }
75
- return __eliscript_number_intrinsic(primitive);
76
- };
77
- const __eliscript_numeric = (value) => {
78
- if (typeof value === "number" || typeof value === "bigint") return value;
79
- const primitive = __eliscript_numeric_primitive(value);
80
- if (typeof primitive === "number" || typeof primitive === "bigint") return primitive;
81
- return typeof primitive === "string" ? __eliscript_to_number(primitive) : +primitive;
82
- };
83
- const __eliscript_implicit_number = (value) => {
84
- if (typeof value === "number") return value;
85
- const primitive = __eliscript_numeric_primitive(value);
86
- if (typeof primitive === "bigint") throw new __eliscript_numeric_error("Cannot convert a BigInt value to a number");
87
- return typeof primitive === "string" ? __eliscript_to_number(primitive) : +primitive;
88
- };
89
- const __eliscript_numeric_decrement = (value) => __eliscript_implicit_number(value) - 1;
90
- const __eliscript_numeric_sub = (a, b) => { if (typeof a === "number" && typeof b === "number") return a - b; return __eliscript_numeric(a) - __eliscript_numeric(b); };
91
- const __eliscript_numeric_mul = (a, b) => { if (typeof a === "number" && typeof b === "number") return a * b; return __eliscript_numeric(a) * __eliscript_numeric(b); };
92
- const __eliscript_numeric_div = (a, b) => { if (typeof a === "number" && typeof b === "number") return a / b; return __eliscript_numeric(a) / __eliscript_numeric(b); };
93
- const __eliscript_numeric_rem = (a, b) => { if (typeof a === "number" && typeof b === "number") return a % b; return __eliscript_numeric(a) % __eliscript_numeric(b); };
94
- const __eliscript_numeric_and = (a, b) => { if (typeof a === "number" && typeof b === "number") return a & b; return __eliscript_numeric(a) & __eliscript_numeric(b); };
95
- const __eliscript_numeric_or = (a, b) => { if (typeof a === "number" && typeof b === "number") return a | b; return __eliscript_numeric(a) | __eliscript_numeric(b); };
96
- const __eliscript_numeric_xor = (a, b) => { if (typeof a === "number" && typeof b === "number") return a ^ b; return __eliscript_numeric(a) ^ __eliscript_numeric(b); };
97
- const __eliscript_numeric_shl = (a, b) => { if (typeof a === "number" && typeof b === "number") return a << b; return __eliscript_numeric(a) << __eliscript_numeric(b); };
98
- const __eliscript_numeric_shr = (a, b) => { if (typeof a === "number" && typeof b === "number") return a >> b; return __eliscript_numeric(a) >> __eliscript_numeric(b); };
99
- const __eliscript_numeric_ushr = (a, b) => { if (typeof a === "number" && typeof b === "number") return a >>> b; return __eliscript_numeric(a) >>> __eliscript_numeric(b); };
100
- const __eliscript_numeric_neg = (a) => typeof a === "number" ? -a : -__eliscript_numeric(a);
101
- const __eliscript_numeric_int32 = (a) => typeof a === "number" ? a | 0 : __eliscript_numeric(a) | 0;
102
- const __eliscript_numeric_uint32 = (a) => typeof a === "number" ? a >>> 0 : __eliscript_numeric(a) >>> 0;
103
- const __eliscript_numeric_not = (a) => typeof a === "number" ? ~a : ~__eliscript_numeric(a);
104
- const __eliscript_numeric_relation = (operator, left, right) => {
105
- if (typeof left === "number" && typeof right === "number") {
106
- if (operator === "<") return left < right;
107
- if (operator === "<=") return left <= right;
108
- if (operator === ">") return left > right;
109
- return left >= right;
110
- }
111
- let a = __eliscript_numeric_primitive(left);
112
- let b = __eliscript_numeric_primitive(right);
113
- const x = typeof a, y = typeof b;
114
- if (!((x === "string" && y === "string") || (x === "bigint" && y === "string") || (x === "string" && y === "bigint"))) {
115
- a = __eliscript_numeric(a);
116
- b = __eliscript_numeric(b);
117
- }
118
- if (operator === "<") return a < b;
119
- if (operator === "<=") return a <= b;
120
- if (operator === ">") return a > b;
121
- return a >= b;
122
- };
123
18
 
124
19
  import {createHash} from "node:crypto";
125
20
  import {Buffer} from "node:buffer";
@@ -129,18 +24,15 @@ import {compile_ir_string, emit_ir_string} from "../../dist/bootstrap/compiler.m
129
24
  import {originalSourceCaseLocators} from "./compiler-corpus-managed-cases.mjs";
130
25
  import * as legacy from "./compiler-corpus-runtime-adapters-legacy.mjs";
131
26
  const originalRuntimeSourceSuites = (legacy)["originalRuntimeSourceSuites"];
132
- __eliscript_tdz_ready_0 = true;
133
27
  const isOriginalRuntimeHostOnly = (legacy)["isOriginalRuntimeHostOnly"];
134
- __eliscript_tdz_ready_1 = true;
135
28
  const originalRuntimeOnlyCase = (legacy)["originalRuntimeOnlyCase"];
136
- __eliscript_tdz_ready_2 = true;
137
29
  const suite = "tests/literal-runtime.test.mjs";
138
30
  __eliscript_tdz_ready_3 = true;
139
31
  const eli_source = "tests/eliscript/literal-runtime.eli";
140
32
  __eliscript_tdz_ready_4 = true;
141
33
  const titles = ["persistent literals and quoted data preserve language value categories", "hash-map rejects incomplete pairs in both compilers", "explicit host-only modules do not link the persistent runtime", "maintained Eliscript sources use explicit host constructors", "portable closures produce persistent values for the versioned worker codec"];
142
34
  __eliscript_tdz_ready_5 = true;
143
- const plans = [({"id": "host-only-shape", "title": ((__eliscript_tdz_read_5()))[2], "record": "original-program:literal-runtime-host-only"}), ({"id": "portable-codec", "title": ((__eliscript_tdz_read_5()))[4], "record": "original-program:literal-runtime-portable-codec"}), ({"id": "incomplete-map-input", "title": ((__eliscript_tdz_read_5()))[1], "record": "original-sequence:literal-runtime-invalid-inputs"}), ({"id": "unbound-portable-input", "title": ((__eliscript_tdz_read_5()))[4], "record": "original-sequence:literal-runtime-invalid-inputs"})];
35
+ const plans = [({"id": "host-only-shape", "title": (titles)[2], "record": "original-program:literal-runtime-host-only"}), ({"id": "portable-codec", "title": (titles)[4], "record": "original-program:literal-runtime-portable-codec"}), ({"id": "incomplete-map-input", "title": (titles)[1], "record": "original-sequence:literal-runtime-invalid-inputs"}), ({"id": "unbound-portable-input", "title": (titles)[4], "record": "original-sequence:literal-runtime-invalid-inputs"})];
144
36
  __eliscript_tdz_ready_6 = true;
145
37
  function hash(value) {
146
38
  return ((createHash("sha256"))["update"](value))["digest"]("hex");
@@ -2,102 +2,9 @@
2
2
  import { tdz as __eliscript_tdz_error, immutable as __eliscript_const_error } from "data:text/javascript;base64,Y29uc3QgRSA9IFJlZmVyZW5jZUVycm9yOyBjb25zdCBUID0gVHlwZUVycm9yOyBleHBvcnQgZnVuY3Rpb24gdGR6KG5hbWUpIHsgdGhyb3cgbmV3IEUoIkNhbm5vdCBhY2Nlc3MgJyIgKyBuYW1lICsgIicgYmVmb3JlIGluaXRpYWxpemF0aW9uIik7IH0gZXhwb3J0IGZ1bmN0aW9uIGltbXV0YWJsZSgpIHsgdGhyb3cgbmV3IFQoIkFzc2lnbm1lbnQgdG8gY29uc3RhbnQgdmFyaWFibGUuIik7IH0K";
3
3
  var __eliscript_tdz_ready_0;
4
4
  function __eliscript_tdz_read_0() { if (__eliscript_tdz_ready_0 !== true) __eliscript_tdz_error("original_tools_cli_records"); return original_tools_cli_records; }
5
- function __eliscript_tdz_write_0(__eliscript_tdz_value_0) { if (__eliscript_tdz_ready_0 !== true) __eliscript_tdz_error("original_tools_cli_records"); return __eliscript_const_error(); }
6
- var __eliscript_tdz_ready_1;
7
- function __eliscript_tdz_read_1() { if (__eliscript_tdz_ready_1 !== true) __eliscript_tdz_error("main"); return main; }
8
- function __eliscript_tdz_write_1(__eliscript_tdz_value_1) { if (__eliscript_tdz_ready_1 !== true) __eliscript_tdz_error("main"); return __eliscript_const_error(); }
9
5
  import "eliscript/runtime/unicode-case.mjs";
6
+ import { __eliscript_to_number, __eliscript_numeric_decrement, __eliscript_numeric_relation, __eliscript_numeric_sub, __eliscript_numeric_mul, __eliscript_numeric_div, __eliscript_numeric_rem, __eliscript_numeric_and, __eliscript_numeric_or, __eliscript_numeric_xor, __eliscript_numeric_shl, __eliscript_numeric_shr, __eliscript_numeric_ushr, __eliscript_numeric_neg, __eliscript_numeric_int32, __eliscript_numeric_uint32, __eliscript_numeric_not } from "eliscript/runtime/prelude.mjs";
10
7
  const __eliscript_truthy = (value) => value !== false && value != null;
11
- const __eliscript_number_intrinsic = globalThis.Number;
12
- const __eliscript_bigint_intrinsic = globalThis.BigInt;
13
- const __eliscript_numeric_apply = globalThis.Reflect.apply;
14
- const __eliscript_numeric_symbol = globalThis.Symbol.toPrimitive;
15
- const __eliscript_numeric_error = globalThis.TypeError;
16
- const __eliscript_numeric_trim = globalThis.String.prototype.trim;
17
- const __eliscript_numeric_slice = globalThis.String.prototype.slice;
18
- const __eliscript_numeric_exec = globalThis.RegExp.prototype.exec;
19
- const __eliscript_numeric_radix = /^(?:0[xX][0-9a-fA-F]+|0[oO][0-7]+|0[bB][01]+)$/;
20
- const __eliscript_numeric_object = (value) => value !== null && (typeof value === "object" || typeof value === "function" || (typeof value === "undefined" && value !== void 0));
21
- const __eliscript_numeric_primitive = (value) => {
22
- if (!__eliscript_numeric_object(value)) return value;
23
- const exotic = value[__eliscript_numeric_symbol];
24
- if (exotic !== void 0 && exotic !== null) {
25
- const result = __eliscript_numeric_apply(exotic, value, ["number"]);
26
- if (!__eliscript_numeric_object(result)) return result;
27
- throw new __eliscript_numeric_error("Cannot convert object to primitive value");
28
- }
29
- for (let index = 0; index < 2; index++) {
30
- const method = value[index === 0 ? "valueOf" : "toString"];
31
- if (typeof method === "function" || (typeof method === "undefined" && method !== void 0)) {
32
- const result = __eliscript_numeric_apply(method, value, []);
33
- if (!__eliscript_numeric_object(result)) return result;
34
- }
35
- }
36
- throw new __eliscript_numeric_error("Cannot convert object to primitive value");
37
- };
38
- const __eliscript_to_number = (value) => {
39
- const primitive = __eliscript_numeric_primitive(value);
40
- if (typeof primitive === "string") {
41
- const text = __eliscript_numeric_apply(__eliscript_numeric_trim, primitive, []);
42
- if (__eliscript_numeric_apply(__eliscript_numeric_exec, __eliscript_numeric_radix, [text]) !== null) {
43
- let first = 2;
44
- while (first < text.length && text[first] === "0") first++;
45
- if (first === text.length) return 0;
46
- const prefix = text[1];
47
- const limit = prefix === "x" || prefix === "X" ? 256 : prefix === "b" || prefix === "B" ? 1024 : 342;
48
- if (text.length - first > limit) return 1 / 0;
49
- const token = __eliscript_numeric_apply(__eliscript_numeric_slice, text, [0, 2]) + __eliscript_numeric_apply(__eliscript_numeric_slice, text, [first]);
50
- return __eliscript_number_intrinsic(__eliscript_bigint_intrinsic(token));
51
- }
52
- }
53
- return __eliscript_number_intrinsic(primitive);
54
- };
55
- const __eliscript_numeric = (value) => {
56
- if (typeof value === "number" || typeof value === "bigint") return value;
57
- const primitive = __eliscript_numeric_primitive(value);
58
- if (typeof primitive === "number" || typeof primitive === "bigint") return primitive;
59
- return typeof primitive === "string" ? __eliscript_to_number(primitive) : +primitive;
60
- };
61
- const __eliscript_implicit_number = (value) => {
62
- if (typeof value === "number") return value;
63
- const primitive = __eliscript_numeric_primitive(value);
64
- if (typeof primitive === "bigint") throw new __eliscript_numeric_error("Cannot convert a BigInt value to a number");
65
- return typeof primitive === "string" ? __eliscript_to_number(primitive) : +primitive;
66
- };
67
- const __eliscript_numeric_decrement = (value) => __eliscript_implicit_number(value) - 1;
68
- const __eliscript_numeric_sub = (a, b) => { if (typeof a === "number" && typeof b === "number") return a - b; return __eliscript_numeric(a) - __eliscript_numeric(b); };
69
- const __eliscript_numeric_mul = (a, b) => { if (typeof a === "number" && typeof b === "number") return a * b; return __eliscript_numeric(a) * __eliscript_numeric(b); };
70
- const __eliscript_numeric_div = (a, b) => { if (typeof a === "number" && typeof b === "number") return a / b; return __eliscript_numeric(a) / __eliscript_numeric(b); };
71
- const __eliscript_numeric_rem = (a, b) => { if (typeof a === "number" && typeof b === "number") return a % b; return __eliscript_numeric(a) % __eliscript_numeric(b); };
72
- const __eliscript_numeric_and = (a, b) => { if (typeof a === "number" && typeof b === "number") return a & b; return __eliscript_numeric(a) & __eliscript_numeric(b); };
73
- const __eliscript_numeric_or = (a, b) => { if (typeof a === "number" && typeof b === "number") return a | b; return __eliscript_numeric(a) | __eliscript_numeric(b); };
74
- const __eliscript_numeric_xor = (a, b) => { if (typeof a === "number" && typeof b === "number") return a ^ b; return __eliscript_numeric(a) ^ __eliscript_numeric(b); };
75
- const __eliscript_numeric_shl = (a, b) => { if (typeof a === "number" && typeof b === "number") return a << b; return __eliscript_numeric(a) << __eliscript_numeric(b); };
76
- const __eliscript_numeric_shr = (a, b) => { if (typeof a === "number" && typeof b === "number") return a >> b; return __eliscript_numeric(a) >> __eliscript_numeric(b); };
77
- const __eliscript_numeric_ushr = (a, b) => { if (typeof a === "number" && typeof b === "number") return a >>> b; return __eliscript_numeric(a) >>> __eliscript_numeric(b); };
78
- const __eliscript_numeric_neg = (a) => typeof a === "number" ? -a : -__eliscript_numeric(a);
79
- const __eliscript_numeric_int32 = (a) => typeof a === "number" ? a | 0 : __eliscript_numeric(a) | 0;
80
- const __eliscript_numeric_uint32 = (a) => typeof a === "number" ? a >>> 0 : __eliscript_numeric(a) >>> 0;
81
- const __eliscript_numeric_not = (a) => typeof a === "number" ? ~a : ~__eliscript_numeric(a);
82
- const __eliscript_numeric_relation = (operator, left, right) => {
83
- if (typeof left === "number" && typeof right === "number") {
84
- if (operator === "<") return left < right;
85
- if (operator === "<=") return left <= right;
86
- if (operator === ">") return left > right;
87
- return left >= right;
88
- }
89
- let a = __eliscript_numeric_primitive(left);
90
- let b = __eliscript_numeric_primitive(right);
91
- const x = typeof a, y = typeof b;
92
- if (!((x === "string" && y === "string") || (x === "bigint" && y === "string") || (x === "string" && y === "bigint"))) {
93
- a = __eliscript_numeric(a);
94
- b = __eliscript_numeric(b);
95
- }
96
- if (operator === "<") return a < b;
97
- if (operator === "<=") return a <= b;
98
- if (operator === ">") return a > b;
99
- return a >= b;
100
- };
101
8
 
102
9
  import {readFile, writeFile, realpath, lstat} from "node:fs/promises";
103
10
  import {resolve, dirname, basename, isAbsolute} from "node:path";
@@ -358,6 +265,5 @@ async function runOriginalToolsCLI(arguments$) {
358
265
  return ((globalThis.process)["exitCode"] = 1);
359
266
  })) : null);
360
267
  const main = runOriginalToolsCLI;
361
- __eliscript_tdz_ready_1 = true;
362
268
  export {authenticateOriginalToolsCLI, projectOriginalToolsCLIArguments, runOriginalToolsCLI, main};
363
269
  //# sourceMappingURL=compiler-corpus-tools-cli.mjs.map
@@ -1,143 +1,14 @@
1
1
  // Generated by Eliscript. Do not edit.
2
2
  import { tdz as __eliscript_tdz_error, immutable as __eliscript_const_error } from "data:text/javascript;base64,Y29uc3QgRSA9IFJlZmVyZW5jZUVycm9yOyBjb25zdCBUID0gVHlwZUVycm9yOyBleHBvcnQgZnVuY3Rpb24gdGR6KG5hbWUpIHsgdGhyb3cgbmV3IEUoIkNhbm5vdCBhY2Nlc3MgJyIgKyBuYW1lICsgIicgYmVmb3JlIGluaXRpYWxpemF0aW9uIik7IH0gZXhwb3J0IGZ1bmN0aW9uIGltbXV0YWJsZSgpIHsgdGhyb3cgbmV3IFQoIkFzc2lnbm1lbnQgdG8gY29uc3RhbnQgdmFyaWFibGUuIik7IH0K";
3
- var __eliscript_tdz_ready_0;
4
- function __eliscript_tdz_read_0() { if (__eliscript_tdz_ready_0 !== true) __eliscript_tdz_error("configuration_path"); return configuration_path; }
5
- function __eliscript_tdz_write_0(__eliscript_tdz_value_0) { if (__eliscript_tdz_ready_0 !== true) __eliscript_tdz_error("configuration_path"); return __eliscript_const_error(); }
6
- var __eliscript_tdz_ready_1;
7
- function __eliscript_tdz_read_1() { if (__eliscript_tdz_ready_1 !== true) __eliscript_tdz_error("configuration"); return configuration; }
8
- function __eliscript_tdz_write_1(__eliscript_tdz_value_1) { if (__eliscript_tdz_ready_1 !== true) __eliscript_tdz_error("configuration"); return __eliscript_const_error(); }
9
- var __eliscript_tdz_ready_2;
10
- function __eliscript_tdz_read_2() { if (__eliscript_tdz_ready_2 !== true) __eliscript_tdz_error("proof"); return proof; }
11
- function __eliscript_tdz_write_2(__eliscript_tdz_value_2) { if (__eliscript_tdz_ready_2 !== true) __eliscript_tdz_error("proof"); return __eliscript_const_error(); }
12
- var __eliscript_tdz_ready_3;
13
- function __eliscript_tdz_read_3() { if (__eliscript_tdz_ready_3 !== true) __eliscript_tdz_error("self"); return self; }
14
- function __eliscript_tdz_write_3(__eliscript_tdz_value_3) { if (__eliscript_tdz_ready_3 !== true) __eliscript_tdz_error("self"); return __eliscript_const_error(); }
15
- var __eliscript_tdz_ready_4;
16
- function __eliscript_tdz_read_4() { if (__eliscript_tdz_ready_4 !== true) __eliscript_tdz_error("module_file"); return module_file; }
17
- function __eliscript_tdz_write_4(__eliscript_tdz_value_4) { if (__eliscript_tdz_ready_4 !== true) __eliscript_tdz_error("module_file"); return __eliscript_const_error(); }
18
3
  var __eliscript_tdz_ready_5;
19
4
  function __eliscript_tdz_read_5() { if (__eliscript_tdz_ready_5 !== true) __eliscript_tdz_error("host"); return host; }
20
- function __eliscript_tdz_write_5(__eliscript_tdz_value_5) { if (__eliscript_tdz_ready_5 !== true) __eliscript_tdz_error("host"); return __eliscript_const_error(); }
21
- var __eliscript_tdz_ready_6;
22
- function __eliscript_tdz_read_6() { if (__eliscript_tdz_ready_6 !== true) __eliscript_tdz_error("assets"); return assets; }
23
- function __eliscript_tdz_write_6(__eliscript_tdz_value_6) { if (__eliscript_tdz_ready_6 !== true) __eliscript_tdz_error("assets"); return __eliscript_const_error(); }
24
- var __eliscript_tdz_ready_7;
25
- function __eliscript_tdz_read_7() { if (__eliscript_tdz_ready_7 !== true) __eliscript_tdz_error("asset"); return asset; }
26
- function __eliscript_tdz_write_7(__eliscript_tdz_value_7) { if (__eliscript_tdz_ready_7 !== true) __eliscript_tdz_error("asset"); return __eliscript_const_error(); }
27
- var __eliscript_tdz_ready_8;
28
- function __eliscript_tdz_read_8() { if (__eliscript_tdz_ready_8 !== true) __eliscript_tdz_error("record_match"); return record_match; }
29
- function __eliscript_tdz_write_8(__eliscript_tdz_value_8) { if (__eliscript_tdz_ready_8 !== true) __eliscript_tdz_error("record_match"); return __eliscript_const_error(); }
30
- var __eliscript_tdz_ready_9;
31
- function __eliscript_tdz_read_9() { if (__eliscript_tdz_ready_9 !== true) __eliscript_tdz_error("runtime_file"); return runtime_file; }
32
- function __eliscript_tdz_write_9(__eliscript_tdz_value_9) { if (__eliscript_tdz_ready_9 !== true) __eliscript_tdz_error("runtime_file"); return __eliscript_const_error(); }
33
- var __eliscript_tdz_ready_10;
34
- function __eliscript_tdz_read_10() { if (__eliscript_tdz_ready_10 !== true) __eliscript_tdz_error("runtime_path"); return runtime_path; }
35
- function __eliscript_tdz_write_10(__eliscript_tdz_value_10) { if (__eliscript_tdz_ready_10 !== true) __eliscript_tdz_error("runtime_path"); return __eliscript_const_error(); }
36
5
  var __eliscript_tdz_ready_11;
37
6
  function __eliscript_tdz_read_11() { if (__eliscript_tdz_ready_11 !== true) __eliscript_tdz_error("host_url"); return host_url; }
38
- function __eliscript_tdz_write_11(__eliscript_tdz_value_11) { if (__eliscript_tdz_ready_11 !== true) __eliscript_tdz_error("host_url"); return __eliscript_const_error(); }
39
- var __eliscript_tdz_ready_12;
40
- function __eliscript_tdz_read_12() { if (__eliscript_tdz_ready_12 !== true) __eliscript_tdz_error("runtime_url"); return runtime_url; }
41
- function __eliscript_tdz_write_12(__eliscript_tdz_value_12) { if (__eliscript_tdz_ready_12 !== true) __eliscript_tdz_error("runtime_url"); return __eliscript_const_error(); }
42
7
  var __eliscript_tdz_ready_13;
43
8
  function __eliscript_tdz_read_13() { if (__eliscript_tdz_ready_13 !== true) __eliscript_tdz_error("prefix"); return prefix; }
44
- function __eliscript_tdz_write_13(__eliscript_tdz_value_13) { if (__eliscript_tdz_ready_13 !== true) __eliscript_tdz_error("prefix"); return __eliscript_const_error(); }
45
- var __eliscript_tdz_ready_14;
46
- function __eliscript_tdz_read_14() { if (__eliscript_tdz_ready_14 !== true) __eliscript_tdz_error("parents"); return parents; }
47
- function __eliscript_tdz_write_14(__eliscript_tdz_value_14) { if (__eliscript_tdz_ready_14 !== true) __eliscript_tdz_error("parents"); return __eliscript_const_error(); }
48
9
  import "eliscript/runtime/unicode-case.mjs";
49
- import { c as __eliscript_at, d as __eliscript_at_direct } from "data:text/javascript;base64,dmFyIG09UmVmbGVjdC5hcHBseSx0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aKHkoZSwyKSwhMSksdD1vLG49aTtjb250aW51ZX1pZih0PT09RSl7bGV0IG89cyh0LG4sZSk7aWYobiE9PWomJm4hPT1LJiZuIT09eiYmbiE9PU0mJm4hPT1OJiZuIT09cyYmbiE9PUUpcmV0dXJuIG87bGV0IGk9bixmPXkoZSwwKSxiPVgoZSwxKSxwPSguLi51KT0+TChpLGYsU3QoYix1KSk7VChwLHB0LHt2YWx1ZToodSk9PnUgaW5zdGFuY2VvZiBpLGNvbmZpZ3VyYWJsZTohMH0pO2xldCByPXMoRSxwLFt2b2lkIDBdKTt1dChyLGZ0KG8pKTtsZXQgbD1hdChvKTtmb3IobGV0IHU9MDt1PGwubGVuZ3RoO3UrKylUKHIsbFt1XSxsdChvLGxbdV0pKTtyZXR1cm4gcn1yZXR1cm4gcyh0LG4sZSl9fWZ1bmN0aW9uIFJ0KHQsbil7bGV0IGU9dFtuXTtyZXR1cm4oLi4ubyk9PkwoZSx0LG8pfWZ1bmN0aW9uIEF0KHQsbiwuLi5lKXtsZXQgbz10W25dO3JldHVybiBMKG8sdCxlKX1leHBvcnR7UnQgYXMgYyxBdCBhcyBkfTs=";
10
+ import { __eliscript_at, __eliscript_at_direct, __eliscript_to_number, __eliscript_numeric_decrement, __eliscript_numeric_relation, __eliscript_numeric_sub, __eliscript_numeric_mul, __eliscript_numeric_div, __eliscript_numeric_rem, __eliscript_numeric_and, __eliscript_numeric_or, __eliscript_numeric_xor, __eliscript_numeric_shl, __eliscript_numeric_shr, __eliscript_numeric_ushr, __eliscript_numeric_neg, __eliscript_numeric_int32, __eliscript_numeric_uint32, __eliscript_numeric_not } from "eliscript/runtime/prelude.mjs";
50
11
  const __eliscript_truthy = (value) => value !== false && value != null;
51
- const __eliscript_number_intrinsic = globalThis.Number;
52
- const __eliscript_bigint_intrinsic = globalThis.BigInt;
53
- const __eliscript_numeric_apply = globalThis.Reflect.apply;
54
- const __eliscript_numeric_symbol = globalThis.Symbol.toPrimitive;
55
- const __eliscript_numeric_error = globalThis.TypeError;
56
- const __eliscript_numeric_trim = globalThis.String.prototype.trim;
57
- const __eliscript_numeric_slice = globalThis.String.prototype.slice;
58
- const __eliscript_numeric_exec = globalThis.RegExp.prototype.exec;
59
- const __eliscript_numeric_radix = /^(?:0[xX][0-9a-fA-F]+|0[oO][0-7]+|0[bB][01]+)$/;
60
- const __eliscript_numeric_object = (value) => value !== null && (typeof value === "object" || typeof value === "function" || (typeof value === "undefined" && value !== void 0));
61
- const __eliscript_numeric_primitive = (value) => {
62
- if (!__eliscript_numeric_object(value)) return value;
63
- const exotic = value[__eliscript_numeric_symbol];
64
- if (exotic !== void 0 && exotic !== null) {
65
- const result = __eliscript_numeric_apply(exotic, value, ["number"]);
66
- if (!__eliscript_numeric_object(result)) return result;
67
- throw new __eliscript_numeric_error("Cannot convert object to primitive value");
68
- }
69
- for (let index = 0; index < 2; index++) {
70
- const method = value[index === 0 ? "valueOf" : "toString"];
71
- if (typeof method === "function" || (typeof method === "undefined" && method !== void 0)) {
72
- const result = __eliscript_numeric_apply(method, value, []);
73
- if (!__eliscript_numeric_object(result)) return result;
74
- }
75
- }
76
- throw new __eliscript_numeric_error("Cannot convert object to primitive value");
77
- };
78
- const __eliscript_to_number = (value) => {
79
- const primitive = __eliscript_numeric_primitive(value);
80
- if (typeof primitive === "string") {
81
- const text = __eliscript_numeric_apply(__eliscript_numeric_trim, primitive, []);
82
- if (__eliscript_numeric_apply(__eliscript_numeric_exec, __eliscript_numeric_radix, [text]) !== null) {
83
- let first = 2;
84
- while (first < text.length && text[first] === "0") first++;
85
- if (first === text.length) return 0;
86
- const prefix = text[1];
87
- const limit = prefix === "x" || prefix === "X" ? 256 : prefix === "b" || prefix === "B" ? 1024 : 342;
88
- if (text.length - first > limit) return 1 / 0;
89
- const token = __eliscript_numeric_apply(__eliscript_numeric_slice, text, [0, 2]) + __eliscript_numeric_apply(__eliscript_numeric_slice, text, [first]);
90
- return __eliscript_number_intrinsic(__eliscript_bigint_intrinsic(token));
91
- }
92
- }
93
- return __eliscript_number_intrinsic(primitive);
94
- };
95
- const __eliscript_numeric = (value) => {
96
- if (typeof value === "number" || typeof value === "bigint") return value;
97
- const primitive = __eliscript_numeric_primitive(value);
98
- if (typeof primitive === "number" || typeof primitive === "bigint") return primitive;
99
- return typeof primitive === "string" ? __eliscript_to_number(primitive) : +primitive;
100
- };
101
- const __eliscript_implicit_number = (value) => {
102
- if (typeof value === "number") return value;
103
- const primitive = __eliscript_numeric_primitive(value);
104
- if (typeof primitive === "bigint") throw new __eliscript_numeric_error("Cannot convert a BigInt value to a number");
105
- return typeof primitive === "string" ? __eliscript_to_number(primitive) : +primitive;
106
- };
107
- const __eliscript_numeric_decrement = (value) => __eliscript_implicit_number(value) - 1;
108
- const __eliscript_numeric_sub = (a, b) => { if (typeof a === "number" && typeof b === "number") return a - b; return __eliscript_numeric(a) - __eliscript_numeric(b); };
109
- const __eliscript_numeric_mul = (a, b) => { if (typeof a === "number" && typeof b === "number") return a * b; return __eliscript_numeric(a) * __eliscript_numeric(b); };
110
- const __eliscript_numeric_div = (a, b) => { if (typeof a === "number" && typeof b === "number") return a / b; return __eliscript_numeric(a) / __eliscript_numeric(b); };
111
- const __eliscript_numeric_rem = (a, b) => { if (typeof a === "number" && typeof b === "number") return a % b; return __eliscript_numeric(a) % __eliscript_numeric(b); };
112
- const __eliscript_numeric_and = (a, b) => { if (typeof a === "number" && typeof b === "number") return a & b; return __eliscript_numeric(a) & __eliscript_numeric(b); };
113
- const __eliscript_numeric_or = (a, b) => { if (typeof a === "number" && typeof b === "number") return a | b; return __eliscript_numeric(a) | __eliscript_numeric(b); };
114
- const __eliscript_numeric_xor = (a, b) => { if (typeof a === "number" && typeof b === "number") return a ^ b; return __eliscript_numeric(a) ^ __eliscript_numeric(b); };
115
- const __eliscript_numeric_shl = (a, b) => { if (typeof a === "number" && typeof b === "number") return a << b; return __eliscript_numeric(a) << __eliscript_numeric(b); };
116
- const __eliscript_numeric_shr = (a, b) => { if (typeof a === "number" && typeof b === "number") return a >> b; return __eliscript_numeric(a) >> __eliscript_numeric(b); };
117
- const __eliscript_numeric_ushr = (a, b) => { if (typeof a === "number" && typeof b === "number") return a >>> b; return __eliscript_numeric(a) >>> __eliscript_numeric(b); };
118
- const __eliscript_numeric_neg = (a) => typeof a === "number" ? -a : -__eliscript_numeric(a);
119
- const __eliscript_numeric_int32 = (a) => typeof a === "number" ? a | 0 : __eliscript_numeric(a) | 0;
120
- const __eliscript_numeric_uint32 = (a) => typeof a === "number" ? a >>> 0 : __eliscript_numeric(a) >>> 0;
121
- const __eliscript_numeric_not = (a) => typeof a === "number" ? ~a : ~__eliscript_numeric(a);
122
- const __eliscript_numeric_relation = (operator, left, right) => {
123
- if (typeof left === "number" && typeof right === "number") {
124
- if (operator === "<") return left < right;
125
- if (operator === "<=") return left <= right;
126
- if (operator === ">") return left > right;
127
- return left >= right;
128
- }
129
- let a = __eliscript_numeric_primitive(left);
130
- let b = __eliscript_numeric_primitive(right);
131
- const x = typeof a, y = typeof b;
132
- if (!((x === "string" && y === "string") || (x === "bigint" && y === "string") || (x === "string" && y === "bigint"))) {
133
- a = __eliscript_numeric(a);
134
- b = __eliscript_numeric(b);
135
- }
136
- if (operator === "<") return a < b;
137
- if (operator === "<=") return a <= b;
138
- if (operator === ">") return a > b;
139
- return a >= b;
140
- };
141
12
 
142
13
  import {spawnSync} from "node:child_process";
143
14
  import * as Module from "node:module";
@@ -154,39 +25,27 @@ function digest(bytes) {
154
25
  return ((createHash("sha256"))["update"](bytes))["digest"]("hex");
155
26
  }
156
27
  const configuration_path = ((globalThis.process)["env"])["ELISCRIPT_ORIGINAL_COMPILER_SESSION"];
157
- __eliscript_tdz_ready_0 = true;
158
- ((!((((__eliscript_value) => { if (__eliscript_value === null) return "null"; const __eliscript_host_type = typeof __eliscript_value; if (__eliscript_host_type !== "object" && __eliscript_host_type !== "function") return __eliscript_host_type; try { const __eliscript_type = Object.getOwnPropertyDescriptor(__eliscript_value, Symbol.for("eliscript.value.type")); if (__eliscript_type && Object.prototype.hasOwnProperty.call(__eliscript_type, "value") && (__eliscript_type.value === "keyword" || __eliscript_type.value === "symbol")) return __eliscript_type.value; const __eliscript_kind = Object.getOwnPropertyDescriptor(__eliscript_value, "kind"); if (__eliscript_kind && Object.prototype.hasOwnProperty.call(__eliscript_kind, "value")) { if (__eliscript_kind.value === "eliscript/keyword") return "keyword"; if (__eliscript_kind.value === "eliscript/symbol") return "symbol"; } return __eliscript_host_type; } catch { return __eliscript_host_type; } })((__eliscript_tdz_read_0())) === "string") && __eliscript_numeric_relation(">", (((__eliscript_tdz_read_0())) ?? []).length, 0))) ? fail("the actual original session configuration is required") : null);
159
- const configuration = JSON.parse(readFileSync((__eliscript_tdz_read_0()), "utf8"));
160
- __eliscript_tdz_ready_1 = true;
161
- const proof = JSON.parse(readFileSync(resolve(dirname((__eliscript_tdz_read_0())), "__eliscript_tools_data_reference.json"), "utf8"));
162
- __eliscript_tdz_ready_2 = true;
28
+ ((!((((__eliscript_value) => { if (__eliscript_value === null) return "null"; const __eliscript_host_type = typeof __eliscript_value; if (__eliscript_host_type !== "object" && __eliscript_host_type !== "function") return __eliscript_host_type; try { const __eliscript_type = Object.getOwnPropertyDescriptor(__eliscript_value, Symbol.for("eliscript.value.type")); if (__eliscript_type && Object.prototype.hasOwnProperty.call(__eliscript_type, "value") && (__eliscript_type.value === "keyword" || __eliscript_type.value === "symbol")) return __eliscript_type.value; const __eliscript_kind = Object.getOwnPropertyDescriptor(__eliscript_value, "kind"); if (__eliscript_kind && Object.prototype.hasOwnProperty.call(__eliscript_kind, "value")) { if (__eliscript_kind.value === "eliscript/keyword") return "keyword"; if (__eliscript_kind.value === "eliscript/symbol") return "symbol"; } return __eliscript_host_type; } catch { return __eliscript_host_type; } })(configuration_path) === "string") && __eliscript_numeric_relation(">", ((configuration_path) ?? []).length, 0))) ? fail("the actual original session configuration is required") : null);
29
+ const configuration = JSON.parse(readFileSync(configuration_path, "utf8"));
30
+ const proof = JSON.parse(readFileSync(resolve(dirname(configuration_path), "__eliscript_tools_data_reference.json"), "utf8"));
163
31
  const self = fileURLToPath(import.meta.url);
164
- __eliscript_tdz_ready_3 = true;
165
32
  const module_file = "tools/backends/compiler-corpus-tools-reference.mjs";
166
- __eliscript_tdz_ready_4 = true;
167
33
  const host = realpathSync(((globalThis.process)["argv"])[1]);
168
34
  __eliscript_tdz_ready_5 = true;
169
- const assets = ((__eliscript_tdz_read_2()))["sourceAssets"];
170
- __eliscript_tdz_ready_6 = true;
171
- const asset = (__eliscript_truthy(Array.isArray((__eliscript_tdz_read_6()))) ? ((__eliscript_tdz_read_6()))["find"](((entry) => {
172
- return ((entry)["file"] === (__eliscript_tdz_read_4()));
35
+ const assets = (proof)["sourceAssets"];
36
+ const asset = (__eliscript_truthy(Array.isArray(assets)) ? (assets)["find"](((entry) => {
37
+ return ((entry)["file"] === module_file);
173
38
  })) : null);
174
- __eliscript_tdz_ready_7 = true;
175
- const record_match = ((((__eliscript_value) => { if (__eliscript_value === null) return "null"; const __eliscript_host_type = typeof __eliscript_value; if (__eliscript_host_type !== "object" && __eliscript_host_type !== "function") return __eliscript_host_type; try { const __eliscript_type = Object.getOwnPropertyDescriptor(__eliscript_value, Symbol.for("eliscript.value.type")); if (__eliscript_type && Object.prototype.hasOwnProperty.call(__eliscript_type, "value") && (__eliscript_type.value === "keyword" || __eliscript_type.value === "symbol")) return __eliscript_type.value; const __eliscript_kind = Object.getOwnPropertyDescriptor(__eliscript_value, "kind"); if (__eliscript_kind && Object.prototype.hasOwnProperty.call(__eliscript_kind, "value")) { if (__eliscript_kind.value === "eliscript/keyword") return "keyword"; if (__eliscript_kind.value === "eliscript/symbol") return "symbol"; } return __eliscript_host_type; } catch { return __eliscript_host_type; } })(((__eliscript_tdz_read_2()))["recordId"]) === "string") ? (new (globalThis.RegExp)("^original-(?:tools-artifact|managed):compiler-session-tools:(node|bun)$"))["exec"](((__eliscript_tdz_read_2()))["recordId"]) : null);
176
- __eliscript_tdz_ready_8 = true;
39
+ const record_match = ((((__eliscript_value) => { if (__eliscript_value === null) return "null"; const __eliscript_host_type = typeof __eliscript_value; if (__eliscript_host_type !== "object" && __eliscript_host_type !== "function") return __eliscript_host_type; try { const __eliscript_type = Object.getOwnPropertyDescriptor(__eliscript_value, Symbol.for("eliscript.value.type")); if (__eliscript_type && Object.prototype.hasOwnProperty.call(__eliscript_type, "value") && (__eliscript_type.value === "keyword" || __eliscript_type.value === "symbol")) return __eliscript_type.value; const __eliscript_kind = Object.getOwnPropertyDescriptor(__eliscript_value, "kind"); if (__eliscript_kind && Object.prototype.hasOwnProperty.call(__eliscript_kind, "value")) { if (__eliscript_kind.value === "eliscript/keyword") return "keyword"; if (__eliscript_kind.value === "eliscript/symbol") return "symbol"; } return __eliscript_host_type; } catch { return __eliscript_host_type; } })((proof)["recordId"]) === "string") ? (new (globalThis.RegExp)("^original-(?:tools-artifact|managed):compiler-session-tools:(node|bun)$"))["exec"]((proof)["recordId"]) : null);
177
40
  const runtime_file = "runtime/unicode-case.mjs";
178
- __eliscript_tdz_ready_9 = true;
179
- const runtime_path = resolve(root, (__eliscript_tdz_read_9()));
180
- __eliscript_tdz_ready_10 = true;
181
- ((!__eliscript_truthy(((__eliscript_value_2) => (__eliscript_truthy(__eliscript_value_2) ? ((__eliscript_value_3) => (__eliscript_truthy(__eliscript_value_3) ? ((__eliscript_value_4) => (__eliscript_truthy(__eliscript_value_4) ? ((__eliscript_value_5) => (__eliscript_truthy(__eliscript_value_5) ? ((__eliscript_value_6) => (__eliscript_truthy(__eliscript_value_6) ? ((__eliscript_value_7) => (__eliscript_truthy(__eliscript_value_7) ? ((__eliscript_value_8) => (__eliscript_truthy(__eliscript_value_8) ? ((__eliscript_value_9) => (__eliscript_truthy(__eliscript_value_9) ? ((__eliscript_value_10) => (__eliscript_truthy(__eliscript_value_10) ? ((__eliscript_value_11) => (__eliscript_truthy(__eliscript_value_11) ? ((__eliscript_value_12) => (__eliscript_truthy(__eliscript_value_12) ? ((__eliscript_value_13) => (__eliscript_truthy(__eliscript_value_13) ? ((__eliscript_value_14) => (__eliscript_truthy(__eliscript_value_14) ? ((__eliscript_value_15) => (__eliscript_truthy(__eliscript_value_15) ? ((((__eliscript_tdz_read_7()))["sourceSha256"] === digest(readFileSync((__eliscript_tdz_read_3())))) && (((__eliscript_tdz_read_2()))["transportHostSha256"] === digest(readFileSync((__eliscript_tdz_read_5()))))) : __eliscript_value_15))((__eliscript_tdz_read_7())) : __eliscript_value_14))((((__eliscript_tdz_read_2()))["runtimeSha256"] === digest(readFileSync((__eliscript_tdz_read_10()))))) : __eliscript_value_13))((realpathSync((__eliscript_tdz_read_10())) === (__eliscript_tdz_read_10()))) : __eliscript_value_12))((realpathSync((__eliscript_tdz_read_3())) === realpathSync(resolve(root, (__eliscript_tdz_read_4()))))) : __eliscript_value_11))((((__eliscript_tdz_read_2()))["runtimeFile"] === (__eliscript_tdz_read_9()))) : __eliscript_value_10))((((__eliscript_tdz_read_2()))["moduleFile"] === (__eliscript_tdz_read_4()))) : __eliscript_value_9))((realpathSync((__eliscript_tdz_read_0())) === realpathSync(((__eliscript_tdz_read_2()))["configurationPath"]))) : __eliscript_value_8))((((__eliscript_tdz_read_2()))["sourceRoot"] === ((__eliscript_tdz_read_1()))["sourceRoot"])) : __eliscript_value_7))((realpathSync(root) === realpathSync(((__eliscript_tdz_read_1()))["sourceRoot"]))) : __eliscript_value_6))((((__eliscript_tdz_read_1()))["target"] === "javascript")) : __eliscript_value_5))((((__eliscript_tdz_read_8()))[1] === (__eliscript_truthy(globalThis.Bun) ? "bun" : "node"))) : __eliscript_value_4))((__eliscript_tdz_read_8())) : __eliscript_value_3))((((__eliscript_tdz_read_2()))["version"] === 1)) : __eliscript_value_2))((((__eliscript_tdz_read_2()))["kind"] === "original-tools-data-reference")))) ? fail("the original host or dependency differs from its authenticated source transport") : null);
182
- const host_url = (pathToFileURL((__eliscript_tdz_read_5())))["href"];
41
+ const runtime_path = resolve(root, runtime_file);
42
+ ((!__eliscript_truthy(((__eliscript_value_2) => (__eliscript_truthy(__eliscript_value_2) ? ((__eliscript_value_3) => (__eliscript_truthy(__eliscript_value_3) ? ((__eliscript_value_4) => (__eliscript_truthy(__eliscript_value_4) ? ((__eliscript_value_5) => (__eliscript_truthy(__eliscript_value_5) ? ((__eliscript_value_6) => (__eliscript_truthy(__eliscript_value_6) ? ((__eliscript_value_7) => (__eliscript_truthy(__eliscript_value_7) ? ((__eliscript_value_8) => (__eliscript_truthy(__eliscript_value_8) ? ((__eliscript_value_9) => (__eliscript_truthy(__eliscript_value_9) ? ((__eliscript_value_10) => (__eliscript_truthy(__eliscript_value_10) ? ((__eliscript_value_11) => (__eliscript_truthy(__eliscript_value_11) ? ((__eliscript_value_12) => (__eliscript_truthy(__eliscript_value_12) ? ((__eliscript_value_13) => (__eliscript_truthy(__eliscript_value_13) ? ((__eliscript_value_14) => (__eliscript_truthy(__eliscript_value_14) ? ((__eliscript_value_15) => (__eliscript_truthy(__eliscript_value_15) ? (((asset)["sourceSha256"] === digest(readFileSync(self))) && ((proof)["transportHostSha256"] === digest(readFileSync(host)))) : __eliscript_value_15))(asset) : __eliscript_value_14))(((proof)["runtimeSha256"] === digest(readFileSync(runtime_path)))) : __eliscript_value_13))((realpathSync(runtime_path) === runtime_path)) : __eliscript_value_12))((realpathSync(self) === realpathSync(resolve(root, module_file)))) : __eliscript_value_11))(((proof)["runtimeFile"] === runtime_file)) : __eliscript_value_10))(((proof)["moduleFile"] === module_file)) : __eliscript_value_9))((realpathSync(configuration_path) === realpathSync((proof)["configurationPath"]))) : __eliscript_value_8))(((proof)["sourceRoot"] === (configuration)["sourceRoot"])) : __eliscript_value_7))((realpathSync(root) === realpathSync((configuration)["sourceRoot"]))) : __eliscript_value_6))(((configuration)["target"] === "javascript")) : __eliscript_value_5))(((record_match)[1] === (__eliscript_truthy(globalThis.Bun) ? "bun" : "node"))) : __eliscript_value_4))(record_match) : __eliscript_value_3))(((proof)["version"] === 1)) : __eliscript_value_2))(((proof)["kind"] === "original-tools-data-reference")))) ? fail("the original host or dependency differs from its authenticated source transport") : null);
43
+ const host_url = (pathToFileURL(host))["href"];
183
44
  __eliscript_tdz_ready_11 = true;
184
- const runtime_url = (pathToFileURL((__eliscript_tdz_read_10())))["href"];
185
- __eliscript_tdz_ready_12 = true;
45
+ const runtime_url = (pathToFileURL(runtime_path))["href"];
186
46
  const prefix = "data:text/javascript;base64,";
187
47
  __eliscript_tdz_ready_13 = true;
188
48
  const parents = new (globalThis.Set)();
189
- __eliscript_tdz_ready_14 = true;
190
49
  function data_bytes(specifier) {
191
50
  {
192
51
  let encoded = (specifier)["slice"]((((__eliscript_tdz_read_13())) ?? []).length);
@@ -205,11 +64,11 @@ function host_parent_p(parent) {
205
64
  fail("the selected Node host requires synchronous module hooks");
206
65
  }
207
66
  return (Module)["registerHooks"](({"resolve": ((specifier, context, nextResolve) => {
208
- if (__eliscript_truthy(((__eliscript_value_16) => (__eliscript_truthy(__eliscript_value_16) ? ((__eliscript_value_18) => (__eliscript_truthy(__eliscript_value_18) ? (specifier)["startsWith"]((__eliscript_tdz_read_13())) : __eliscript_value_18))((((__eliscript_value) => { if (__eliscript_value === null) return "null"; const __eliscript_host_type = typeof __eliscript_value; if (__eliscript_host_type !== "object" && __eliscript_host_type !== "function") return __eliscript_host_type; try { const __eliscript_type = Object.getOwnPropertyDescriptor(__eliscript_value, Symbol.for("eliscript.value.type")); if (__eliscript_type && Object.prototype.hasOwnProperty.call(__eliscript_type, "value") && (__eliscript_type.value === "keyword" || __eliscript_type.value === "symbol")) return __eliscript_type.value; const __eliscript_kind = Object.getOwnPropertyDescriptor(__eliscript_value, "kind"); if (__eliscript_kind && Object.prototype.hasOwnProperty.call(__eliscript_kind, "value")) { if (__eliscript_kind.value === "eliscript/keyword") return "keyword"; if (__eliscript_kind.value === "eliscript/symbol") return "symbol"; } return __eliscript_host_type; } catch { return __eliscript_host_type; } })(specifier) === "string")) : __eliscript_value_16))(((__eliscript_value_17) => (__eliscript_truthy(__eliscript_value_17) ? __eliscript_value_17 : ((__eliscript_tdz_read_14()))["has"]((context)["parentURL"])))(host_parent_p((context)["parentURL"]))))) {
67
+ if (__eliscript_truthy(((__eliscript_value_16) => (__eliscript_truthy(__eliscript_value_16) ? ((__eliscript_value_18) => (__eliscript_truthy(__eliscript_value_18) ? (specifier)["startsWith"](prefix) : __eliscript_value_18))((((__eliscript_value) => { if (__eliscript_value === null) return "null"; const __eliscript_host_type = typeof __eliscript_value; if (__eliscript_host_type !== "object" && __eliscript_host_type !== "function") return __eliscript_host_type; try { const __eliscript_type = Object.getOwnPropertyDescriptor(__eliscript_value, Symbol.for("eliscript.value.type")); if (__eliscript_type && Object.prototype.hasOwnProperty.call(__eliscript_type, "value") && (__eliscript_type.value === "keyword" || __eliscript_type.value === "symbol")) return __eliscript_type.value; const __eliscript_kind = Object.getOwnPropertyDescriptor(__eliscript_value, "kind"); if (__eliscript_kind && Object.prototype.hasOwnProperty.call(__eliscript_kind, "value")) { if (__eliscript_kind.value === "eliscript/keyword") return "keyword"; if (__eliscript_kind.value === "eliscript/symbol") return "symbol"; } return __eliscript_host_type; } catch { return __eliscript_host_type; } })(specifier) === "string")) : __eliscript_value_16))(((__eliscript_value_17) => (__eliscript_truthy(__eliscript_value_17) ? __eliscript_value_17 : (parents)["has"]((context)["parentURL"])))(host_parent_p((context)["parentURL"]))))) {
209
68
  data_bytes(specifier);
210
- ((__eliscript_tdz_read_14()))["add"](specifier);
69
+ (parents)["add"](specifier);
211
70
  }
212
- return nextResolve((__eliscript_truthy(((__eliscript_value_19) => (__eliscript_truthy(__eliscript_value_19) ? ((__eliscript_tdz_read_14()))["has"]((context)["parentURL"]) : __eliscript_value_19))((specifier === "eliscript/runtime/unicode-case.mjs"))) ? (__eliscript_tdz_read_12()) : specifier), context);
71
+ return nextResolve((__eliscript_truthy(((__eliscript_value_19) => (__eliscript_truthy(__eliscript_value_19) ? (parents)["has"]((context)["parentURL"]) : __eliscript_value_19))((specifier === "eliscript/runtime/unicode-case.mjs"))) ? runtime_url : specifier), context);
213
72
  })}));
214
73
  })() : (globalThis.Bun)["plugin"](({"name": "authenticated-original-tools-data", "setup": ((builder) => {
215
74
  (builder)["onResolve"](({"filter": new (globalThis.RegExp)("^data:text/javascript;base64,")}), ((request) => {
@@ -219,7 +78,7 @@ function host_parent_p(parent) {
219
78
  {
220
79
  let path = __eliscript_value_20;
221
80
  data_bytes(path);
222
- ((__eliscript_tdz_read_14()))["add"](path);
81
+ (parents)["add"](path);
223
82
  return ({"path": path, "namespace": "original-tools-data"});
224
83
  }
225
84
  }
@@ -228,7 +87,7 @@ function host_parent_p(parent) {
228
87
  }
229
88
  }));
230
89
  (builder)["onResolve"](({"filter": new (globalThis.RegExp)("^data:text/javascript;base64,"), "namespace": "original-tools-data"}), ((request) => {
231
- if ((!__eliscript_truthy(((__eliscript_tdz_read_14()))["has"]((request)["importer"])))) {
90
+ if ((!__eliscript_truthy((parents)["has"]((request)["importer"])))) {
232
91
  fail("unrecognized original data importer");
233
92
  }
234
93
  {
@@ -236,25 +95,25 @@ function host_parent_p(parent) {
236
95
  {
237
96
  let path = __eliscript_value_21;
238
97
  data_bytes(path);
239
- ((__eliscript_tdz_read_14()))["add"](path);
98
+ (parents)["add"](path);
240
99
  return ({"path": path, "namespace": "original-tools-data"});
241
100
  }
242
101
  }
243
102
  }));
244
103
  (builder)["onLoad"](({"filter": new (globalThis.RegExp)(".*"), "namespace": "original-tools-data"}), ((request) => {
245
- if ((!__eliscript_truthy(((__eliscript_tdz_read_14()))["has"]((request)["path"])))) {
104
+ if ((!__eliscript_truthy((parents)["has"]((request)["path"])))) {
246
105
  fail("unrecognized original data module");
247
106
  }
248
107
  return ({"contents": data_bytes((request)["path"]), "loader": "js"});
249
108
  }));
250
109
  (builder)["onResolve"](({"filter": new (globalThis.RegExp)("^eliscript/runtime/unicode-case[.]mjs$"), "namespace": "original-tools-data"}), ((request) => {
251
- if ((!__eliscript_truthy(((__eliscript_tdz_read_14()))["has"]((request)["importer"])))) {
110
+ if ((!__eliscript_truthy((parents)["has"]((request)["importer"])))) {
252
111
  fail("unrecognized original data importer");
253
112
  }
254
- return ({"path": (__eliscript_tdz_read_10()), "namespace": "file"});
113
+ return ({"path": runtime_path, "namespace": "file"});
255
114
  }));
256
115
  return (builder)["onResolve"](({"filter": new (globalThis.RegExp)("^file:"), "namespace": "original-tools-data"}), ((request) => {
257
- if ((!__eliscript_truthy(((__eliscript_tdz_read_14()))["has"]((request)["importer"])))) {
116
+ if ((!__eliscript_truthy((parents)["has"]((request)["importer"])))) {
258
117
  fail("unrecognized original data importer");
259
118
  }
260
119
  return ({"path": fileURLToPath((request)["path"]), "namespace": "file"});