Skip to content

Szune/eilang-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eilang 0.5.0

A rewrite of eilang in Rust to improve the performance of the interpreter, while also reimagining the memory model for both improved access times and a smaller memory footprint.

It is very much a work in progress.

Working right now

fn add(x: int, y: int) -> int { // function declarations
	return x + y;
}

added := add(3,2); // variable assignment
if add(2,3) == added {
    println("works all right");
} else if 2 == 3 {
    println("there's a bug");
} else {
    println("there's a bug");
}

println(add(5,9)); // nested function calls, comments, prints "14"

hello := "hello";
world := "world!";
println($"{hello} {world}"); // string interpolation

About

Work in progress: A rewrite of eilang in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages