| 1 |
Cosmo is a "safe templates" engine. It allows you to fill nested |
| 2 |
templates, providing many of the advantages of Turing-complete |
| 3 |
template engines, without without the downside of allowing arbitrary |
| 4 |
code in the templates. |
| 5 |
|
| 6 |
The current version of Cosmo is 13.01.30. This release adds Lua 5.2 support. |
| 7 |
|
| 8 |
The previous version, 10.04.06, added, expressions to selectors $(<exp>), |
| 9 |
allowed nested [[ ]] in templates, made commas between subtemplates |
| 10 |
optional, and added a second parameter to cosmo.yield that tells Cosmo |
| 11 |
the first parameter is a literal to be included in the expansion instead |
| 12 |
of an environment. |
| 13 |
|
| 14 |
Cosmo is installed as a rock. To install the most recent release |
| 15 |
do `luarocks install cosmo`. The Cosmo rock is in the standard |
| 16 |
repository. Installation on UNIX-based systems need the gcc toolchain. |