Compiler for the B Programming Language
a year ago
- #testing
- #B-language
- #compiler
- Compiler for the B Programming Language is implemented in Crust.
- Build and run examples using `make` and `./build/b -run ./examples/hello_world.b`.
- Includes `btest` utility for testing the B compiler on various platforms.
- Run `btest` to test all examples in `./tests/` on supported targets.
- Use `-t` flag to test on specific platforms like `fasm-x86_64-linux` or `uxn`.
- Use `-c` flag to run specific test cases like `upper` or `vector`.
- Combine `-c` and `-t` flags to customize test runs.