Skip to content


Subversion checkout URL

You can clone with
Download ZIP
parser and renderer library for liquid-like templates
Ruby Bison Other
Failed to load latest commit information.
bin change STDOUT, STDERR to their global variable counterparts
doc move the Cadenza manual to it's own project
lib slight update to racc output
perf work on the performance scripts
spec slightly better spec error output
src tidy up the grammar for for blocks
tasks extract RaccParser from Parser as superclass - allows the Parser clas…
.gitignore integrate
.inch.yml add inch.yml to ignore the generated RaccParser class
AUTHORS Add Joe to authors file Update move contributing file to it's own file as suggested by github
Gemfile integrate
Guardfile update guardfile for new guard
Rakefile complete rewrite of the cadenza lexer/parser with TDD
cadenza.gemspec move development dependencies into gemfile Update

Gem Version Build Status Code Climate Inline docs Coverage Status


Cadenza is a template parsing and rendering library for Ruby. The syntax is very similar to other template languages like Django (Python), Smarty (PHP), or Liquid (Ruby).

In addition to the usual template language features, Cadenza features:

  • template inheritance
  • extendable syntax
  • interchangeable lexers, parsers, loaders and renderers


   gem install cadenza


To learn how to both write Cadenza templates and use Cadenza in your Ruby projects have a look at the Cadenza Manual

To learn how to extend Cadenza with custom Lexers, Parsers, Loaders and Renderers visit the Yard Documentation


See: Waffle

(OLD: see Pivotal Tracker Project)

If you have any ideas or suggestions please let me know! I love ideas. You can open an Issue to discuss it.



Supported Ruby Versions

  • Ruby 1.8.7
  • Ruby 1.9.2
  • Ruby 1.9.3
  • Ruby 2.0.0*
  • Ruby Enterprise Edition
  • Rubinius 2.0 (1.8 mode)*
  • Rubinius 2.0 (1.9 mode)*
  • JRuby (1.8 mode)
  • JRuby (1.9 mode)

(*) Some supported ruby interpreters are not officially released yet (such as Rubinius or Ruby 2.0), these are a special case for support:

If you are using Cadenza from Rubygems then we will ensure that the build is passing on that interpreter at the point we are releasing.

If you are using Cadenza from the master branch however, be sure to check our Travis CI page for current build status. No guarantees.


Cadenza is released under the MIT license

Something went wrong with that request. Please try again.