You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
self-host P0: MVP compiler core in t27, byte-identical to gen-c, fixpoint on its own source #5981
A t27 module specs/compiler/core/t27core.t27 that is a compiler: it reads t27 source from a byte buffer, lexes, parses, and writes C to an output buffer.
Written only in the subset t27c gen-c handles today (global arrays/scalars, scalar fns, while/if/else if/break/continue/return, casts, char literals, and/or, bit ops, shifts). No structs, no strings -- parallel arrays.
This is already done: #6041 (specs/compiler/core/t27core.t27 + bootstrap/tests/core_selfhost.rs, fixpoint with gen-c) merged to master as 1953c75. A bee now on this issue should stop and open no PR; the next work for epic #5980 is the gen-c defects #6046-#6052.
Activity
gHashTag commentedon Oct 4, 2026
Implemented in #6041 -- fixpoint holds (
core(t27core.t27) == gen-c(t27core.t27)), 58 corpus specs byte-identical, gated bybootstrap/tests/core_selfhost.rs.gHashTag commentedon Oct 4, 2026
This is already done: #6041 (
specs/compiler/core/t27core.t27+bootstrap/tests/core_selfhost.rs, fixpoint with gen-c) merged to master as 1953c75. A bee now on this issue should stop and open no PR; the next work for epic #5980 is the gen-c defects #6046-#6052.fix(t27c): refuse a Rust match block the parser kept as text; rewrite…
fix(t27c): refuse macro calls and typeless fields; rewrite eight Mark…