r/cpp • • Jun 27 '20

HTML++: Write HTML documents using C++ templates

https://github.com/csb6/html-plus-plus
260 Upvotes

27 comments sorted by

View all comments

55

u/looncraz Jun 27 '20

This, frankly, looks easier than writing HTML directly... Plus free error checking... Too bad template error messages are horrendously ugly.

5

u/PanurgeFromHell Jun 28 '20

Not sure why you wouldn't just write a new language that just parses into real HTML. Still a pretty neat concept though.