mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-22 07:58:24 +00:00
Experimental statically-typed compiled programming language made with LLVM and Rust.
https://ed-lang.org/
.github | ||
src | ||
.gitignore | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
example.ed | ||
LICENSE | ||
README.md | ||
simple.ed |
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);
}