Add the web runtime (DOM patcher, events, host bridge) and a browser e2e

web/ is the js-target MoonBit program: it renders app.view into the DOM with a
keyed patcher, turns pointer/touch/key events into app input, runs effects
against window.Android or demo stand-ins, and exposes window.launcher.* for the
Android shell. tests/e2e.cjs ports the legacy Playwright flows and passes
against the build; scripts/build-web.sh assembles dist/web.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
SpriteandClaude Sonnet 5.5 committed 2026-11-23 01:02:08 +00:00
1 parent 28e0284d9b
commit 637129aa4e
10 files changed
+1554

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import {
"experiments/launcher/app",
"experiments/launcher/vdom",
"experiments/launcher/gesture",
"moonbitlang/core/json",
"moonbitlang/core/string",
}
options(
is_main: true,
)
supported_targets = "js"