- Add inheritance
- Add namespaces
- Add try-catch-finally
- Add import keyword (configure package.path, add paths like "package.inner.*")
- Add
clone()
method - Optionally add an ability to get class name
- Add fallback for switch
- Remove types when creation error occures
- Add ability to call methods from inside constructor
- Add operator overloading methods
- Important - save instance prototype to parent.__meta.__proto - it'll decrease the number of tables in memory
- Merge
Object():clone()
withtable_clone()
(to remove duplicate code)