Skip to content
/ jingu Public

My hobby project of creating a jinja2-like template engine with Python

License

Notifications You must be signed in to change notification settings

shiimaxx/jingu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jingu

My hobby project of creating a jinja2-like template engine with Python.

Implemented

Variables

{{ foo }}
{{ foo.bar }}
{{ foo['bar'] }}

Calculates

{{ 1 + 1 }}
{{ 3 - 2 }}
{{ 1 / 2 }}
{{ 20 // 7 }}
{{ 11 % 7 }}
{{ 2 * 2 }}

If statement

{% if True %}True!{% endif %}
{% if False %}False!{% endif %}

TODO

  • elif, else
  • for

About

My hobby project of creating a jinja2-like template engine with Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published