[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A review of changes between 5.1 and 5.2-work3
 
- From: Wim Couwenberg <wim.couwenberg@...>
 
- Date: Fri, 21 May 2010 22:49:25 +0200
 
> http://www.corsix.org/content/look-lua-52-work3
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;
             :}
             :"
Bye,
Wim