Discussion:
Lua with Javascript like sintax LJS
Domingo Alvarez Duarte
2018-12-05 12:09:22 UTC
Permalink
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 !

Loading...