Commit Graph

10 Commits

Author SHA1 Message Date
Adam Fowler
bdfa05391a Remove HB prefix, make Parser private (#26) 2024-03-11 22:07:05 +00:00
Adam Fowler
071b182a00 2.x.x Template struct (#22)
* Start of turning template into a struct

* Everything is Sendable now, just doesnt work

* Add library to context

* Make sure render is initialized with library

* comment about inheritance spec

* Add register back in

* Re-instate register functions

* Re-instate commented out print

* Fix tabbing in Partial tests

* Make HBMustacheLibrary.loadTemplates async

* Update platforms, swift version
2024-01-31 15:43:46 +00:00
Adam Fowler
1c51fcfe8c Add file header via swift format 2021-04-08 17:36:54 +01:00
Adam Fowler
05740bd7bc Replace raw UTF8 parser with String parser (#6)
* Replace UTF8 parser with String based one

* swift format

* Add parsing errors that include context about where error is

* Remove old error tests
2021-03-18 17:26:42 +00:00
Adam Fowler
a602593b5d Remove Logging imports 2021-03-18 16:29:23 +00:00
Adam Fowler
aa30dcbddf Don't log files that dont load throw error instead
remove swift-log dependency
2021-03-18 15:25:46 +00:00
Adam Fowler
66edcba185 swift format 2021-03-15 18:24:06 +00:00
Adam Fowler
03cfa42c02 Add swift-log so we can log loading errors 2021-03-15 16:08:10 +00:00
Adam Fowler
e391f5ae05 Comments 2021-03-15 15:09:16 +00:00
Adam Fowler
902c300969 Add template library loading from FileSystem 2021-03-12 11:04:17 +00:00