lua-users home
lua-l archive

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


Thanks for this wonderful overview!  The \* escape reminded me of a
construction that I once used in a template language to denote literal
multi-line strings: all white space between an embedded '\n' up to and
including the next ':' character was skipped.  That allowed to have
nicely indented code/html snippets like so:

local text = "int foo ()
             :    return 5;