It's the whole thing.
Every line of the client is Lean: the gossip/turbine node, signature checks, the executor, the sBPF interpreter and JIT, Alpenglow voting, and QUIC/TLS. It's compiled by our own compiler, leanc, which goes straight from Lean source to x86-64 machine code and writes the ELF itself. It doesn't generate C or use LLVM or libc, and the runtime and allocator are also Lean. The output is one static binary that talks to the kernel through raw syscalls.
The compiler itself is about 7.5k lines of C, so it isn't self-hosted. Its job is to turn Lean into machine code. The build will only finish if every array access is proven in-bounds by Lean's kernel.
You can check it yourself: make (works with no C compiler installed) file build/leansol → static x86-64 ELF ls client lib rt → .lean files only
Link: https://t.co/LJXpq15Bpf
