docs: Finch's main is the Finch-written compiler

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015f73FesGZGYPkmDvUcj6QX
This commit is contained in:
Nexoniarz 2026-10-26 00:38:48 +01:00
commit 655c7d8d01

View file

@ -61,17 +61,13 @@ Measured from the repository, not from its README alone:
## Where self-hosting stands ## Where self-hosting stands
The compiler is written in Finch and nothing else. `bootstrap/build.sh` builds it The compiler is written in Finch and nothing else, and it is `main` of `github.com/Nexoniarz/Finch`
from the seed (its own IR, Linux x86-64 and ARM64) and then from itself, and (`before-bootstrap` there is the all-C++ compiler, kept as the backup). `bootstrap/build.sh` builds it from a seed (its
checks the two make identical IR. It passes the 107 tests: programs, refusals, own IR) and then from itself, and checks the two make identical IR. 110 tests pass, also under valgrind with no leaks.
`-g` builds, a shared library and the language server. The work is on the Seeds: Linux x86-64 and ARM64; Windows x86-64 (runs under Wine, compiles itself and passes every test program); macOS
`finish-finch` branch of `github.com/Nexoniarz/Finch`; `before-bootstrap` there 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
is the all-C++ compiler, kept as the backup. `main` is untouched. (also with values inside), `match`, generics and a standard library; the compiler carries its runtime and std inside
itself.
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.
## Rules ## Rules