Readable by design
Indentation-based blocks and a familiar, expression-oriented syntax. If you can read Python, you can read Tantu.
Python-readable syntax, static types with no null, and Go-style concurrency, compiled to bytecode and run on a hand-built stack VM.
enum Shape:
Circle(Float)
Rect(Float, Float)
fn area(s: Shape) -> Float:
match s:
Circle(r) => 3.14159 * r * r
Rect(w, h) => w * h
fn main() -> Unit:
print(area(Circle(2.0)))
print(area(Rect(3.0, 4.0)))Hover any code block and hit Try it to run it in the playground, the real interpreter, running in your browser. No install required.