Skip to content
/ edlang Public

Experimental statically-typed compiled programming language made with LLVM and Rust.

License

Notifications You must be signed in to change notification settings

edg-l/edlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 14, 2024
6698946 · Feb 14, 2024

History

80 Commits
Feb 14, 2024
Jan 15, 2024
Feb 14, 2024
Feb 14, 2024
Feb 14, 2024
Jan 20, 2024
Jan 15, 2024
Feb 14, 2024
Feb 14, 2024
Feb 9, 2024
Mar 25, 2023
Feb 9, 2024
Mar 25, 2023
Feb 13, 2024

Repository files navigation

edlang

An experimental statically-typed compiled programming language made with LLVM and Rust.

Syntax is subject to change any time right now. It has a rusty style for now.

struct Hello {
    x: i32,
    y: i32,
}

fn test(x: Hello) {
    return;
}

fn works(x: i64) -> i64 {
    let z = 0;
    if 2 == x {
        z = x * 2;
    } else {
        z = x * 3;
    }
    return z;
}

fn main() -> i64 {
    let y: i64 = 2;
    let z = y;
    return works(z);
}

Dependencies

  • Rust
  • LLVM 17