https://github.com/janbaig/llvm-kaleidoscope
Implementing a toy language frontend using LLVM
https://github.com/janbaig/llvm-kaleidoscope
compiler-frontend compilers cpp kaleidoscope llvm
Last synced: about 2 months ago
JSON representation
Implementing a toy language frontend using LLVM
- Host: GitHub
- URL: https://github.com/janbaig/llvm-kaleidoscope
- Owner: janbaig
- Created: 2023-12-20T02:41:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-03T17:05:14.000Z (3 months ago)
- Last Synced: 2025-02-03T18:23:18.666Z (3 months ago)
- Topics: compiler-frontend, compilers, cpp, kaleidoscope, llvm
- Language: C++
- Homepage: https://llvm.org/docs/tutorial/
- Size: 1.8 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LLVM-Kaleidoscope
Designing a compiler leveraging LLVM for code generation, inspired by the architecture of the official LLVM Kaleidoscope tutorial
```bash
// Compiling the cpp version on macOS
clang++ -g -I/opt/homebrew/opt/llvm/include -L/opt/homebrew/opt/llvm/lib -lLLVM -o main main.cpp
```