Changes between Version 9 and Version 10 of Ticket #145


Ignore:
Timestamp:
03/14/2014 10:53:07 AM (5 years ago)
Author:
trev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #145 – Description

    v9 v10  
    44* Implement `ClassType` rather than `StructType`. Properties with functions as their values should turn into methods. An additional parameter should specify metadata, e.g. constructor and destructor functions. 
    55* Classes should inherit from each other, with the `TypedObject` class being the common ancestor. For any property requiring a class as value it should be possible to use its subclass. 
     6* Instantiation using `type.new()` instead of callable types - the latter would require messing with the deprecated `__proto__` property which shouldn't be worth it. 
    67* No automatic garbage collection (cannot be implemented), instead all objects should have a `.free()` method to trigger manual destruction. 
    78* A string type needs to be implemented as an array of `uint16` characters.