Gutt templater

What is it

Gutt is an experimental templater. Templates are an assets like an images or cascade style sheets, and template should be prepared with same instruments.

Template is a declarative description of UI, syntax should be simple enough to port it to any platform.

Gutt has two components: parser and stringifiers. Parser reads templates and provides AST. Stringifiers are responsible to convert AST to module for any platform.

Supported platforms are limited only by imagination or technical complexity. You can create static website to show it to your customers. And same templates can be used to serve it with Node.js. You can switch stringifier and transpile your templates to PHP and serve them old-fashion way with Apache and PHP. You can also use stringifier for browser to hydrate the page on server side and get client side rendering with same templates.