Kyle Fuller
|
51410d2ce9
|
[Template] Expose token parser
|
2014-10-26 17:29:57 +00:00 |
|
Kyle Fuller
|
d8e9d46310
|
[TokenParser] Add method to register tag
|
2014-10-26 17:22:02 +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
|
0b1ce61647
|
Refactor token parser to return enum
|
2014-10-26 16:14:56 +00:00 |
|
Kyle Fuller
|
6fd3fec141
|
Remove copyright headers
Closes #12
|
2014-10-26 16:02:05 +00:00 |
|
Kyle Fuller
|
2c9bbe5229
|
Merge pull request #9 from kylef/opinionated_changes
Opinionated Changes
|
2014-10-26 13:42:00 +00:00 |
|
Marius Rackwitz
|
d6a6696c20
|
[Readme] Update code example for enum API
|
2014-10-26 13:37:41 +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
|
7b89c32295
|
Reduced code-duplication
|
2014-10-26 13:33:07 +00:00 |
|
Marius Rackwitz
|
1bd2b21a13
|
Make use of failable initializers
|
2014-10-26 13:33:07 +00:00 |
|
Marius Rackwitz
|
804bc658b2
|
Changes for Xcode 6.1 GM
|
2014-10-26 13:12:30 +00:00 |
|
Kyle Fuller
|
b35a30c9de
|
[Node] Introduce formats to now node
Closes #8
|
2014-10-26 12:39:48 +00:00 |
|
Kyle Fuller
|
0d4615a7e5
|
[Node] Correctly handle errors
|
2014-10-26 12:21:39 +00:00 |
|
Kyle Fuller
|
925c663555
|
Allow node parsing to return an error
Closes #5
|
2014-10-26 12:11:40 +00:00 |
|
Kyle Fuller
|
aad8a1884c
|
Improve readme
|
2014-10-26 11:57:45 +00:00 |
|
Kyle Fuller
|
7b42eb6bec
|
Implement if and ifnot tags
Closes #3
|
2014-10-26 11:36:55 +00:00 |
|
Kyle Fuller
|
758bf352c1
|
Support loading a template from disk
Closes #4
|
2014-10-25 15:48:54 +01:00 |
|
Kyle Fuller
|
455845d80c
|
Include tests for README
|
2014-10-25 15:13:30 +01:00 |
|
Kyle Fuller
|
98771558ca
|
[Variable] Match .count on arrays
|
2014-10-25 15:13:10 +01:00 |
|
Kyle Fuller
|
46350dbd49
|
[Node] Add a standard for node
|
2014-10-25 15:12:46 +01:00 |
|
Kyle Fuller
|
d71e0ec012
|
[Lexer] Prevent the regex from being greedy
|
2014-10-25 15:12:20 +01:00 |
|
Kyle Fuller
|
57ae44d167
|
Fix a bug in lexer
|
2014-10-25 13:29:00 +01:00 |
|
Kyle Fuller
|
da3b49d9ed
|
Complete lexer implementation
|
2014-10-25 13:04:35 +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 |
|
Kyle Fuller
|
bf67ea3e5f
|
Build infrastructure for parsing block tokens
|
2014-10-25 13:04:35 +01:00 |
|
Kyle Fuller
|
576e952488
|
Include a basic readme
|
2014-10-25 13:04:35 +01:00 |
|
Kyle Fuller
|
5382a2b68f
|
Add methods to render an array of nodes
|
2014-10-25 13:04:35 +01:00 |
|
Kyle Fuller
|
02a1af2f44
|
Add tokens and token parser
|
2014-10-25 13:04:35 +01:00 |
|
Kyle Fuller
|
5af59ecb15
|
Include node protocol along with text and variable nodes
|
2014-10-25 13:04:35 +01:00 |
|
Kyle Fuller
|
e34084f3f0
|
Initial project with Context and Variable.
|
2014-10-25 13:04:27 +01:00 |
|
Kyle Fuller
|
c415bfe84b
|
Initial commit
|
2014-10-23 12:29:09 +01:00 |
|