https://github.com/tsoding/b
Compiler for the B Programming Language implemented in Crust
https://github.com/tsoding/b
Last synced: 8 months ago
JSON representation
Compiler for the B Programming Language implemented in Crust
- Host: GitHub
- URL: https://github.com/tsoding/b
- Owner: tsoding
- License: mit
- Created: 2025-04-18T18:51:35.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-04-25T13:11:56.000Z (8 months ago)
- Last Synced: 2025-04-29T12:14:44.275Z (8 months ago)
- Language: Rust
- Size: 128 KB
- Stars: 63
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-uxn - B - Compiler for the B Programming Language implemented in Crust, has support for uxn target. (Development tools / Assemblers, compilers & disassemblers)
README
# B Programming Language
> [!WARNING]
> Compiler is not fully implemented yet.
Compiler for the B Programming Language implemented in [Crust](https://github.com/tsoding/crust)
## Dependencies
- [Rust](https://www.rust-lang.org/) - the compiler is written in it;
- [fasm](https://flatassembler.net/) - used as the compiler backend;
- [clang](https://clang.llvm.org/) - for linking with the C runtime;
## Quick Start
```console
$ make
$ ./build/b ./examples/hello.b -o hello
$ ./hello
```
## References
- https://en.wikipedia.org/wiki/B_(programming_language)
- https://web.archive.org/web/20241214022534/https://www.bell-labs.com/usr/dmr/www/kbman.html
- https://github.com/tsoding/good_training_language