0x0
A symbolic, Lisp-like language for native Linux programs, with a self-hosted compiler and an assembly seed retained only for first-root recovery.
Build
From a fresh source checkout, recover the trusted compiler and build the normal toolchain:
make bootstrap-from-seed
make
When the trusted release compiler already exists, make is enough.
Create And Run
Create a complete binary project, enter it, and run its main module:
./bin/zero new hello
cd hello
../bin/zero run src/main.0x0
The generated program prints 42. Use --lib for a library, --live for a Live application, or zero init to initialize an existing directory.
Write
A minimal executable is a module with a typed main function:
(⊙ main)
(ƒ main
(∷ (→ Unit I64))
(_)
42)
Run any source file with zero run <file.0x0>.