#16 Introduces LLVM, alongside functional fn
, var
and return
keywords. A sample executable, asm file and .ll file have been created here.
Sample code in CVast (.cv):
var i32 x = 10;
fn main(x: i32) -> i32 {
var i32 y = 10;
return 0;
}
Syntactically it is very similar to Rust.
Have fun!