Commit 7484e98
Remove dormant ReScript compiler; wire AffineScript CI gate (#43)
* ide: migrate Error-Lang Studio from ReScript to AffineScript
Ports the 6 IDE modules to AffineScript over the MPL-2.0 Dom.affine vdom, adds
the browser host shim (src/host.js: handle table + dom_*/monaco_*/host_* externs
+ event bridge into the TEA loop), flips index.html to /src/host.js, switches the
build to `affinescript compile --deno-esm` (self-contained src/Main.js) + Vite,
and removes the superseded rescript.json + 6 .res modules. Docs/build commands
updated (npm/rescript -> deno task / affinescript).
Verified: all 7 .affine type-check; app compiles clean; host.js + Main.js pass
node --check. Browser runtime is host-side (flagged NOTE: in host.js).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0195yA45jSSP7YDPwJSpw4bM
* patches: add affinescript-dom-licensing.patch (MPL-2.0 + CC-BY-SA-4.0)
Durable copy of the affinescript-dom licensing correction (unpushable to the
out-of-scope hyperpolymath/affinescript). Standalone, manually-applied: corrects
the DOM connector from a mislabelled AGPL header to MPL-2.0 (code) +
CC-BY-SA-4.0 (docs) and evidences it in LICENSES/, the Mustfile, CODEOWNERS,
MAINTAINERS, and GOVERNANCE.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0195yA45jSSP7YDPwJSpw4bM
* Complete ReScript→AffineScript migration: remove .res, wire CI gate
The `.affine` modules under compiler/src/ reached parity with and
superseded the legacy ReScript compiler, which was dormant — no CI job,
deno task, or build file referenced compiler/src/*.res.
- Remove 26 dormant .res sources (17 compiler/src, 7 compiler/test,
2 compiler/fuzz) and compiler/rescript.json.
- Add .github/workflows/affinescript-check.yml: builds the AffineScript
toolchain and type-checks every compiler/src/*.affine via the existing
verification/check-affinescript.sh.
Behavioural .affine test ports remain future work; the type-check gate is
the interim verification for the AffineScript compiler.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0195yA45jSSP7YDPwJSpw4bM
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent aca18a9 commit 7484e98
28 files changed
Lines changed: 38 additions & 10920 deletions
File tree
- .github/workflows
- compiler
- fuzz
- src
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments