Commit Graph

19 Commits

Author SHA1 Message Date
chunkerchunker
a297b4ec42 bugfix for loading Template from URL
NSURL.absoluteString includes "file://", which Path() doesn't expect.
2015-09-29 16:54:07 -07:00
Kyle Fuller
9c335caeb6 Remove custom Result type and throw errors 2015-09-25 12:53:45 -07:00
Kyle Fuller
25f5583542 [Template] Initialisers to throw on failure 2015-09-25 11:17:04 -07:00
Kyle Fuller
dcf2611ac2 Switch to Swift 2.0 2015-09-08 18:44:01 -07:00
Kyle Fuller
53d5a4f8c3 [Project] Use 2 spaces for indentation 2015-06-29 16:40:15 -07:00
Kyle Fuller
19a7abce4c Support Swift 1.2 2015-06-29 15:47:33 -07:00
Kyle Fuller
1989c20932 Add a Template Loader 2014-12-29 00:19:06 +00:00
Kyle Fuller
5d61043f8c Add architecture document and docs 2014-11-30 00:04:37 +00:00
Kyle Fuller
771236953f [Result] Remove labels from enum 2014-10-26 17:59:03 +00:00
Kyle Fuller
51410d2ce9 [Template] Expose token parser 2014-10-26 17:29:57 +00:00
Kyle Fuller
d3b7e9ca0c Refactor render nodes to return a Result 2014-10-26 17:18:54 +00:00
Kyle Fuller
5a627999d5 Refactor more components to use enum 2014-10-26 17:04:04 +00:00
Kyle Fuller
6fd3fec141 Remove copyright headers
Closes #12
2014-10-26 16:02:05 +00:00
Marius Rackwitz
25b86dea93 Use enum instead of pair as result type for Template 2014-10-26 13:33:07 +00:00
Marius Rackwitz
1bd2b21a13 Make use of failable initializers 2014-10-26 13:33:07 +00:00
Kyle Fuller
925c663555 Allow node parsing to return an error
Closes #5
2014-10-26 12:11:40 +00:00
Kyle Fuller
758bf352c1 Support loading a template from disk
Closes #4
2014-10-25 15:48:54 +01:00
Kyle Fuller
2a40595c93 [Template] Use keyed tuples in render 2014-10-25 13:04:35 +01:00
Kyle Fuller
652a4f9c88 Create lexer and template 2014-10-25 13:04:35 +01:00