David Jennes
71879ecdc9
Add attribution to all source code
2022-07-29 02:43:12 +02:00
Ilya Puchka
6649b7e716
Parse variables as expressions
...
removed static boolean expressions
added test for rendering template with boolean expression
2022-07-29 01:47:55 +02:00
David Jennes
f32c772b99
Warnings--
2022-07-28 03:13:01 +02:00
David Jennes
2d82dcb003
Fix issues in Tests
...
t
2018-11-11 17:34:47 +01:00
Ilya Puchka
01afae9b79
Fix parsing token components with parenthesis without spaces ( #254 )
...
* fix parsing token components with brackets without spaces
* handle more edge cases
* do not use force unwrap
* use first/last instead of hasPrefix/hasSuffix
* update CHANGELOG
2018-09-30 21:57:19 +01:00
Ilya Puchka
f7bda226e8
Update to Spectre 0.9.0 ( #247 )
...
* update to Spectre 0.9.0
* fix variable spec tests
* fix flatMap warning
* updated CHANGELOG
2018-09-23 03:46:27 +03:00
Ilya Puchka
3a4cd8aa27
Merge branch 'master' into errors-logs-improvements
2018-08-12 22:08:13 +01:00
Ilya Puchka
fe01beb4bb
feat(for loop): Support range literals ( #192 )
2018-04-04 17:56:58 -07:00
Ilya Puchka
ac2fd56e8e
storing full sourcemap in token, refactored error reporting
2018-01-01 16:22:06 +01:00
Ilya Puchka
6300dbc7bf
improved template syntax errors with file, line number and failed token highlighted in error message
2018-01-01 16:21:48 +01:00
Ilya Puchka
e7a0738bda
fix(variable): checking values for nil when using mirror ( #144 )
2017-10-02 09:38:50 +01:00
Kyle Fuller
dc8759ba34
feat(if): Support elif tags
2017-03-03 09:56:41 +00:00
Kyle Fuller
233dcfc59a
refactor(if node): Support multiple conditions
2017-03-03 09:25:16 +00:00
Kyle Fuller
99efba56e9
feat: Support filters in if expressions
...
Closes #90
2017-01-05 20:56:09 +00:00
Kyle Fuller
d7b152089e
feat: New extensions API ( #78 )
2016-12-07 21:27:31 +00:00
Kyle Fuller
d024da5567
fix(if): Allow operator use
2016-11-30 17:12:41 +00:00
Kyle Fuller
111306fb60
fix(if): Empty strings should be falsy
2016-11-28 19:24:26 +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
a13401b046
chore: Lock down APIs
2016-11-27 02:20:46 +00:00
Kyle Fuller
feff3b18b1
Add support for Swift 3.0
2016-09-13 19:12:47 +01:00