4 ms·
And m4 works in combination with a bunch of C code. Virtually any system with m4 can come with an interpreter for a higher level language without running out of
by zbentley 5y ago
And m4 works in combination with a bunch of C code. Virtually any system with m4 can come with an interpreter for a higher level language without running out of space (I can't imagine many uses for m4 at runtime on systems where, say, a perl interpreter wouldn't fit). Why is relying on such a runtime a problem?
- bonzini 5y agoNo, m4 is written in C but it is autonomous. Liquid needs something like Jekyll around it.
- ricardobeat 5y agoWhat 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 http://mustache.github.io/mustache.5.html
- bonzini 5y agoJinja2 is an API and it needs a Python program to determine the values for the substitution variable and invoke the template engine. In contrast the M4 executable is the engine.