Experimental statically-typed compiled programming language made with LLVM and Rust. https://ed-lang.org/
Go to file
2023-03-25 16:21:26 +01:00
.github initial 2023-03-25 16:21:26 +01:00
src initial 2023-03-25 16:21:26 +01:00
.gitignore initial 2023-03-25 16:21:26 +01:00
build.rs initial 2023-03-25 16:21:26 +01:00
Cargo.lock initial 2023-03-25 16:21:26 +01:00
Cargo.toml initial 2023-03-25 16:21:26 +01:00
example.ed initial 2023-03-25 16:21:26 +01:00
LICENSE initial 2023-03-25 16:21:26 +01:00
README.md initial 2023-03-25 16:21:26 +01: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);
}