tage
tage will turn your functions into template tags.
Just take a function that has a string as its first argument, then pass it into tage to get a function that works as a template tag, returning a new function.
The new function acts exactly as the old one as well, so you can use it both ways.
NOTE: This only works in environments that support template tags.
Example
var tage = var assert = { return str + arg1 + arg2} var tageFoo = assertassert
License
See LICENSE.txt