lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello !

I'm trying to create an alternative lua/luajit with javascript like syntax:

https://github.com/mingodad/ljs

https://github.com/mingodad/ljsjit

Right now it is lua compatible with a javascript like syntax with compound/pre/pos increment opertors and "exp ? exp_true : exp_false".

It got code and inspiration from:

https://github.com/ex/Killa

https://github.com/sajonoso/jual

and others.

It has a transpiler lua2ljs that can convert most lua to working ljs.

I'm now trying to add a "switch" statement and after that a "class" object/constructor.

I would welcome any contribution/critic/review/idea to improve it.

Cheers !