Jinja2 template parser library

A template parser library I’ve written for Ada based on Jinja2 is now on Github:

It supports most of Jinja2 for Python. Template inheritance and autoescape are not supported, but I’m planning at least to add template inheritance.

5 Likes

Is Jinja just another fill in the blanks type templating?

It supports conditionals, loops, block substitutions, inheritance and simple expressions. More than just “fill in the blanks”

3 Likes

Available in Alire: Alire - Jintp

Template inheritance is now supported.

2 Likes

Version 0.2.0 has been released, featuring import of macros. It’s not in the alire index yet, however. Some approval seems to be missing.

1 Like

I think there’s a checkbox or similar for you to mark it as ready? (I clicked on mine, but it’s still waiting … people must be busy)

Ah, ok. I clicked on it, that wasn’t obvious to me, don’t remember it from the submission of 0.1.0.

That sounds rather like the template-engine for AWS.