Mike Which way did you implement super (either is perfectly acceptable)?
We are limited by the Lua type system, and the way Lua manage self and the ":" method call convention.
For now, super() can be used that way :
-- parent method call
super(self).constructor(self,...)
-- parent property get/set
count = super(self).openfiles
super(self).year = 2022
Mike The ability to define read only properties for my own classes
LuaRT can already implement readonly properties, with a setter method :
function Square:set_readonlyfield()
error("Square.readonlyfield is a readonly property")
end
Mike The ability to define iterators for my own classes. Not essential but highly desirable.
For the moment, it's possible from the C side (yes, it will be possible to write LuaRT binary modules to define custom objects as for sys.File and so on...) and it is planned to do it from Lua too.