Dirkjan Ochtman
|
fe53034c38
|
Remove unneeded feature(proc_macro) annotation
|
2017-02-02 22:21:15 +01:00 |
|
Dirkjan Ochtman
|
780c93c3f1
|
Use 'else if' instead of 'elif' to align more with Rust
|
2017-01-12 19:21:15 +01:00 |
|
Dirkjan Ochtman
|
a3ee36d211
|
Add license files to repository
|
2017-01-11 19:21:24 +01:00 |
|
Dirkjan Ochtman
|
21e0db42ec
|
Add template source code for elif test case
|
2017-01-11 19:20:00 +01:00 |
|
Dirkjan Ochtman
|
07f4d6c76d
|
Add package metadata for askama_derive
|
2017-01-11 19:19:17 +01:00 |
|
Dirkjan Ochtman
|
cdb6d2f46e
|
Add package metadata for askama crate
|
2017-01-11 19:17:49 +01:00 |
|
Dirkjan Ochtman
|
9c44d03a77
|
Simplify parser by using type alias
|
2017-01-07 22:24:05 +01:00 |
|
Dirkjan Ochtman
|
01ca5d6c84
|
Add test for elif blocks
|
2017-01-07 22:23:01 +01:00 |
|
Dirkjan Ochtman
|
df4220eb88
|
Support elif blocks in parser and generator
|
2017-01-07 22:22:42 +01:00 |
|
Dirkjan Ochtman
|
c98297fe99
|
Add test for else blocks
|
2017-01-07 22:12:52 +01:00 |
|
Dirkjan Ochtman
|
f5ecfda679
|
Extend parser and generator to handle else blocks
|
2017-01-07 22:12:25 +01:00 |
|
Dirkjan Ochtman
|
fa651a7350
|
Preserve more whitespace while parsing if-blocks
|
2017-01-07 21:05:17 +01:00 |
|
Dirkjan Ochtman
|
73a048459d
|
Add test for simple if-blocks
|
2017-01-07 21:04:03 +01:00 |
|
Dirkjan Ochtman
|
ce9747c39c
|
Add parsing and code generation for simple if blocks
|
2017-01-07 21:02:48 +01:00 |
|
Dirkjan Ochtman
|
9800a5ab64
|
Rename it_works() test function to test_variables()
|
2017-01-07 21:01:46 +01:00 |
|
Dirkjan Ochtman
|
5d193ce822
|
Move parser and generator code into askama crate
|
2017-01-07 20:33:29 +01:00 |
|
Dirkjan Ochtman
|
9837efad98
|
Get rid of obsolete test code and unused dependency
|
2017-01-07 20:24:06 +01:00 |
|
Dirkjan Ochtman
|
76beb77ae2
|
Improve ordering of Cargo manifest items
|
2017-01-07 20:22:25 +01:00 |
|
Dirkjan Ochtman
|
3555288fab
|
Get rid of unused quote dependency
|
2017-01-07 20:16:43 +01:00 |
|
Dirkjan Ochtman
|
2000af8901
|
Add basic test case for filters
|
2017-01-06 13:24:44 +01:00 |
|
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 |
|