Based on the Mustache(5), mustache is supposed to have support for lambdas. This is also supposed by JMustache.
Lambdas
When the value is a callable object, such as a function or lambda, the object will be invoked and passed the block of text. The text passed is the literal block, unrendered. {{tags}} will not have been expanded - the lambda should do that on its own. In this way you can implement filters or caching.
Based on the Mustache(5), mustache is supposed to have support for lambdas. This is also supposed by JMustache.
It seems that mustache-ant does not support this. Is this something that can/should be supported?