lua-users home
lua-l archive

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

On 8 February 2011 11:17, steve donovan <> wrote:
> While we're talking about template engines, there's a little piece of
> code by Rici Lake which is astounding for its power/weight ratio:
> I pulled it out in slightly modified form as:

That's nice, and very similar to mixlua[1] which I've used for the
same purpose. It is a C module which may not suit some, but its method
of operation is straight-forward and it's only a few hundred lines.
The advantage over the suggested preprocessor is mixlua will correctly
ignore instances of the delimiter in Lua comments of strings.