> most notable thing I did recently (besides some fiddling with getting a new > JIT written), was adding a syntax for block-strings. I used <[[ ... ]]> > rather than triple-quotes (like in Python), mostly as this syntax is more > friendly to nesting, and is also fairly unlikely to appear by accident, and > couldn't come up with much "obviously better" at the moment, "<{{ ... }}>" > was another considered option (but is IIRC already used for something), as > was the option of just using triple-quote (would work, but isn't readily > nestable).
You should have a look at Lua's long string syntax if you haven't already: [[ my long string]] You can nest by matching the number of '=' between the brackets: [===[ a long string [=[ with a long string inside it ]=] xx ]===] wes _______________________________________________ fonc mailing list fonc@vpri.org http://vpri.org/mailman/listinfo/fonc