Skip to content

0.1.6

Latest
Compare
Choose a tag to compare
@clarete clarete released this 25 Apr 22:20
· 5 commits to main since this release
  • Default variables to undefined instead of raising an error
  • Added test operator is that is another syntax for passing parameters to functions that have a defined signature, they must return a Boolean value. e.g.: {% if something is defined %}.
  • Support {% include %} statements (Thanks to Guilherme Guerra)
  • New tests added: defined, divisible
  • New filters added: take (Thanks to Marko Kocić), abs, capitalize, escape (e), float, join, length, max, min, round, and title. Documentation is still ongoing, and help is wanted :)
  • Filter deprecated: getattr, please use attr instead
  • fix: for loop must access expression via value stack [commit]
  • fix: parsing floating point numbers [commit]
  • fix: filter operator precedence [commit]
  • fix: operators for remainder of division (%) and exponential ** implemented. They were present in the syntax but didn't have an implementation