Trulla Templates is like Handlebars or Mustache templates, but statically typed and safe!
Node via CLI
Go to the Node CLI Documentation
C# usage via Source Generators
Go to the C# Documentation
F# usage via Type Providers**
Go to the F# Documentation
Have a look at the tests for more samples!
for loops (with separator)
{{for c in chars}}{{c}}{{end}}
{{for x in numbers|;}}{{x.id}}{{end}}
if/else
else
part is optional.Order is {{if order.isActive}}active{{else}}closed{{end}}.
Trulla is implemented in F#. It basically contains everything a "real" language has, like
If you want to know more, have a look at the (Internals)[./src/docs/Internals.md].