mdallastella / aoc-clerk

Advent of Code with Clojure and Clerk.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Clerk

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.

Why Clerk?

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.

Credits

About

Advent of Code with Clojure and Clerk.

License:Other


Languages

Language:Clojure 95.9%Language:CSS 4.1%