Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support matching custom enums | 2017-11-02 | 1 | -2/+44 | |
| | |||||
* | support literals in match arms | 2017-11-02 | 1 | -7/+47 | |
| | |||||
* | support else in match block | 2017-11-02 | 1 | -0/+15 | |
| | |||||
* | implement basic match functionality | 2017-11-02 | 1 | -0/+54 | |
| | |||||
* | Make empty string literals work | 2017-10-22 | 1 | -1/+1 | |
| | |||||
* | Tighten up parser code for path expressions | 2017-10-20 | 1 | -4/+2 | |
| | |||||
* | Add support for array literals (fixes #59) | 2017-10-20 | 1 | -0/+18 | |
| | |||||
* | Add scope when importing macros | 2017-10-15 | 1 | -4/+11 | |
| | |||||
* | Handle path expressions (fixes #56) | 2017-10-04 | 1 | -0/+18 | |
| | |||||
* | Add support for importing template files with macros (#51) | 2017-09-26 | 1 | -0/+13 | |
| | | | | * Fix review comments for macro imports | ||||
* | Add support for tuple indexing in templates | 2017-09-10 | 1 | -3/+7 | |
| | |||||
* | Code cleanups as suggested by Clippy | 2017-09-06 | 1 | -4/+4 | |
| | |||||
* | Stop mutating parsed AST for code generation | 2017-09-05 | 1 | -1/+0 | |
| | |||||
* | Refactor handling of macros | 2017-09-05 | 1 | -5/+15 | |
| | |||||
* | Clean up and tighten faster version of expr_prec_layer macro | 2017-09-04 | 1 | -15/+10 | |
| | |||||
* | Changed implementation of precedence rules | 2017-09-03 | 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. | ||||
* | Move most of the code into new askama_shared crate | 2017-08-27 | 1 | -0/+471 | |
This makes it possible to share code between askama and askama_derive. |