lua-users home
lua-l archive

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


> Currently, the only allowed forms are:
>     f (blah)
>     f {blah}
>     f "blah"
> although it could easily be extended to take the other atomic constants
>     f 123
>     f nil
>     f true
>     f false
> without any problem.
well maybe without technical problems.
but imho the latter forms are much less readable, so they would create
problems in reading lua code.
(i think already the syntax f"" instead of f("") is worse to read, so i
don't tell my users about it ;-)

Cheers,
Peter Prade