Added clauses to truncate null-values and integers correctly.
You get these with the postgres-adapter from boss_db.

Error messages are:
{function_clause,
    [{erlydtl_filters,truncatewords,
         [1800,8,[]],
         [{file,"src/erlydtl_filters.erl"},{line,994}]},
    ...

and
function_clause,
    [{erlydtl_filters,truncatewords,
         [null,8,[]],
         [{file,"src/erlydtl_filters.erl"},{line,994}]},
    ...
Added filter date_unix_epoch that displays unix time in seconds since 1-1-1970.
Added clauses to display 'undefined' for date and floatformat when input is undefined. This prevents an rendering error.
Let emacs have its way with the indentation... blargh.
add extension_module option, and pass the dtl context to the parse function.
indentational..
indentation...
support recovering from a scanner error using the extension module.
add debug_compiler to the list of valid compiler options.

This will dump the compiled template module source to stdout.
add customized yeccpre.hrl file.
Add support for the extension module in the parser.

The parser can be resumed after resolving parse errors
(it is up to the extension module to do that).

The extension module test still fails since the compiler part has not yet been implemented,
and the tests run at a functional level instead of unit level.
Add support for 'extension' ast tags.

When the parser tags a ast token with a {extension, Tag} tuple,
the Tag is passed to the extension module for compilation.

The test case for the extension module adds the functionality to write

{{ varA or varB }}

Which is equivalent to

{% if varA %}{{ varA }}{% else %}{{ varB }}{% endif %}

With a few (hrmm... ok, maybe not so few) lines of code ;)
Add missing test parser.

Oops. This was hiding in the long list of files that isn't ignored by git (yet)...
Merge pull request #79 from kaos/zotonic

Support for dynamically extending the template language at template compile time
move compiler records to header file.
renamed recover function to be more generic.

It is now called call_extension, and is used to extend the
compiler functionlity at interesting points.

In this commit, the options_match_ast function got
such an extension point.
add more extendability.. minor api tweaks.
Update .gitignore
Merge pull request #81 from kaos/zotonic

Extension work
Don't use a plus-sign to quote spaces
Merge branch 'master' of github.com:evanmiller/erlydtl