lua-users home
lua-l archive

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


A little confused about these syntax choices, especially with :: ->

What separates ljs from killa? Why didn't you fork killa rather than copy-pasting its code?

On Wed, Dec 5, 2018 at 6:09 AM Domingo Alvarez Duarte <mingodad@gmail.com> wrote:
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 !