Warning
Compiler is not fully implemented yet.
Logo by Strawberry 🍓
Compiler for the B Programming Language implemented in Crust
- Rust - the compiler is written in it;
- fasm - used as the compiler backend;
- clang - for linking with the C runtime;
$ make
$ ./build/b -run ./examples/01_hello_world.b
The compiler supports Uxn target. Make sure you have uxnemu
in your $PATH
if you want to use -run
flag.
$ ./build/b -t uxn -run ./examples/01_hello_world.b ./std/uxn.b
Also check out more examples at ./examples/.