Commit graph

20 commits

Author SHA1 Message Date
86e203730c (#64) Add implicit context
Closes #64
2022-12-07 23:48:31 -08:00
8c0548fc74 (#63) Allow invoking other templates
Closes #63
2022-12-07 23:34:57 -08:00
e072b045c6 Parse template calls 2022-12-07 23:24:32 -08:00
9dabc237e0 (#62) Add elif support to template engine
Closes: #62
2022-12-07 22:47:55 -08:00
f8a799abfb Execute else branches 2022-12-07 17:30:01 -08:00
bb297a4f6e Parse else blocks 2022-12-07 17:26:36 -08:00
b0864b29d8 Return closing block from parseTemplate 2022-12-07 17:19:10 -08:00
fdf0a84593 Fix whitespace stripping after control blocks 2022-11-18 03:32:30 -08:00
229acd6d3b Refactor template code 2022-11-18 03:24:25 -08:00
58adc38945 Parse whitespace stripping chars 2022-11-18 00:09:10 -08:00
c9af99d08f Add if statements to templating engine 2022-11-17 23:39:32 -08:00
5bb9742ab9 Change syntax for end_for statement 2022-11-17 23:23:02 -08:00
e4a04b869e refactor 2022-11-16 00:33:06 -08:00
c9d0090ab2 Add loop captures to capture struct 2022-11-16 00:18:14 -08:00
8ebe77541f Add capture syntax 2022-11-16 00:01:45 -08:00
9d74bce266 Add loop captures 2022-11-15 23:53:29 -08:00
dcf777f5ea Iterate over for loop 2022-11-15 23:39:36 -08:00
934296b384 Parse for loop 2022-11-15 23:16:46 -08:00
7191ad8f27 Split up template parsing and execution 2022-11-15 22:07:45 -08:00
3b03764be7 Start work on template package 2022-11-15 19:11:29 -08:00