Hey Thaddy,
fcl-web contains a pretty good templating engine.
You can expand that if required.
It is written for - but not tied to - webpages, but is is really agnostic.
I've used that templating engine before. I was quite frustrated that there was only call back functionality. And sure, with some time I could probably get it to a semblance of the
Tera one. I think...
Both Rust and Go have this quite appealing syntax, with includes, conditionals and loops. Not to mention the fact that you can send a
Class/
Struct into them and they just consume it. That's still in the To Do list for mine.
I've now got
fp-tera-cli to a point where you don't fight the call backs and have a quite comprehensive Expression Parser for conditionals.
Which is to say that, out-of-the-box, you can just drop a
.tpl file, and it just works. With
fp-web, there's a lot of assembly required!!
Again, the template engine that comes with
fp-web is not that bad. It just lacks some basic features, IMHO. And after doing it with the Context concept, I quite like it.
Cheers,
Gus