I feel intense satisfaction and life energy when I have some interesting project to code that isn’t some ephemeral thing.

A ton of progress on Koneko today. Refactored isolate pool, coded actual compiler for the templates, created API builder.

Today I learnt that templating in all libraries like EJS and ArtTemplate is literally done by just creating an empty string and adding HTML to it. I’ve coded a very simple compiler, and it was a bit tricky since I also had to support template characters (I chose them to be <% code %>, like EJS) inside JS strings and comments.

Also added tests and Github workflow for running them.