David Jennes
71879ecdc9
Add attribution to all source code
2022-07-29 02:43:12 +02:00
David Jennes
f32c772b99
Warnings--
2022-07-28 03:13:01 +02:00
Ilya Puchka
7247d0a83d
Dynamic member lookup (via marker protocol)
2022-07-28 03:05:17 +02:00
David Jennes
0bbb8005bb
Fix bunch of warnings
2022-07-27 02:56:21 +02:00
Łukasz Kuczborski
521a599a60
Fixed logic and tests
2021-04-09 23:37:54 +02:00
Łukasz Kuczborski
7c635975d1
Fix for crashing range indexes when variable length is 1
2021-04-09 22:51:55 +02:00
David Jennes
2d82dcb003
Fix issues in Tests
...
t
2018-11-11 17:34:47 +01:00
Ilya Puchka
dbb5e14e9f
solve merge conflict issues
2018-10-01 21:59:03 +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
d238c25eef
Allow using collection accessors on strings ( #245 )
...
* allow using collection accessors on strings
* refactored resolving collection accessors
* refactored to fileprivate function
* Update Variable.swift
* Update templates.rst
2018-09-22 16:41:45 +03:00
Ilya Puchka
df2e193891
Allow conditions in variable node ( #243 )
...
* use condition in variable node
* added support for else expression
* addressing code review comments
2018-09-22 14:09:25 +03:00
Ilya Puchka
0074ee1d4a
check for property via selector before using value(forKey:)
2018-09-11 18:12:27 +01:00
Sébastien Duperron
00e71c1b4d
Fix typo in VariableSpec describing subscripting ( #229 )
2018-09-08 14:05:05 +01:00
Ilya Puchka
4f1a5b3e3d
store reference to token when parsing range variable
2018-08-12 22:25:25 +01:00
David Jennes
2e18892f4c
Subscript syntax for Variables ( #215 )
...
* Implement variable indirect resolution
* Add some tests
* Changelog entry
* Update documentation
* Rework the syntax to use brackets instead of a $
* Move the lookup parser into it's own file
* Add invalid syntax tests
* Swift 3 support
* Rename some things + extra test
2018-05-19 21:03:51 +01:00
Ilya Puchka
fe01beb4bb
feat(for loop): Support range literals ( #192 )
2018-04-04 17:56:58 -07:00
Ilya Puchka
2e6a7215c5
fix: subscripting tuple by value index ( #172 )
2018-04-04 17:25:13 -07:00
Ilya Puchka
29e859f1aa
fix: Do not print Optional(...) when rendering arrays ( #205 )
2018-04-04 17:13:34 -07:00
Ilya Puchka
8fa0bd275c
fix: accessing optional properties through reflection ( #204 )
2018-04-04 17:03:19 -07:00
Ilya Puchka
0bc6bd974e
feat: allow using new lines inside tags ( #202 )
2018-03-13 09:07:56 +00:00
Ilya Puchka
fa68ba9df8
feat: Added indent filter ( #188 )
2018-01-28 16:17:23 +00:00
Ilya Puchka
79a16854e7
fixed implicit conversion of integer literals to float
2017-12-29 17:46:26 +01:00
Ilya Puchka
9994972a24
added recursive resolution for superclass properties
2017-11-29 10:18:56 +00:00
Yonas Kolb
14bac03990
feat(variable): Allow accessing dictionary count
2017-10-01 11:54:53 +01:00
Kyle Fuller
d3706f074d
fix: Use Float as Number instead of Float80
...
Closes #76
2016-12-07 20:07:53 +00:00
David Jennes
2d507e7c11
Simple number literal parsing ( #77 )
2016-12-07 19:33:06 +00:00
Kyle Fuller
9e2a061795
refactor: Introducing Environments
2016-12-01 01:29:48 +00:00
Kyle Fuller
38d7ec87f6
feat(variable): Allow Swift type introspection
2016-11-28 19:24:26 +00:00
Kyle Fuller
1e3afc0dd5
fix(variable): Prevent crash on unknown index in array
2016-10-13 13:11:02 +01:00
Kyle Fuller
feff3b18b1
Add support for Swift 3.0
2016-09-13 19:12:47 +01:00