lua-users home
lua-l archive

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


> Interesting.  Have you considered using normal string literals to name
> blocks, rather than inventing new punctuation for the task?  I suspect
> it may be more aesthetically pleasing, and it wouldn't break any
> existing code, since a string literal can't legally follow 'do' or
> 'break' in Lua today.

do 'not?':format() end

Surprisingly, it works only with parens around the string in Lua 5.1,
but shouldn't it work in 5.2?

-- 
David Kastrup