Try it out on the online playground!
var x = 1;
fun Foo(x) {
print x;
}
class Bar {
boo() {
print 2 + 2;
}
}
class Chocolate < Bar { }
Chocolate().boo()
Based on https://craftinginterpreters.com/
cargo test
includes unit tests as well as integration tests, .txt sample files are inside tests/samples/