Changes for version 0.01 - 2025-01-28
- Initial release
- Tokenizer for Jinja2 syntax
- Parser generating AST
- Emitter producing TT2 code
- CLI tool (jinja2tt2)
- Support for:
- Variables and attribute access
- Filters (40+ mapped to TT2 equivalents)
- Conditionals (if/elif/else)
- Loops (for/endfor with loop variables)
- Blocks and macros
- Includes
- Comments
- Whitespace control
- Ternary expressions
- List and dict literals
Modules
Transpile Jinja2 templates to Template Toolkit (TT2)
Emit TT2 code from Jinja2 AST
Map Jinja2 filters to TT2 equivalents
Parse Jinja2 token stream into AST
Tokenize Jinja2 templates