Skip to content

Harvest self-hosting backends: span sugar (720), Metal/WGSL (689), WASM/eBPF (691) - #828

Merged
godofecht merged 4 commits into
mainfrom
harvest/selfhost-backends-20260831
Sep 5, 2026
Merged

godofecht merged 4 commits into
mainfrom
harvest/selfhost-backends-20260831

Conversation

@godofecht

@godofecht godofecht commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Harvests native self-host backend work for #720, #689 and #691: reference-span sugar, Metal/WGSL codegen, WASM/eBPF codegen, plus the harvested GPU-builtin scope fix. The original branch locally demonstrated a byte-identical second emission, bootstrap_from_c.sh --verify success, and 93 parser/lifetime-domain tests.

Maintenance status (2026-09-01): GitHub currently reports the PR mergeable, but the branch was cut from 3d825504… and its qualification predates several compiler/backend repairs now on main, including #831 and #838. Mergeability does not make the old fixed-point evidence current.

Exact next action: refresh against current main locally, regenerate the bootstrap exactly once at branch tip if source changes require it, then rerun the fixed-point check, ./compiler/scripts/bootstrap_from_c.sh --verify, tests/unit/test_parser.py, and tests/unit/test_lifetime_domains.py. Record the refreshed head SHA and local results before merge. Do not use hosted workflows.

@godofecht
godofecht force-pushed the harvest/selfhost-backends-20260831 branch 2 times, most recently from 95d0775 to 80401cb Compare September 5, 2026 19:02
godofecht and others added 4 commits September 5, 2026 20:19
Harvested from completed Jules session; bootstrap C regenerated separately at branch tip.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LARAuTjD3EYMoJq2EeaKpB
Harvested from completed Jules session; bootstrap C regenerated separately at branch tip.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LARAuTjD3EYMoJq2EeaKpB
Harvested from completed Jules session; bootstrap C regenerated separately at branch tip.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LARAuTjD3EYMoJq2EeaKpB
The harvested gpu-builtin block in flowc_tc_check_expr referenced bare src
where the enclosing function only has ctx[0].src; the emitted C failed to
compile with 13 undeclared-identifier errors. Fixed the 13 call sites and
regenerated the bootstrap C at branch tip via the AGENTS.md binary path.
bootstrap_from_c.sh --verify: ALL PASS.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LARAuTjD3EYMoJq2EeaKpB
@godofecht
godofecht force-pushed the harvest/selfhost-backends-20260831 branch from 80401cb to 59ef552 Compare September 5, 2026 19:19
@godofecht
godofecht merged commit ca422f7 into main Sep 5, 2026
22 checks passed
@godofecht
godofecht deleted the harvest/selfhost-backends-20260831 branch September 5, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant