lua-users home
lua-l archive

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


2014-12-29 10:36 GMT+02:00 Enrico Tassi <gares@fettunta.org>:

> Finally the "embeddable" scheme interpreter, Guile, supports Lua syntax
> directly since version 2.0 (didn't try, but this is what the doc says).

I didn't know that, but I tried.

Lua syntax, not quite, but Guile 2.0 supports infix notation, e.g.

    #!curly-infix!#
    {3 * {1 + 2}}
$1 = 9

Spaces around operators are compulsory.