Commit Graph

  • a602593b5d Remove Logging imports Adam Fowler 2021-03-18 16:29:23 +00:00
  • 0ff5038162 End sections includes method Adam Fowler 2021-03-18 15:33:47 +00:00
  • aa30dcbddf Don't log files that dont load throw error instead Adam Fowler 2021-03-18 15:25:46 +00:00
  • 4af21bb4cf Fix issue where parser return bad sub parsers if you reach end of text Adam Fowler 2021-03-18 15:25:00 +00:00
  • b637c4c4a4 Tidy standalone processing Adam Fowler 2021-03-18 12:58:48 +00:00
  • 751126d729 Add support for Set Delimiters (#5) Adam Fowler 2021-03-18 12:43:36 +00:00
  • 66e9b23c47 Merge pull request #4 from hummingbird-project/mustache-spec Adam Fowler 2021-03-18 11:09:50 +00:00
  • 9b17bd6827 Render optimisation Adam Fowler 2021-03-18 10:55:55 +00:00
  • c560bd0fd9 swift format Adam Fowler 2021-03-18 10:34:52 +00:00
  • 16a2c54be6 Added sections tests. Allow for searching of context stack Adam Fowler 2021-03-18 10:32:42 +00:00
  • b07ad42b49 Started section spec tests Adam Fowler 2021-03-17 22:33:30 +00:00
  • 169a7bbbf4 Added SpecPartialsTests and fixed issues Adam Fowler 2021-03-17 18:30:55 +00:00
  • b4d6a518c7 Fixed all issues found in spec so far Adam Fowler 2021-03-17 17:02:59 +00:00
  • 753079fa9d Add inverted tests Adam Fowler 2021-03-16 17:16:51 +00:00
  • 9ddc49b7bc Add interpolation tests, start inverted Adam Fowler 2021-03-15 20:35:05 +00:00
  • 2d96ca34d8 Add fix for ampersand Adam Fowler 2021-03-15 20:34:48 +00:00
  • a76a02a8dc Add Comment spec Adam Fowler 2021-03-15 18:57:55 +00:00
  • b1b65525e8 Make Template and Library final class Adam Fowler 2021-03-15 18:37:54 +00:00
  • 66edcba185 swift format Adam Fowler 2021-03-15 18:24:06 +00:00
  • 955e1eb9e4 Updates from project template Adam Fowler 2021-03-15 18:22:41 +00:00
  • e0d7e364e8 Use ' instead of ' as the latter isnt in the HTML4 standard Adam Fowler 2021-03-15 17:28:22 +00:00
  • d601a29e35 Add quote, apostrophe to list of chars to html escape Adam Fowler 2021-03-15 16:40:37 +00:00
  • 03cfa42c02 Add swift-log so we can log loading errors Adam Fowler 2021-03-15 16:08:10 +00:00
  • 5a2f22df4f Update README.md Adam Fowler 2021-03-15 15:24:37 +00:00
  • 876f3c99f5 Update README.md Adam Fowler 2021-03-15 15:24:03 +00:00
  • 5dd3ab2af1 render(_, withTemplateNamed) -> render(_, withTemplate) Adam Fowler 2021-03-15 15:17:49 +00:00
  • e391f5ae05 Comments Adam Fowler 2021-03-15 15:09:16 +00:00
  • 978b14a96a Wrap Lambda function in a struct to avoid crash in Mirror Adam Fowler 2021-03-15 14:46:40 +00:00
  • 3559faac61 Rectify HBMustacheContext methods odd and even Adam Fowler 2021-03-15 14:33:28 +00:00
  • e2cfbb7acc Make runMethod calls public, add some comments Adam Fowler 2021-03-15 14:27:32 +00:00
  • e0a0b3fe8e Extend String methods to Substring Adam Fowler 2021-03-15 11:07:08 +00:00
  • adb3401398 Extend Int methods to all Integer types Adam Fowler 2021-03-15 11:00:43 +00:00
  • 958fb97775 Added first/last to array, minusone to Int Adam Fowler 2021-03-15 10:57:37 +00:00
  • 0f2c3bcea9 Added sorted methods Adam Fowler 2021-03-15 10:53:33 +00:00
  • 465ad49f1f Add index filter Adam Fowler 2021-03-14 17:53:20 +00:00
  • 33b488fe40 Add support for first/last functions Adam Fowler 2021-03-14 12:47:00 +00:00
  • 5f49dd6953 Moving stuff about/renaming Adam Fowler 2021-03-14 10:19:51 +00:00
  • 06251739d7 Keep pointer to Library in template Adam Fowler 2021-03-14 08:51:16 +00:00
  • aaf285154d Add support for Lambdas Adam Fowler 2021-03-14 08:32:50 +00:00
  • d9bead1553 Add context object for render Adam Fowler 2021-03-14 08:32:23 +00:00
  • 8df4e63432 Add methods for Array and Dictionary Adam Fowler 2021-03-12 17:37:25 +00:00
  • c9e33153f3 Basic method setup and calling Adam Fowler 2021-03-12 14:03:46 +00:00
  • 902c300969 Add template library loading from FileSystem Adam Fowler 2021-03-12 11:04:17 +00:00
  • 6be7a382fb Added error tests Adam Fowler 2021-03-12 10:14:17 +00:00
  • 633f494e18 Moving stuff about, renaming Adam Fowler 2021-03-12 09:55:12 +00:00
  • 02af0ec296 Add support for dynamic partials Adam Fowler 2021-03-12 08:54:49 +00:00
  • fc53f09dfb Add library and support for partials Adam Fowler 2021-03-12 08:41:13 +00:00
  • 7f61c8dd72 HBTemplate -> HBMustacheTemplate, escape characters Adam Fowler 2021-03-12 07:43:09 +00:00
  • 55245e960f Add support for member variables Adam Fowler 2021-03-11 17:14:12 +00:00
  • 13f6d20976 Add support for dictionaries in sequences Adam Fowler 2021-03-11 17:13:43 +00:00
  • 9cbe74f9ee Load templates and render objects Adam Fowler 2021-03-11 16:58:49 +00:00
  • 98f5d19e91 Initial commit, code not working Adam Fowler 2021-03-11 13:59:28 +00:00