A BASIC compiler with an LLVM backend, written in C++.
The goal is to build a modern language with BASIC-inspired syntax that is fully C ABI compatible — allowing direct interop with C libraries without wrappers or bindings.
- C++23 compiler (Clang, GCC or MSVC)
- CMake 4.2+
- Ninja
- LLVM 22+
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Debug
ninja -C buildThe executable is output to bin/lbc.
./build/tests/tests