Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-09-05 | Stop mutating parsed AST for code generation | Dirkjan Ochtman | 1 | -1/+0 | |
2017-09-05 | Refactor handling of macros | Dirkjan Ochtman | 1 | -5/+15 | |
2017-09-04 | Clean up and tighten faster version of expr_prec_layer macro | Dirkjan Ochtman | 1 | -15/+10 | |
2017-09-03 | Changed implementation of precedence rules | Lars Erik Rosengren | 1 | -6/+12 | |
This implementation resolves djc/askama#44 by changing the precedence implementation. The previous solution was very slow because it had to try to parse all combinations of precedence layers leading to 2^9 iterations for each expr_any. This is solved by reusing the left operand instead of reparsing it when the operator isn't found. This implementation also solves another related issue that expressions with multiple operators couldn't be parsed, for example {{1 * 2 * 3}}. This is handled by using expr_any for the right operand instead of only using higher level precedence layers. | |||||
2017-08-27 | Move most of the code into new askama_shared crate | Dirkjan Ochtman | 1 | -0/+0 | |
This makes it possible to share code between askama and askama_derive. | |||||
2017-08-24 | Allow {% block name %} {% endblock name %} | Bastien Orivel | 1 | -0/+1 | |
This makes converting an app from tera to askama easier. | |||||
2017-08-22 | Add support for calling macros | Dirkjan Ochtman | 1 | -13/+24 | |
2017-08-22 | Refactor parser handling of arguments | Dirkjan Ochtman | 1 | -21/+19 | |
2017-08-22 | Implement support for macro definition handling | Dirkjan Ochtman | 1 | -1/+43 | |
2017-08-22 | Rename method call internals for clarity | Dirkjan Ochtman | 1 | -2/+2 | |
2017-08-16 | Allow separation of variable declaration and defintion | Dirkjan Ochtman | 1 | -3/+11 | |
2017-08-14 | Add support for simple variable definition statements | Dirkjan Ochtman | 1 | -0/+12 | |
2017-08-06 | Expand include node to template source during code generation | Dirkjan Ochtman | 1 | -4/+2 | |
2017-08-06 | Use one way of finding templates on the path | Dirkjan Ochtman | 1 | -1/+2 | |
2017-08-06 | Merge handling of trailing newline into get_template_source() | Dirkjan Ochtman | 1 | -10/+4 | |
2017-08-04 | Add test for panic on invalid blocks (see #27) | Dirkjan Ochtman | 1 | -0/+5 | |
2017-08-04 | Let parse() panic if template is not parsed completely (fixes #27) | Dirkjan Ochtman | 1 | -1/+8 | |
2017-08-04 | Handle parsing for blocks in one place | Dirkjan Ochtman | 1 | -15/+14 | |
2017-08-04 | Add support for include blocks (see #25) | Dirkjan Ochtman | 1 | -0/+22 | |
2017-08-02 | Fix edge cases in content literal parser (fixes #24) | Dirkjan Ochtman | 1 | -11/+26 | |
2017-05-26 | Add support for chained attributes (fixes #22) | Dirkjan Ochtman | 1 | -12/+21 | |
2017-03-06 | Hide askama_derive dependency inside askama (fixes #2) | Dirkjan Ochtman | 1 | -0/+0 | |
2017-03-03 | Add basic support for comments | Dirkjan Ochtman | 1 | -1/+10 | |
2017-03-03 | Add support for parenthesized expressions | Dirkjan Ochtman | 1 | -1/+8 | |
2017-02-18 | Add support for method calls | Dirkjan Ochtman | 1 | -1/+7 | |
2017-02-18 | Add parser for identifiers | Dirkjan Ochtman | 1 | -12/+26 | |
2017-02-18 | Add support for filters with multiple arguments | Dirkjan Ochtman | 1 | -6/+34 | |
2017-02-18 | Add support for attributes | Dirkjan Ochtman | 1 | -1/+11 | |
2017-02-17 | Add support for integer literals | Dirkjan Ochtman | 1 | -0/+6 | |
2017-02-17 | Use better parsing strategy for filter expressions | Dirkjan Ochtman | 1 | -26/+22 | |
2017-02-17 | Import alphanumeric from nom to simplify macro handling | Dirkjan Ochtman | 1 | -5/+5 | |
2017-02-17 | Derive Debug for parser AST enums | Dirkjan Ochtman | 1 | -1/+4 | |
2017-02-17 | Add support for most binary operators | Dirkjan Ochtman | 1 | -1/+8 | |
2017-02-17 | Use macro to prevent repetitive parser definitions | Dirkjan Ochtman | 1 | -22/+17 | |
2017-02-13 | Implement support for mul, div, mod operators | Dirkjan Ochtman | 1 | -3/+13 | |
2017-02-13 | Establish expression parser hierarchy | Dirkjan Ochtman | 1 | -13/+14 | |
2017-02-13 | Generically represent binary operators in parse tree | Dirkjan Ochtman | 1 | -3/+3 | |
2017-02-08 | Use is_none() for simple Option tests | Dirkjan Ochtman | 1 | -2/+2 | |
2017-02-08 | Implement generator support for whitespace handling markers | Dirkjan Ochtman | 1 | -1/+1 | |
2017-02-08 | Convert everything to &str in the parser code | Dirkjan Ochtman | 1 | -22/+32 | |
2017-02-08 | Add support for whitespace handling markers to parser | Dirkjan Ochtman | 1 | -14/+39 | |
2017-02-08 | Improve readability of parser macro invocations | Dirkjan Ochtman | 1 | -15/+26 | |
2017-02-08 | Add unit tests for whitespace splitter | Dirkjan Ochtman | 1 | -0/+23 | |
2017-02-08 | Split leading and trailing whitespace out of literals | Dirkjan Ochtman | 1 | -4/+24 | |
2017-02-08 | Assorted cleanups as suggested by clippy | Dirkjan Ochtman | 1 | -2/+2 | |
2017-02-08 | Simplify types for Nodes and Conds, pass slice where possible | Dirkjan Ochtman | 1 | -5/+4 | |
2017-02-08 | Fold identical branches in parser (as suggested by clippy) | Dirkjan Ochtman | 1 | -3/+1 | |
2017-02-05 | Add parser support for block and extend blocks | Dirkjan Ochtman | 1 | -1/+24 | |
2017-02-05 | Allow zero nodes in top-level parser | Dirkjan Ochtman | 1 | -1/+1 | |
2017-02-05 | Add support for string literals | Dirkjan Ochtman | 1 | -1/+9 | |