Flexible
Flexible
Tuxedo provides a flexible, extendible template engine
Fast
Fast
Performs well even on large template files
Lightweight
Lightweight
The whole library is just a set of data types and functions butilt upon the Eval interpreter engine
Comprehensive
Comprehensive
Comes with a lot of built-in opeartors, functions, everything you might need
Learn How
Learn How
The Getting Started documentation page is a great way to start. There is a separate page, which details template features in depth as well.
Try it out
Try it out
There is a playground included in the repository, which is a great way to try and experiment with the framework
Overview
Overview
Tuxedo is a template language for Swift. It allows you to separate the UI and rendering layer of your application from the business logic. It dresses up your output with elegant template elements, control statements, and high level operators. Check out the documentation for details.
Story
Story
The project was built upon my lightweight interpreter framework, Eval, and served as an example application of what is possible using this evaluator. Soon, the template language example turned out to be a really useful project on its own, so I extracted it to live as a separate library and be used by as many projects as possible. It is especially useful for server-side Swift projects, but there are a lot of other areas where template parsing fits well.