Skip to content

bootstrap: s2c's own C is the seed; README: where we are - #31

Merged
vic merged 1 commit into
mainfrom
s2c-seed
Nov 9, 2026
Merged

vic merged 1 commit into
mainfrom
s2c-seed

Conversation

@vic

@vic vic commented Nov 9, 2026

Copy link
Copy Markdown
Owner
  • bootstrap/s2c-seed.c is s2c's own C. The gate builds s2c0 from it with no s0 or s1. s2c0 compiles s2c to s2c1.c, which must equal the seed (else s2c-seed-update). s2c1 compiles itself to the same C (fixpoint). Armed control: a changed seed byte gives FAIL s2c seed stale.
  • srs-build and srs-run now build and use s2c from the s2c seed. The README quick start (hello.srs) prints 24 with it.
  • README: a new "Where We Are" section, test suite paths under tests/s2, and fixed links (every link and backtick path checked to exist).
  • New gate line: tests/s2/prog/tailcall at -O0 through s2c (mirror of s1's tailcall -O0 line).
  • run.sh header comment describes the s2 path first.

Gate: 374 ok, 0 FAIL.

…builds s2c; README: where we are, test suite links
@vic
vic merged commit bf4b52a into main Nov 9, 2026
3 checks passed
@vic
vic deleted the s2c-seed branch November 17, 2026 16:49
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