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

https://github.com/aceinetx/blang

b LLVM compiler
https://github.com/aceinetx/blang

Last synced: about 1 year ago
JSON representation

b LLVM compiler

Awesome Lists containing this project

README

          

blang
=====

Ken Thompson's B language compiler implemented in C++ & LLVM

Examples testing
----------------
https://github.com/tsoding/b

- examples/01_hello_world.b
Works perfectly
- examples/02_seq.b
Works perfectly
- examples/03_echo.b
Works perfectly
- examples/04_fib.b
Works perfectly
- examples/05_rule110.b
Works perfectly

How to compile blang and example programs
-----------------------------------------
mkdir build -p && cd build
cmake .. -GNinja
ninja -j$(nproc)

cd ../examples
make