An open API service indexing awesome lists of open source software.

https://github.com/emnudge/minimal-templating-lang

The most minimal of templating languages
https://github.com/emnudge/minimal-templating-lang

Last synced: about 1 month ago
JSON representation

The most minimal of templating languages

Awesome Lists containing this project

README

          

# Minimal-Templating-Lang
The most minimal of templating languages


This is a minimal templating language that should never ever be used by anyone. It was a test to see if I could make a mini-templating language with just node. It works similarly to a stripped down version of things like pug. It only has a very basic partials system.

Will it be expanded in the future? Possibly, but don't bet on it. It was just a way to occupy some free time I had on an off day.


The one this this showed me is that my code is abhorrently messy when doing complex string mutilation. Regex alone is clearly not enough to create somewhat readable text transformation. I may need to dig into parsing frameworks.