Rooby 是一种面向对象的语言,可以看作是 Go 和 Ruby 的结合体,旨在实现高效微服务开发。
Can be compiled into bytecode (with `.robc` extension)
Can evaluate bytecode directly
Everything is object
Support comment
Object and Class
Top level main object
Constructor
Support class method
Support inheritance
Support instance variable
Support self
Variables
Constant
Local variable
Instance variable
Method
Support evaluation with arguments
Support evaluation without arguments
Support evaluation with block (closure)
BuiltIn Data Types (All of them are classes )
Class
Integer
String
Boolean
nil (has this type internally but parser hasn't support yet)
Hash
Array
Flow control
If statement
Haven't support `for` or `while` yet
IO
Just `puts` for now