see-phit
see-phit copied to clipboard
A C++ HTML template engine that uses compile time HTML parsing
Create a simple makefile Build with ``` --std=c++14 main.cpp seephit.cpp``` Add a rule for tests, leave that rule dummy for now
Use some scraping to extract SVG tag names from somewhere and add it to the array in tags.hpp (sorted)
Write a few files with valid and invalid HTML syntax, name them based on whats wrong in it Use the test.spt file as a reference, put it in tests folder
Implement a basic website that gets some external data and renders it through templates. Measure rendering performance against known libraries like flask or jinja and make pretty graphs.
Is there a chance you add a way to specify what should happen if we do not provide a `template_var` for a variable? currently the program just crashes. could it...
https://developer.mozilla.org/en-US/docs/Glossary/Void_element void tags (not self closing) are not working. they are not parsed correctly. their attributes are ignored which is incorrect. 
readme.md is out of date. the API for rendering has changed but the example does not reflect this.