Feature #1608: Integrate Doomsday Script
Subclassing in Doomsday Script
Doomsday Script needs to have a mechanism to derive instances from class objects. For instance, the functions for manipulating a specific type of object should be put in a shared class object.
In practice, this can be a very weakly-typed OO system: classes and instances are both records, and can be used interchangeably.
- Member operator needs to look up symbols from superclasses.
- Instantiating from a record using the call operator.
- Calling a constructor automatically.