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.bThe compiler supports Uxn target. Make sure you have uxnemu in your $PATH if you want to use -run flag.
The compiler supports Govno Core 32 target. Make sure you have gc32 and kasm in your $PATH if you are compiling for this target.
$ ./build/b -t govnocore32 -run ./examples/01_hello_world.b ./std/gc32.bAlso check out more examples at ./examples/.