Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 255 Bytes

File metadata and controls

23 lines (16 loc) · 255 Bytes

Tofu Interpreter

Learning how to write an interpreter in Rust.

// Well hello there!
let one = 1;
let three = 3;

let add = fn(x, y) {
    x + y
}

let result = add(one, three);

REPL

To enter the REPL

$ ./cargo run