lua-users home
lua-l archive

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

On Tue, 25 Jan 2011 13:12:55 +0200, Alexander Gladysh <> wrote:

Not that useful, IMO. It seems that this will spedup generator (which
is rarely needed) — and nothing much else...

It _simplifies_ generator, a lot - you don't have to escape special characters
in the string, and search for longest ]===]s that are not in the
string so that you can quote it safely, you can embed zeroes, well, any binary data.
Also, you can use whatever binary data as variable names and table keys,
even the keywords, and Lua doesn't mind a bit.