A repository containing my advent of code solutions; built in Clerk.
Those unfamiliar should read here but in short it’s an annual programming puzzle competition focused around the Advent.
For anyone that’s used Clerk before, the answer should be obvious; but otherwise Clerk is a notebook-style live programming environment for Clojure that also renders comments in Markdown.
Without needing extra files (other than 1 index page) and adding in some comments, I can export my namespaces as HTML pages with examples; and even use custom HTML viewers.
Live is truly live, within milliseconds of me saving my namespace the running
output (called by bb serve
) updates with the computed result. Long-running
answers happen during evaluation time but as soon as that’s done the page
updates. The instant feedback in this kind of environment is vital.
- Advent of Clerk of which this is based on
- elken/aoc this is a fork of this repository 🙏