Commit Graph

26 Commits

Author SHA1 Message Date
93550b0420 Add the ability to ignore errors in ExprTags 2024-02-07 18:27:08 -08:00
958a25d559 Simplify variadic function support and add a test for it 2024-01-24 22:33:47 -08:00
9bf56b50a4 Add support for variadic functions 2024-01-18 23:42:18 -08:00
745b6c0e5f Add WriteOnSuccess option 2023-12-28 07:19:58 -08:00
d618e7b0da Fix valueToString for end tags and expressions 2023-12-22 19:00:33 -08:00
ce71befee8 Add the ability to execute struct field functions 2023-12-21 21:01:15 -08:00
a465be6cf8 Switch to MPL-2.0 to allow static linking 2023-12-18 09:16:33 -08:00
01047706b6 Rewrite error handling logic 2023-12-17 16:55:13 -08:00
6c23c75906 Add some tests 2023-11-03 23:36:41 -07:00
ba986b9c23 Ensure non-nil maps 2023-11-01 12:04:54 -07:00
4530664371 Use map[string]any for vars 2023-11-01 12:00:44 -07:00
38420f5c6a Allow setting escapeHTML for an entire namespace 2023-11-01 11:39:28 -07:00
e68190ca6a Use buffered writer 2023-11-01 11:31:51 -07:00
82e81ec7f4 Add recursion example 2023-10-31 14:05:21 -07:00
236e178cea Add variable assignment 2023-10-31 13:45:00 -07:00
ee4aa95dc3 Remove macro mutex as it's no longer needed 2023-10-31 08:02:29 -07:00
2a87e4781c Pass template as value 2023-10-30 21:18:35 -07:00
69e515326f Make macros per-template-execution 2023-10-30 21:06:17 -07:00
3eca240b56 Add GPL headers 2023-10-30 18:43:18 -07:00
e01755bbf5 Move ast and parser out of internal 2023-10-30 18:38:53 -07:00
136e8cb26e Improve expression handling and add parentheses support 2023-10-30 15:02:41 -07:00
900de82d6a Add coalescing operator 2023-10-30 08:52:02 -07:00
c1a2e56f4f Add ternary expressions 2023-10-30 08:37:59 -07:00
76c0a48b87 Add namespaces and include tag, improve whitespace handling 2023-10-29 15:47:47 -07:00
fb7010dae3 Add Clone function 2023-10-28 19:49:12 -07:00
71a09170c9 Initial Commit 2023-10-28 18:10:17 -07:00