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:
parent
5843503033
commit
655c7d8d01
1 changed files with 7 additions and 11 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue