Hacker News new | ask | show | jobs
by capablanca 5977 days ago
I love Lua. Wish there was a shorter syntax for anonymous functions, though. (function(x) return x*x end)

Also, Lisp macros would be nice (didn't look at metalua)

1 comments

Metalua comes out-of-the-box with a short lambda syntax: "function (x, y, ...) return foobar end" is shortened as "|x,y,...| foobar".

And it comes with macro capabilities, plus syntax extension facilities to make them more user friendly.