Updated 2015-07-06 23:29:07 by booksandlibros

Template engine similar to Mustache.js, Handlebars.js, or Underscore.js If you have writtten one in TCL/TK please add yours here. Feel free to push mine down; put yours at the top.


I needed a template engine. All the ones I found were too complicate and too involved, so I wrote one. I'm calling it Curlys (that is plural curly, not possessive).

There are two constructs for the HTML page (webpage).

  • {{name}}
  • {{File:filename}}

Of course, it will need to exchange the name for a string. Those are in flat file (text file), whose filename can be defined in an environment variable.

The code is available on github