2618 Commits

Author SHA1 Message Date
Dirkjan Ochtman
825ad5f816 Add initial filter e for HTML escaping 2017-01-06 13:08:32 +01:00
Dirkjan Ochtman
7904325c16 Add parser and code generator support for Filter expressions 2017-01-06 13:08:29 +01:00
Dirkjan Ochtman
856d2d7a27 Separate writing to buffer and node visitation in generator 2017-01-06 13:02:31 +01:00
Dirkjan Ochtman
9ff15fdb59 Add Cargo.lock file 2017-01-03 10:10:01 +01:00
Dirkjan Ochtman
744b290c8d Rename askama_test to testing 2017-01-03 10:06:47 +01:00
Dirkjan Ochtman
4c8c773c84 Rename askama_codegen to askama_derive
This appears to be best practice for crates using macros 1.1.
2017-01-03 10:01:16 +01:00
Dirkjan Ochtman
3e7983d7af Extend parser to allow different expression types 2017-01-03 09:56:08 +01:00
Dirkjan Ochtman
d82a8fdf39 Support templating for every type implementing Display 2016-12-26 16:39:30 +01:00
Dirkjan Ochtman
1aafcb8a25 Add some helper methods to Generator impl 2016-12-24 11:30:23 +01:00
Dirkjan Ochtman
55a75dbfa6 Make code generator impl more extensible 2016-12-24 11:20:17 +01:00
Dirkjan Ochtman
c238e53ffe Introduce code generator impl 2016-12-24 11:05:01 +01:00
Dirkjan Ochtman
760752e79d Return AST nodes from parser 2016-12-24 10:48:43 +01:00
Dirkjan Ochtman
99a83551f5 Move impl code generator into separate module 2016-12-24 10:12:59 +01:00
Dirkjan Ochtman
8f0aae265c Move template parser into separate module 2016-12-24 10:08:05 +01:00
Dirkjan Ochtman
b83ad3582f Implement very basic template parser 2016-12-24 08:28:56 +01:00
Dirkjan Ochtman
df8b05d0a4 Get template from Cargo manifest-relative source 2016-12-23 09:53:46 +01:00
Dirkjan Ochtman
062500ef0c Attempt at grabbing template source from file 2016-12-22 16:20:13 +01:00
Dirkjan Ochtman
e619345766 Initial stab at macros 1.1 2016-12-22 14:16:05 +01:00