A strictly typed LLVM based compiler built from the ground up in Rust. Supporting features including: functions, variables, types, namespaces, control flow, and more.
fn fib(n: u64): u64 {
if *n == 0 {
return 0
}
let a = 0
let b = 1
let c = 1
let i = 2
loop {
if *i > *n {
break
}
c = *a + *b
a = *b
b = *c
i = *i + 1
}
return *c
}
Lines of Rust
6,459
Estimated Hours
450+
- Solo Project
- Biggest project i'v done
- Support of functions, variables, arrays, structs, and namespaces
- LLVM based