https://github.com/aceinetx/blang
b LLVM compiler
https://github.com/aceinetx/blang
Last synced: about 1 year ago
JSON representation
b LLVM compiler
- Host: GitHub
- URL: https://github.com/aceinetx/blang
- Owner: aceinetx
- Created: 2025-05-31T20:14:17.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-09T11:21:42.000Z (about 1 year ago)
- Last Synced: 2025-06-09T11:27:04.430Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 93.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
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