aboutsummaryrefslogtreecommitdiff
path: root/ctemplates.h
Commit message (Collapse)AuthorAge
* Started refactoring codeAlexander Pickering2018-10-25
| | | | | | Added a src/ and build/ directory Added a include/ directory Included file is smaller
* Allowed spaces to be used in attributesAlexander Pickering2018-10-13
| | | | | | | | | | | | | * Added an is_whitespace() function * <TMPL_VAR ...> may have whitespace between * name = "..." * default = "..." * <TMPL_IF ...> may have whitespace between * name = "..." * value = "..." * <TMPL_ELSEIF ...> may have whitespace between * name = "..." * value = "..."
* Added print_ast as a function.Alexander Pickering2018-04-06
| | | | Added `void print_ast(TMPL_node)` as a debugging function.
* Added a debug functionAlexander Pickering2018-01-18
| | | | Added a function print_varlist(TMPL_varlist* vl) for debugging
* Started writing unit testsAlexander Pickering2018-01-05
| | | | | Added some tests for good input. Also fixed a bug where an empty loop would crash.
* Fixed bugfixesAlexander Pickering2017-12-29
| | | | | | Fixed bug with tokenizing, also fixed a bug with parsing loops also fixed a bug with adding vars to a varlist
* Changed render functionAlexander Pickering2017-12-28
| | | | Render function now returns the length of the string it returns
* changed prototypesAlexander Pickering2017-12-28
| | | | | | | Changed function prototypes that previously took no arguments like void dothing(); to void dothing(void);
* Made ctemplates more like a libraryAlexander Pickering2017-12-28
| | | | | Combined ctemplates.h and ctemplates_i.h into a single file, also included all header files as things to be installed in a library
* Renamed filesAlexander Pickering2017-12-22
Renamed everything that needed to be rename from libctemplate to libctemplates