Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Hide askama_derive dependency inside askama (fixes #2) | Dirkjan Ochtman | 2017-03-06 | 1 | -452/+0 |
| | |||||
* | Remove unused TemplateFrom types (fixes #5) | Dirkjan Ochtman | 2017-03-06 | 1 | -11/+0 |
| | |||||
* | Add basic support for comments | Dirkjan Ochtman | 2017-03-03 | 1 | -0/+1 |
| | |||||
* | Add support for parenthesized expressions | Dirkjan Ochtman | 2017-03-03 | 1 | -0/+7 |
| | |||||
* | Add support for loop.index and loop.index0 variables | Dirkjan Ochtman | 2017-02-19 | 1 | -0/+30 |
| | |||||
* | Add support for method calls | Dirkjan Ochtman | 2017-02-18 | 1 | -0/+14 |
| | |||||
* | Implement support for format filter | Dirkjan Ochtman | 2017-02-18 | 1 | -1/+6 |
| | |||||
* | Add support for filters with multiple arguments | Dirkjan Ochtman | 2017-02-18 | 1 | -3/+8 |
| | |||||
* | Add support for attributes | Dirkjan Ochtman | 2017-02-18 | 1 | -0/+6 |
| | |||||
* | Add support for integer literals | Dirkjan Ochtman | 2017-02-17 | 1 | -0/+5 |
| | |||||
* | Be smarter about writing indentation correctly | Dirkjan Ochtman | 2017-02-14 | 1 | -24/+11 |
| | | | | | By applying simple if slightly magic heuristics, relieve the need for calls to indent() and dedent() in most places in the code generator. | ||||
* | Fix indentation for else clauses | Dirkjan Ochtman | 2017-02-14 | 1 | -1/+1 |
| | |||||
* | Tweak trait handling to get rid of struct impls | Dirkjan Ochtman | 2017-02-14 | 1 | -41/+24 |
| | |||||
* | Move code for whitespace handling around | Dirkjan Ochtman | 2017-02-14 | 1 | -20/+20 |
| | |||||
* | Remove some useless cruft | Dirkjan Ochtman | 2017-02-14 | 1 | -1/+0 |
| | |||||
* | Generically represent binary operators in parse tree | Dirkjan Ochtman | 2017-02-13 | 1 | -3/+3 |
| | |||||
* | Explicitly pass trait implementation to top-level base template method | Dirkjan Ochtman | 2017-02-12 | 1 | -16/+29 |
| | | | | | This requires a base template struct to be a member of the derived template's context, but allows the base template to access base template fields. | ||||
* | Remove lifetime annotations from trait definition | Dirkjan Ochtman | 2017-02-12 | 1 | -6/+5 |
| | |||||
* | Improve Generator impl/trait writing method names | Dirkjan Ochtman | 2017-02-12 | 1 | -8/+8 |
| | |||||
* | Improve formatting of generated code | Dirkjan Ochtman | 2017-02-12 | 1 | -4/+5 |
| | |||||
* | Refactor implementation of template inheritance | Dirkjan Ochtman | 2017-02-12 | 1 | -13/+40 |
| | | | | This is somewhat less complicated, and should support variables better. | ||||
* | Rename functions to move away from 'into' suffix | Dirkjan Ochtman | 2017-02-12 | 1 | -6/+6 |
| | | | | This is idiomatically used for type conversions. | ||||
* | Fix some bugs in whitespace handling | Dirkjan Ochtman | 2017-02-08 | 1 | -7/+22 |
| | |||||
* | Implement generator support for whitespace handling markers | Dirkjan Ochtman | 2017-02-08 | 1 | -25/+68 |
| | |||||
* | Move handling of Node::Lit parts into write_lit() method | Dirkjan Ochtman | 2017-02-08 | 1 | -7/+5 |
| | |||||
* | Simplify write_lit() method | Dirkjan Ochtman | 2017-02-08 | 1 | -3/+1 |
| | |||||
* | Convert everything to &str in the parser code | Dirkjan Ochtman | 2017-02-08 | 1 | -6/+5 |
| | |||||
* | Add support for whitespace handling markers to parser | Dirkjan Ochtman | 2017-02-08 | 1 | -8/+8 |
| | |||||
* | Simplify code generation for block definitions | Dirkjan Ochtman | 2017-02-08 | 1 | -22/+17 |
| | |||||
* | Split leading and trailing whitespace out of literals | Dirkjan Ochtman | 2017-02-08 | 1 | -1/+5 |
| | |||||
* | Assorted cleanups as suggested by clippy | Dirkjan Ochtman | 2017-02-08 | 1 | -1/+1 |
| | |||||
* | Simplify types for Nodes and Conds, pass slice where possible | Dirkjan Ochtman | 2017-02-08 | 1 | -8/+8 |
| | |||||
* | Stop taking references where unneeded | Dirkjan Ochtman | 2017-02-08 | 1 | -10/+10 |
| | |||||
* | Purge useless format!() calls | Dirkjan Ochtman | 2017-02-08 | 1 | -2/+2 |
| | |||||
* | Deref in match header as suggested by clippy | Dirkjan Ochtman | 2017-02-08 | 1 | -17/+17 |
| | |||||
* | Implement basic support for template inheritance | Dirkjan Ochtman | 2017-02-05 | 1 | -2/+98 |
| | |||||
* | Simplify writing of template struct impl | Dirkjan Ochtman | 2017-02-05 | 1 | -9/+4 |
| | |||||
* | Extract helper function from Generator class | Dirkjan Ochtman | 2017-02-05 | 1 | -15/+15 |
| | |||||
* | Add parser support for block and extend blocks | Dirkjan Ochtman | 2017-02-05 | 1 | -0/+8 |
| | |||||
* | Generate path-based type aliases | Dirkjan Ochtman | 2017-02-05 | 1 | -1/+24 |
| | |||||
* | Improve name and ownership of AST vector | Dirkjan Ochtman | 2017-02-05 | 1 | -6/+6 |
| | |||||
* | Clarify code around writing template impl | Dirkjan Ochtman | 2017-02-05 | 1 | -8/+6 |
| | |||||
* | Move some code around to group related parts | Dirkjan Ochtman | 2017-02-05 | 1 | -27/+27 |
| | |||||
* | Add support for string literals | Dirkjan Ochtman | 2017-02-05 | 1 | -0/+5 |
| | |||||
* | Extend Template API to avoid need for multiple buffers | Dirkjan Ochtman | 2017-02-05 | 1 | -6/+4 |
| | |||||
* | Generalize support for comparison operators | Dirkjan Ochtman | 2017-02-04 | 1 | -3/+4 |
| | |||||
* | Add support for == operator | Dirkjan Ochtman | 2017-02-04 | 1 | -0/+7 |
| | |||||
* | Add support for lifetime annotations on template structs | Dirkjan Ochtman | 2017-02-04 | 1 | -3/+21 |
| | |||||
* | Pass entire AST to code generator | Dirkjan Ochtman | 2017-02-04 | 1 | -2/+3 |
| | |||||
* | Add basic support for loops | Dirkjan Ochtman | 2017-02-04 | 1 | -3/+49 |
| |