Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
/ cosmo Public archive
forked from mascarenhas/cosmo

Cosmo is a “safe templates” engine for Lua.

Notifications You must be signed in to change notification settings

LuaDist/cosmo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cosmo is a "safe templates" engine.  It allows you to fill nested
templates, providing many of the advantages of Turing-complete
template engines, without without the downside of allowing arbitrary
code in the templates.

The current version of Cosmo is 14.03.04. This release fixes a bug with the latest version of LPEG.

The previous version, 13.01.30, added support for Lua 5.2. Version 10.04.06 added
expressions to selectors $(\<exp\>), 
allowed nested \[\[ \]\] in templates, made commas between subtemplates 
optional, and added a second parameter to cosmo.yield that tells Cosmo 
the first parameter is a literal to be included in the expansion instead 
of an environment.
 
Cosmo is installed as a rock. To install the most recent release
do `luarocks install cosmo`. The Cosmo rock is in the standard
repository. Installation on UNIX-based systems need the gcc toolchain.

About

Cosmo is a “safe templates” engine for Lua.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 100.0%