Oi the language

This page is a reference to the things Oi understands right now.

Syntax

Oi's syntax is pretty simple! Everything is an expression, expressions all return values, and every expression looks something like this:

And that's it! Although that operator syntax is not really syntax, but rather sugar on top of it. 🎂

There's a subtlety here that we skipped over: even something like 42 or list is actually a method call to an implicit context object. It's all method calls, all the way down! 🐢💥

Simple types

Oi understands integers, strings and booleans.

More types

Oi understands lists and method calls (but not definitions yet).