https://github.com/albeva/lbc
Simple BASIC compiler
https://github.com/albeva/lbc
Last synced: about 1 month ago
JSON representation
Simple BASIC compiler
- Host: GitHub
- URL: https://github.com/albeva/lbc
- Owner: albeva
- License: mit
- Created: 2026-02-13T18:48:18.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-04-04T10:29:09.000Z (2 months ago)
- Last Synced: 2026-04-04T12:21:48.118Z (2 months ago)
- Language: C++
- Size: 603 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lbc
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.
## Requirements
- C++23 compiler (Clang, GCC or MSVC)
- CMake 4.2+
- Ninja
- LLVM 22+
## Building
```bash
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Debug
ninja -C build
```
The executable is output to `bin/lbc`.
## Testing
```bash
./build/tests/tests
```