[This is Tim](https://github.com/openpeeps/tim), the Red Guy of all template 
engines! Just a quick example, careful it's highly addictive:
    
    
    var catchy = ["the first Mate", "the great Pantzini", "principal Hiney"]
    section.container > div.row > div.col-12.text-center
      h1.fw-bold: "Hello, It's me!"
      for $p in $catchy:
        span.badge.text-bg-secondary.mx-2: $p
    
    
    Run

#### Some noteable features:

  * Beautiful syntax
  * Output Minifier
  * Binary AST caching & Pre-compilation
  * Browser sync & reload
  * Micro-language / AST-based interpreter (unstable and incomplete)
  * Transpiles to JS for client-side rendering



Tim is currently available as a Nimble library for Nim development. I plan to 
bring Tim to other programming languages as a standalone CLI app using S2S 
compilation. Building Tim for Node is also a good idea.

Meanwile, check `/example` directory to see [HttpBeast + 
Tim](https://github.com/openpeeps/tim/tree/main/example). Here is a [preview of 
the generated 
HTML](https://htmlpreview.github.io/?https://raw.githubusercontent.com/openpeeps/tim/main/example/preview.html).
 Cheers!

Reply via email to