kristapsdz
released this
10 Dec 18:03
·
2 commits
to master
since this release
Add --template functionality to -tman, -tms, and -tgemini.
Add and()
, or()
, and not()
as initial values to template expressions. These allow for ifdef
to test for multiple values at once.
Document all escape*()
modifiers.
Recognise a special modifier --
at the end of control statements (e.g., $endfor--$
, which consumes up and and including the end-of-line. This is necessary for integrating templates with roff-based languages that are line sensitive.
Clarify that any empty statement, even with only white-space, evaluates to the $
literal. This simplifies the parser and reduces corner cases. (Earlier, an empty statement with white-space was ignored, but an empty statement without white-space was a literal $
).