Installation
Milo requires two dependencies:
- Bun — runs the compiler (TypeScript)
- LLVM/Clang — backend code generation and linking
Install Bun
bash
curl -fsSL https://bun.sh/install | bashInstall LLVM
macOS:
bash
brew install llvmUbuntu/Debian:
bash
sudo apt install llvm clangGet Milo
bash
git clone https://github.com/cs01/milo.git
cd miloVerify it works
bash
bun run src/main.ts run examples/hello.miloYou should see:
hello, world!Next: Quickstart →