rocks-lang 0.2.2

Rust implementation of Crafting Interpreters' Lox Language.
Documentation
1
2
3
4
5
6
7
8
// Bound methods have identity equality.
class Foo {}
class Bar {}

print Foo == Foo; // expect: true
print Foo == Bar; // expect: false
print Bar == Foo; // expect: false
print Bar == Bar; // expect: true