- MethodBind type added.
- Now methods are first class and can be passed around as arguments
store as a variable and return it from a function and they're first
class callbales.
- Can bind instance to a method bind using .bind() method
- Class.methods() method added -> return a list of all methods as
method binds
- Module.globals() method added -> returns a list of all globals
of that module.
- Var._class -> attribute added which will return the class of the
variable
- Class.name, MethodBind.name, Closure.name attribute and Modue._name
attribute added
- Class._docs, Closure._docs, MethodBind._docs attribute added
- MethodBind.instance attribute added
- ByteBuffer, and Vector classes were created. However thier methods are
limited, and to do.
- Strings supports new line escape "\\n".
- typename will return class name of an instance (was just 'Inst' fixed)
- _repr() method added. if _str method doesn' exists on an instance,
it'll try to call _repr() to make a string.
- number.isint(), number.isbyte() method added
- [], []= operator were added.
pkVar is removed and slots (like wren) are implemented for accessing or passing pocketlang values to C and vice versa. Yet all the slot related functions are callable at runtime (a fiber is associated with the VM) which needs to be refactored to allocate slots even if it's not runtime, to let users make use of the pocketlang values before or without running a function.