Ilya Puchka
|
69cd8e4d3b
|
replaced Token with Lexeme protocol on TemplateSyntaxError
|
2018-01-01 16:21:50 +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
|
b4dc8dbb76
|
support for iterating array of tuples with more than two values
|
2018-01-01 16:11:33 +01:00 |
|
Ilya Puchka
|
691fe523b3
|
Merge branch 'master' into fix-float-from-int
|
2018-01-01 14:26:27 +01:00 |
|
Ilya Puchka
|
c0e66eb96f
|
feat: Allow iterating over tuple, struct and class properties
Closes #173
|
2017-12-31 12:38:09 -08:00 |
|
Ilya Puchka
|
79a16854e7
|
fixed implicit conversion of integer literals to float
|
2017-12-29 17:46:26 +01:00 |
|
Ilya Puchka
|
0f3a302108
|
fix(variable): Resolving variable as string literal (#168)
In Swift 4, a Substring was returned.
|
2017-12-26 20:27:26 -08:00 |
|
Ilya Puchka
|
1223efbc7e
|
fix(default): Check for wrapped nil in filter (#162)
|
2017-12-24 11:11:46 -08:00 |
|
Ilya Puchka
|
a96fcff680
|
Merge branch 'master' into resolving-superclass-keys
|
2017-11-30 10:44:46 +00:00 |
|
Ilya Puchka
|
1e6846867e
|
fixed compiling in swift 3
|
2017-11-29 23:18:48 +01:00 |
|
Ilya Puchka
|
93c07e22b1
|
fixed block inheritance with several levels
|
2017-11-29 23:04:33 +01:00 |
|
Ilya Puchka
|
9994972a24
|
added recursive resolution for superclass properties
|
2017-11-29 10:18:56 +00:00 |
|
Dan Watson
|
9e24ab658b
|
feat: Add support for Xcode 9.1 (#149)
|
2017-11-17 18:41:32 +00:00 |
|
Ilya Puchka
|
e7a0738bda
|
fix(variable): checking values for nil when using mirror (#144)
|
2017-10-02 09:38:50 +01:00 |
|
Yonas Kolb
|
14bac03990
|
feat(variable): Allow accessing dictionary count
|
2017-10-01 11:54:53 +01:00 |
|
Ilya Puchka
|
3180b26673
|
feat: added in expression in if tag (#143)
|
2017-10-01 11:46:48 +01:00 |
|
Kyle Fuller
|
000e9a7f1a
|
feat: Add DictionaryLoader to load templates from dictionary
Closes #97
|
2017-09-07 18:40:34 +01:00 |
|
Kyle Fuller
|
7b9817ed50
|
feat(for tag): Provide the counter 0 indexed to the context
Closes #121
|
2017-09-07 18:21:16 +01:00 |
|
Jan Berkel
|
482d595d01
|
fix(lexer): Handle incomplete tokens
Fixes #135
|
2017-09-07 18:06:55 +01:00 |
|
Jan Berkel
|
f1fc747897
|
fix(for tag): Potential ‘Index out of range’ crash
Fixes #136
|
2017-09-07 17:17:23 +01:00 |
|
Kyle Fuller
|
4308baf5f0
|
Merge pull request #129 from bfad/forloop-add-range-support
Add range support for for tag
|
2017-08-08 17:06:51 -07:00 |
|
Brett R. Toomey
|
2455fb9ed0
|
Make extensions mutable (#126)
|
2017-08-08 16:12:45 -07:00 |
|
Brad Lindsay
|
64571464d9
|
Add basic support for ranges in for loops
Closes kylef/Stencil#128
|
2017-08-08 17:38:36 -05:00 |
|
Krzysztof Zabłocki
|
584ed916ab
|
fix(lexer): Prevent deadlock with unclosed tag
|
2017-05-17 21:03:43 +01:00 |
|
Kyle Fuller
|
89256b96f4
|
feat(for): Allow iterating over dictionary key and value
Closes #94
|
2017-04-19 00:03:47 +01:00 |
|
Kyle Fuller
|
a8d680b30e
|
fix(for): Support looping dictionaries
|
2017-04-18 23:26:56 +01:00 |
|
Kyle Fuller
|
6f48fe2d91
|
fix: Resolve build warnings related to throwables and Any?
Closes #99
Closes #106
|
2017-04-18 23:05:02 +01:00 |
|
Ilya Puchka
|
5541eae818
|
feat: fixed parsing several filter arguments with quotes (#98)
|
2017-04-18 22:58:42 +01:00 |
|
Ilya Puchka
|
d1717df6ff
|
feat(for tag): Support where expressions (#96)
|
2017-04-11 11:39:00 +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
|
fdde1dec02
|
refactor: Simplify string filters to use stringify
|
2016-12-08 16:17:26 +00:00 |
|
Kyle Fuller
|
8f6b403aa9
|
fix(join): Dont force strings
|
2016-12-08 16:15:57 +00:00 |
|
Kyle Fuller
|
2331b11a52
|
fix: Allow overriding default filters/tags
|
2016-12-07 22:32:31 +00:00 |
|
Kyle Fuller
|
26f30cbd9d
|
feat: Allow subclassing templates (#79)
|
2016-12-07 21:46:04 +00:00 |
|
Kyle Fuller
|
d7b152089e
|
feat: New extensions API (#78)
|
2016-12-07 21:27:31 +00:00 |
|
Kyle Fuller
|
d3706f074d
|
fix: Use Float as Number instead of Float80
Closes #76
|
2016-12-07 20:07:53 +00:00 |
|
Kyle Fuller
|
aa7c36296b
|
refactor: Deal with Number instead of Float80
|
2016-12-07 19:54:29 +00:00 |
|
David Jennes
|
2d507e7c11
|
Simple number literal parsing (#77)
|
2016-12-07 19:33:06 +00:00 |
|
Kyle Fuller
|
d75db241ac
|
feat(block): Support rendering parent block
|
2016-12-02 00:59:01 +00:00 |
|
Kyle Fuller
|
49936c36d4
|
feat(variable): Allow resolving nodes and resolvables
|
2016-12-02 00:57:01 +00:00 |
|
Kyle Fuller
|
2e04a71d59
|
fix: Silence build warnings
|
2016-12-02 00:29:28 +00:00 |
|
Kyle Fuller
|
24359489ce
|
refactor(Template): Deprecate init from files
|
2016-12-01 01:47:19 +00:00 |
|
Kyle Fuller
|
9e2a061795
|
refactor: Introducing Environments
|
2016-12-01 01:29:48 +00:00 |
|
Kyle Fuller
|
2be672c6a5
|
feat(filter): Support filter tag
|
2016-11-30 18:44:44 +00:00 |
|
Kyle Fuller
|
2ebb79df8b
|
refactor(loader): Throw when template not found
|
2016-11-30 17:22:29 +00:00 |
|
Kyle Fuller
|
63c2b935f7
|
feat(FileSystemLoader): Raise when template name escapes base
|
2016-11-30 17:22:29 +00:00 |
|
Kyle Fuller
|
d024da5567
|
fix(if): Allow operator use
|
2016-11-30 17:12:41 +00:00 |
|
Kyle Fuller
|
f0591408be
|
refactor(filter): Filters should be private, we only expose resolvable
|
2016-11-28 19:24:27 +00:00 |
|