Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 16, 2014
  1. @kaos

    support silent option in cycle tag (close #195).

    kaos authored
    Notice: we're still not supporting independently cycling the value
    using the `{% cycle varname %}` syntax (where `varname` is the name
    used in a previous `cycle .. as varname` tag).
  2. @kaos
Commits on Jun 29, 2014
  1. @kaos

    Accept any identifier as attribute (Fixes #177)

    kaos authored
    Now, the . for looking up an attribute of a variable will bypass any other reserved meaning that the
    indentifier may normally hold. So, in a way, the attribute lookup opertaion short-circuits the
    keyword mechanism. Which makes sense, as it won't make sense to put a keyword after the dot any way.
Commits on Apr 15, 2014
  1. @kaos
Commits on Apr 10, 2014
  1. @kaos

    support count and plural forms in blocktrans blocks (#131)

    kaos authored
    open question: we ought to support multiple plural tags
      to support languages that have more than two variations
      dependent on the count.
  2. @kaos
Commits on Apr 9, 2014
  1. @kaos

    fix #153: parse (and unparse) comment tags {# .. #}

    kaos authored
    call the {# .. #}-construct for comment tag (previously comment_inline).
    n.b. {% comment %} ... {% endcomment %} is a comment block.
    
    some cleanups in sources_parser + handle the new comment_tag token.
    
    beginnings of tests for the unparser (currently lives in the sources parser test suite).
Commits on Mar 21, 2014
  1. @seriyps
Commits on Feb 27, 2014
  1. @kaos

    New `load` tag (#100)

    kaos authored
    Need more tests before being ready to close this.
Commits on Feb 22, 2014
  1. @kaos

    Use merl [1] for compiling the erlang AST tree (fixes #123).

    kaos authored
    Also, `number_literals` are now converted to erlang integers in the scanner.
    
    [1] https://github.com/richcarl/merl
Commits on Feb 17, 2014
  1. @kaos

    Update api to be explicit about what to compile (fixes #125)

    kaos authored
    New api functions are erlydtl:compile_(file|template)/2,3.
    
    The old versions are still around for backwards compatibility, with
    support for `{file, Filename} | {template, Template}` to offer the
    same level of explicity under a common function name.
Commits on Feb 15, 2014
  1. @kaos

    Fix error reporting.

    kaos authored
    Fixes #129.
Commits on Dec 2, 2013
  1. @kaos
  2. @kaos

    Fix scanner state for extension module on illegal char.

    kaos authored
    This was a regression when moving to the slex based scanner.
Commits on Nov 28, 2013
  1. @kaos
Commits on Nov 27, 2013
  1. @kaos

    Switch to new slex based scanner.

    kaos authored
Commits on Jun 20, 2013
  1. @kaos

    Add support for the extension module in the parser.

    kaos authored
    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.
Commits on Jun 14, 2013
  1. @kaos
Commits on Jun 13, 2013
  1. @kaos

    indentation...

    kaos authored
Commits on Apr 4, 2013
  1. @evanmiller
Commits on Mar 19, 2013
  1. @evanmiller
Commits on Feb 15, 2013
  1. @evanmiller

    Fix line numbers

    evanmiller authored
Commits on Feb 14, 2013
  1. @evanmiller
Commits on Feb 6, 2013
  1. @evanmiller

    Allow vars and attributes to use tag names

    evanmiller authored
    The only remaining reserved words are "not", "and", "in", "or", "as",
    "by", and "with"
Commits on Jul 20, 2012
  1. @psyeugenic

    Add support for {% elif Expr %} syntax

    psyeugenic authored psyeugenic committed
Commits on Feb 19, 2012
  1. Support for {% regroup %} tag.

    Evan Miller authored
  2. Support for {% ifchanged %} tag

    Evan Miller authored
    The implementation is a bit messy as it uses the process dictionary to
    check for previous values in a loop. But I could not think of a clean
    functional way to support this tag without rewriting the entire
    compiler.
Commits on Jun 27, 2011
  1. Blocktrans utilities

    Evan Miller authored
Commits on Jun 24, 2011
  1. Merge branch 'master' of github.com:evanmiller/erlydtl

    Evan Miller authored
    Conflicts:
    	src/erlydtl_compiler.erl
  2. Preliminary blocktrans support

    Evan Miller authored
Commits on May 15, 2011
  1. @doucette
Commits on Mar 20, 2011
  1. @evanmiller
Commits on Mar 19, 2011
  1. @evanmiller

    Change "include" tag to follow Django behavior

    evanmiller authored
    Also support "parsed" keyword of "ssi" tag, which imitates previous
    behavior of "include".
  2. @evanmiller
  3. @evanmiller

    New tag: spaceless

    evanmiller authored
Something went wrong with that request. Please try again.