Template Toolkit v3 Design Documents

Top Close Open

This directory contains a number of design documents for TT3. They were written in no particular order.

  • 01 - Lower Case Keywords

    Keywords will be lower case in TT3 by default.

  • 02 - Context Free Grammar for Commands

    Keyword-based commands (i.e. directives in TT2) will be parsed by a context free grammar used to parse all expressions. The end result is that keywords will be recognised anywhere that variable expressions are recognised.

  • 03 - The "Fat Arrow" Pair Constructor

    TT3 will use the "Fat Arrow" => operator in the same way that Perl does: the automagically quote a bareword on the left.

  • 04 - Blessing Named Parameters

    When TT3 passes a hash array of named parameters to a subroutine or method, it will first bless them into the Template::Type::Params class so that the called code can tell them apart from a regular hash reference passed as a positional argument.

  • 05 - Hash Items and Virtual Methods

    TT3 will have (at least) one way to explicitly access a hash item or call a virtual method (but not both).


http://tt3.template-toolkit.org/docs/design/index.html last modified 08:19:28 28-Nov-2009