3 ms·
To be a bit more precise it's a library that renders strings from a template. The result may or may not be valid HTML.
by contravariant 5y ago
To be a bit more precise it's a library that renders strings from a template.
The result may or may not be valid HTML.
- ainiriand 5y agoMy thoughts precisely. Maybe it could be renamed to string parser and replacer(?) for C++. SPaRC.
- WalterGR 5y ago“Template” is a term of art for this sort of thing, but if you’re looking for an alternative, there’s already “macro processor” for things like this. It’s what GNU’s M4 is called, for example. https://en.m.wikipedia.org/wiki/M4_(computer_language) https://en.m.wikipedia.org/wiki/M4_(computer_language) But - whoops - now you’ve got collision with C++ “macros” - which already has collision with Lisp “macros” and text editor / word processor macros - and “processor” which looks a lot like the C++ “preprocessor” and …