summaryrefslogtreecommitdiff
path: root/textproc/lua-etlua/DESCR
blob: 1c2ad1a6d2c57d61b5b7511039f3658b823cd81d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Allows you to render ERB style templates but with Lua. Supports <%
%>, <%= %> and <%- %> tags (with optional newline slurping) for
embedding code.

How it works:

- Templates are transparently translated into Lua code and then
  loaded as a function. Rendering a compiled template is very fast.

- Any compile time errors are rewritten to show the original source
  position in the template.

- The parser is aware of strings so you can put closing tags inside
  of a string literal without any problems.