https://github.com/lioncat2002/helixlang
A small language compiler
https://github.com/lioncat2002/helixlang
compiler cpp helix language
Last synced: 4 months ago
JSON representation
A small language compiler
- Host: GitHub
- URL: https://github.com/lioncat2002/helixlang
- Owner: Lioncat2002
- Created: 2024-08-07T07:12:13.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-01-13T19:59:20.000Z (6 months ago)
- Last Synced: 2025-02-28T00:53:39.049Z (5 months ago)
- Topics: compiler, cpp, helix, language
- Language: C++
- Homepage:
- Size: 5.26 MB
- Stars: 15
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HelixLang
a small language compiler written in C++
example program:
```rs
fn wrapper(n: number): number {
return n;
}fn main(): void {
println(wrapper(12.34));
}
```## Compile helix code:
- `helix .hlx`
- Help command at `helix -h`
## Todo:
- [x] Codegen using LLVM
- [x] Operator support
- [x] Loop support
- [x] Conditionals support
- [x] Variables support## Requirements:
- LLVM 14
- Clang
- C++ 17
- Cmake 3.22 or greater