lua-users home
lua-l archive

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


On 3 April 2010 16:20, Shmuel Zeigerman <shmuz@013net.net>
> But does it have to have that meaning in Lua 5.2+ ?
> I doubt there are much code around with constructions like
>    f "hi" "ho" "ha" "he".
> Just let the parser to concatenate all these adjacent string literals.

Just to show one use case, I use a module system where you start each
module with:

require 'dokidoki.module'
[[  list, of, definitions, to, export  ]]

For example: http://github.com/henkboom/dokidoki/blob/master/kernel.lua

    henk