lua-users home
lua-l archive

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

Hello Sam !

I forgot to mention your question about the syntax choice with ":: ->", it's due to not clash with "." and ":" for label, switch, table/json style, ...

I'm open to suggestions about a better choice !

Cheers !

On 10/12/2018 23:00, Sam Pagenkopf wrote:
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 <> wrote:
Hello !

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

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:

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"

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

Cheers !