From 655c7d8d0191440d6573fec7f40b3035557a6676 Mon Sep 17 00:00:00 2001 From: Nexoniarz Date: Mon, 26 Oct 2026 00:38:48 +0100 Subject: [PATCH] docs: Finch's main is the Finch-written compiler Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_015f73FesGZGYPkmDvUcj6QX --- docs/plan/finch.md | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/docs/plan/finch.md b/docs/plan/finch.md index 2ed3e4a..219a66b 100644 --- a/docs/plan/finch.md +++ b/docs/plan/finch.md @@ -61,17 +61,13 @@ Measured from the repository, not from its README alone: ## Where self-hosting stands -The compiler is written in Finch and nothing else. `bootstrap/build.sh` builds it -from the seed (its own IR, Linux x86-64 and ARM64) and then from itself, and -checks the two make identical IR. It passes the 107 tests: programs, refusals, -`-g` builds, a shared library and the language server. The work is on the -`finish-finch` branch of `github.com/Nexoniarz/Finch`; `before-bootstrap` there -is the all-C++ compiler, kept as the backup. `main` is untouched. - -Left: the compiler does not run on macOS or Windows yet (it needs a seed made -with those systems' headers; programs for them are built from Linux with -`--target`), and `main` is switched to this branch only when the author says so, -after merging their local `embed` work. +The compiler is written in Finch and nothing else, and it is `main` of `github.com/Nexoniarz/Finch` +(`before-bootstrap` there is the all-C++ compiler, kept as the backup). `bootstrap/build.sh` builds it from a seed (its +own IR) and then from itself, and checks the two make identical IR. 110 tests pass, also under valgrind with no leaks. +Seeds: Linux x86-64 and ARM64; Windows x86-64 (runs under Wine, compiles itself and passes every test program); macOS +ARM64 and x86-64 (made with the 11.3 SDK, checked as IR only — nobody has run them on a Mac). The language has enums +(also with values inside), `match`, generics and a standard library; the compiler carries its runtime and std inside +itself. ## Rules