Changes for version 0.1026 - 2010-06-03

  • CHANGES
    • Metakolon's line code has been changed to %% like TT3 and TTerse
    • The default cache_dir is chaned to "$HOME/.xslate_cache"
    • Error messages are improved
  • NEW FEATURES
    • Macros can be called with the filter operator (e.g. expr | my_macro)
    • For Kolon
      • Loop iterators as "$~LOOP_VAR" (e.g. $~item)
      • Loop iterator elements: index, count, size, max, body, is_first, is_last, peep_next, and peep_prev
    • For TTerse
      • Loop iterators as "loop"
      • Loop iterator elements: index, count, size, max, body is_first/first, is_last/last, peep_next/next, and peep_prev/prev.
      • MACRO foo(...) BLOCK ... END syntax
      • WRAPPER "foo.tt" ... END syntax
  • BUG FIXES
    • Empty hash/array literals ware not allowed
    • There ware several edge-case issues in string literals
    • The precedence of the ternary operator was wrong
    • Resolve issue #5: [% "foo' %] was silently accepted

Documentation

Process Xslate Templates
Text::Xslate constants in pure Perl

Modules

High performance template engine
The Xslate compiler
The escaped string representation
Yet another Text::Xslate runtime in pure Perl
Text::Xslate code generator to build Perl code
Text::Xslate constants in pure Perl
Text::Xslate EscapedString in pure Perl
Text::Xslate builtin method call in pure Perl
Text::Xslate opcodes in pure Perl
Text::Xslate pure-Perl virtual machine state
Text::Xslate builtin array type in pure Perl
Text::Xslate builtin hash type in pure Perl
Text::Xslate builtin pair type in pure Perl
The base class of template parsers
The symbol representation used by parsers
The default template syntax
The same as Kolon but using [% ... %] tags
An alternative syntax like Template-Toolkit 2
A set of utilities for Xslate

Provides

in lib/Text/Xslate/Compiler.pm
in lib/Text/Xslate.pm
in lib/Text/Xslate/PP/Const.pm