My favorites | Sign in
Project Home Downloads Issues Source
Project Information
Members
Featured
Downloads
Links

Leslie is a Lua implementation of Django template language.

External dependencies

  • lua 5.1
  • lpeg library

Supported tags

  • block (>= 0.2)
  • comment
  • empty
  • extends (>= 0.2)
  • filter (>= 0.3a-pre)
  • for
  • firstof
  • if (partly)
  • ifequal
  • ifnotequal
  • include (>= 0.2)
  • now (>= 0.3a-pre)
  • ssi (>= 0.2)
  • templatetag (>= 0.2)
  • with

Other features

  • template inheritance (>= 0.2)
  • template including (>= 0.2)
  • custom tags (>= 0.2)
  • loading templates from different location (>= 0.3a-pre)
  • custom filters (>= 0.3a-pre)

Filters are currently not supported, but you can try prerelease which supports filters.

For more information about using Django template language see Django template reference.

Release planning

version 0.3

  • filter support
  • custom filters
  • useful wrapper functions

version 0.4

  • complete if tag support (logical operators)
  • complete filter support

version 0.5

  • complete tag support

version 0.6

  • contribute tags and filters
  • lua installer
  • .deb packages / lua rocks

version 0.7 -> 1.0

  • other features?
  • optimizations? (cache, improved identifier resolution, class implementation)
  • lexer (lpeg implementaton)
  • handling parse errors (invalid syntax, unclosed tags, invalid argument passing...)

Powered by Google Project Hosting