https://github.com/liamslj13/banter
A small compiler implementation via LLVM.
https://github.com/liamslj13/banter
compiler cpp cpp26 llvm programming-language
Last synced: 6 months ago
JSON representation
A small compiler implementation via LLVM.
- Host: GitHub
- URL: https://github.com/liamslj13/banter
- Owner: liamslj13
- License: mit
- Created: 2025-05-23T10:08:04.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-06-04T06:51:42.000Z (7 months ago)
- Last Synced: 2025-06-09T03:02:02.318Z (7 months ago)
- Topics: compiler, cpp, cpp26, llvm, programming-language
- Language: C++
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Banter
Banter is a toy programming language implementation via the C++ LLVM APIs.
## Installation and Use
In order to run the banter compiler on your system, you will need to install LLVM.
You can do this on a MacOS device by using Homebrew.
```bash
brew install llvm
```
You can confirm the install and check which version by running the following,
```bash
brew list --versions LLVM
```
and furthermore add LLVM to your path variable with,
```bash
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
```
### Implementation Resources
[1] [Monkey Language C++ Translation - Zhuzilin](https://github.com/zhuzilin/monkey), Orig. [Interpreter Book](https://interpreterbook.com/)
[2] [LLVM Kaleidoscope](https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html)