edlang/README.md

17 lines
262 B
Markdown
Raw Normal View History

2023-03-25 14:29:49 +00:00
# edlang
A toy language I'm making to learn LLVM and compilers.
Syntax is subject to change any time right now. It has a rusty style for now.
```
fn add(a: i64, b: i64) -> i64 {
return a + b;
}
fn main() {
let x = 2 + 3;
let y = add(x, 4);
}
```