./textproc/lua-etlua, Embedded templates for Lua

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.3.0, Package name: lua53-etlua-1.3.0, Maintainer: nia

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.


Required to run:
[lang/lua53]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 7.493 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles
   2020-07-02 19:30:23 by Nia Alarie | Files touched by this commit (4)
Log message:
textproc: Add lua-etlua

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.