hermes
hermes copied to clipboard
Implement inheritance for objects
Example:
object person = {
void say_hello()
{
print("Hello");
}
};
object John = {
...
} extends person;
John.say_hello()
I dont know ... something like that I guess.
object Person { } object Jhon with Person { } abstract Human { } object James at Human { }
object Maria with Person at Human { }