Re:M4 as a templating language (2020)
by bonzini on Friday July 30, 2021 @05:06AM
(#28005983)
No, m4 is written in C but it is autonomous. Liquid needs something like Jekyll around it.
[ Parent
| on HN ]
Re:M4 as a templating language (2020)
by ricardobeat on Friday July 30, 2021 @07:07AM
(#28006690)
What does “autonomous” mean? There are a ton of template engines that don’t depend on a parent framework, there is no reason you can’t implement all features in C.
Something like mustache for example, which has a C implementation that includes support for includes/partials: http://mustache.github.io/mustache.5.html