An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

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