0.9.0 fixes bugs, adds structs, library_once and textmacro_once.
I didn't have time to document the aditions, the readme would be updated tomorrow with some luck.
this is a sample of structs:
integer x = 0
function vec_add takes vec A, vec B returns vec
local vec C= vec.create()
set C.x = A.x + B.x
set C.y = A.y + B.y
set C.z = A.z + B.z
function vec_string takes vec A returns string
function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
local vec a=vec.create()
local vec b=vec.create()
local vec c
call BJDebugMsg(vec_string(a)+" + "+vec_string(b) +" = "+vec_string(c))
coming soon: methods, inheritance and polymorphism.
(static attributes are currently possible, also private members, although they have no use since there are no methods)
Notice structname.create() would return 0 if the 8190 instance limit is reached, if debug mode is enabled it would show a message in game in that case.
So just be careful not to create more than 8190 instances and if there is that possibility check if the returned struct is not 0.