It was inevitable. (Wrote my own static-site generator)
This was gonna happen one way or another, and continuing from my earlier posts about improving my blog, I've finally taken the dive to writing my own static site generator. It was written in scheme , and during which I learned so much about using SXML , tree traversal and transformation and building a multi-module project.
But, this is just the beginning, as the static site generator is supposed to be only part of a large set of tools to better track my development and learning. A timeclock to be used with the Pomodoro method is part of it, and soon I'll make a visualizer for the entire site as well, so one may view how my notes connect with one another. With the absolute state of the modules' docs and the code itself, i'm not confident enough to publish the code quite yet. Maybe someday.
Although it certainly wasn't easy, I can't truly call it DIY, as I
relied on GNU Guile's many modules for different things, including an
xml parser and many list-processing commands. Not to mention also
using
lowdown
to compile my markdown files into html. That's still a
lot of dependencies.. Am I ready to take
that kind of
dive
? Not really sure.
If I do head down that road, I may end up implementing my own Scheme on top of Forth or Pre-Scheme . Once there, implement an xml parser, markdown parser and so on.