Hello !
I've updated the repositories with fixes for compound operators on upvalues and also added pre/pos increment operators "++/--".
Cheers !
Hello Felipe !
Look at this https://github.com/mingodad/ljs where I've got ideas andcode from https://github.com/ex/Killa andhttps://github.com/sajonoso/jual and fixed the code for "+= -= *= /= %="to work with indexed variables.
See the table-decl.ljs .
There is a program to translate ".lua" to ".ljs" on folder lua2ljs ituses lemon and re2c to parse lua files and convert to ljs (lua withC/C++/Java/_javascript_ syntax, there is no reason for the extensions toalso work with the original lua syntax.
I also have it done for luajit but it's not yet published.
If anyone want to help I'm now looking for how to implement pre/postincrement/decrement "++"/"--" operators and a class system.
Cheers !