eliscript 0.0.2 → 0.0.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.
- package/README.md +9 -7
- package/browser/host.mjs +643 -11
- package/browser/worker.mjs +6 -3
- package/dist/browser/host.mjs +643 -11
- package/dist/browser/worker.mjs +6 -3
- package/dist/compiler-artifact.json +1 -1
- package/dist/literal-sources/runtime/core/collection.eli +76 -16
- package/dist/literal-sources/runtime/core/metadata.eli +25 -8
- package/dist/literal-sources/runtime/core/vector.eli +7 -2
- package/dist/literal-sources/stdlib/managed-literal-protocols.eli +18 -7
- package/dist/literal-sources/stdlib/managed-literals.eli +121 -66
- package/dist/stage3-release.json +1 -1
- package/package.json +10 -2
- package/stdlib/core/zipper.eli +73 -40
- package/stdlib/managed-literal-protocols.eli +18 -7
- package/stdlib/managed-literals.eli +121 -66
- package/stdlib/managed-runtime-collection.eli +76 -16
- package/stdlib/managed-runtime-metadata.eli +25 -8
- package/stdlib/managed-runtime-vector.eli +7 -2
- package/tools/backends/dist/release-cli.mjs +2 -0
- package/tools/backends/dist/release-cli.mjs.map +1 -1
- package/tools/backends/stage3-targets.mjs +121 -114
- package/bootstrap/host/eliscript-cli-legacy.mjs +0 -37
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ without a build server or repository files. Include `dist/browser/loader.js`
|
|
|
56
56
|
and use either `data-eliscript` or `<script type="text/eliscript">` tags:
|
|
57
57
|
|
|
58
58
|
```html
|
|
59
|
-
<script defer src="https://unpkg.com/eliscript@0.0.
|
|
59
|
+
<script defer src="https://unpkg.com/eliscript@0.0.3/dist/browser/loader.js"></script>
|
|
60
60
|
<script type="text/eliscript">
|
|
61
61
|
(module app.live
|
|
62
62
|
(print "Hello from in-browser Eliscript!"))
|
|
@@ -65,7 +65,11 @@ and use either `data-eliscript` or `<script type="text/eliscript">` tags:
|
|
|
65
65
|
|
|
66
66
|
Or import the programmatic browser SDK (`eliscript/browser`) to compile single
|
|
67
67
|
modules (`compileSource`, `runSource`), multi-file projects (`compileProject`,
|
|
68
|
-
`moduleGraphUrls`), or DOM script tags (`mountEliscriptScripts`) in memory
|
|
68
|
+
`moduleGraphUrls`), or DOM script tags (`mountEliscriptScripts`) in memory, with
|
|
69
|
+
built-in IR constant-folding/dead-branch optimization (`optimizeProgramIr`),
|
|
70
|
+
optional JavaScript compaction (`optimizeJavaScript` / `{ minify: true }`), and
|
|
71
|
+
extensionless package subpath imports (`(import "eliscript/runtime/core/order" sort)`
|
|
72
|
+
alongside explicit `.mjs`).
|
|
69
73
|
|
|
70
74
|
## What Works Today
|
|
71
75
|
|
|
@@ -82,11 +86,9 @@ modules (`compileSource`, `runSource`), multi-file projects (`compileProject`,
|
|
|
82
86
|
Experimental direct backends and the zero-import managed WASM heap are described
|
|
83
87
|
in the [backend runtime reference](tools/backends/README.md). The current delivery
|
|
84
88
|
uses a JavaScript-hosted stage0–stage3 compiler chain that emits JavaScript,
|
|
85
|
-
WASM and native programs
|
|
86
|
-
|
|
87
|
-
[active plan](docs/bootstrap-0.0.
|
|
88
|
-
Explicit functional-profile acceptance reports deferred stress cases separately
|
|
89
|
-
and does not certify full-corpus or performance acceptance.
|
|
89
|
+
WASM and native programs, with 12,000-depth persistent zipper traversal and
|
|
90
|
+
edited ascent verified across all three output targets:
|
|
91
|
+
[active plan](docs/bootstrap-0.0.3-plan.md).
|
|
90
92
|
|
|
91
93
|
## Project Status
|
|
92
94
|
|