Commit Graph

175 Commits

Author SHA1 Message Date
Kyle Fuller 429290e0b7 refactor: TemplateLoader to protocol, follow Swift API guidelines 2016-11-28 19:24:17 +00:00
Kyle Fuller e84f8a41d4 feat(if): Support and, or and not during if expressions
Closes #73
2016-11-28 02:56:04 +00:00
Kyle Fuller 2324808dca fix(if): Treat below 0 numbers as negative 2016-11-27 20:11:51 +00:00
Kyle Fuller 9fdbbc99e9 feat(filters): Add a join filter 2016-11-27 19:47:50 +00:00
Kyle Fuller dfd57e9571 feat: Add a default filter 2016-11-27 18:27:30 +00:00
Kyle Fuller 393dc88a10 fix(extends): Support multiple extends
Fixes #60
2016-11-27 04:22:37 +00:00
Kyle Fuller a014fecd23 fix(filters): Smartly split arguments
Ensure that `"value"|filter:"arg , with comma"` works
2016-11-27 02:46:43 +00:00
Kyle Fuller a13401b046 chore: Lock down APIs 2016-11-27 02:20:46 +00:00
Kyle Fuller 60b378d482 feat(filters): Allow filters with arguments 2016-11-27 01:59:57 +00:00
Kyle Fuller 1e3afc0dd5 fix(variable): Prevent crash on unknown index in array 2016-10-13 13:11:02 +01:00
Valentin Knabel 68e6ce3022 feat: Creating of templates from a string literal (#71) 2016-10-11 12:45:15 +01:00
Kyle Fuller feff3b18b1 Add support for Swift 3.0 2016-09-13 19:12:47 +01:00
travel 3285bac373 bug fix:fix memory leak when parse template 2016-08-05 08:26:16 +08:00
Syo Ikeda 7bfb69cc82 [IfNode] Fix the ifnot error message 2016-07-20 02:42:09 +09:00
Syo Ikeda 5007ba2c9a [IfNode] Accept and evaluate a Bool value as a valid expression 2016-07-20 02:42:09 +09:00
shnhrrsn bdc14ab1e1 Added namespace to Context 2016-03-05 23:57:15 -05:00
Kyle Fuller 67d4c52535 [Context] Ensure pop happens when an error is thrown 2016-03-05 00:37:12 +00:00
Kyle Fuller 48026cde2c Split tags into separate files 2016-03-05 00:15:18 +00:00
Kyle Fuller 070a82cb2d Change how we normalize values to be linux compatible
Closes #51
2016-02-26 16:16:36 -05:00
Kyle Fuller 3ec009381d Disable the now tag on Linux
NSDate is unavailable
2016-02-11 19:34:46 -05:00
Kyle Fuller 03928721c4 Move away from deprecated curry syntax 2015-12-14 09:04:18 -05:00
Kyle Fuller 07835063ed Fix an ambiguous array literal warning 2015-12-14 09:04:01 -05:00
Kyle Fuller 1668830d9b [for] Provide forloop context, first, last and counter 2015-12-09 19:18:16 +00:00
Boris Bügling 356393088b Support for Linux 2015-12-08 16:54:58 +01:00
Boris Bügling 372b2e7576 Add Package.swift and move files around 2015-12-08 11:45:03 +01:00