The Template module implements both parsing and compiling templates.
(add-loader)
Adds the custom template loader to Janet's module/loaders.
(from-file path)
Load a template from a file. Returns the template function.
(template source &opt where)
Compile a bar template string into a function. Optionally provide a location where the source is from to improve debugging. Returns the template function.