Advent of Code 2022

I'm a bit late to the party, but I'm having a crack at this year's Advent of Code challenge using ngn/k, a free and open-source implementation of the K programming language.

Advent of Code 2022 ngn/k

I'll be posting my solutions using kral, my homebrewed tool for embedding K code into Gemini pages (a poor an's R Markdown, if you will). Hopefully this will help both to explain my thinking, and to go some way towards decrypting the infamously terse K language.


I'm hoping I'll be able to tackle a decent number of these problems this year, but I am also expecting my first child to be born pretty imminently, so this might end up falling by the wayside. Whatever I manage to put up, however, I hope it is at least of interest.


Day 1: Calorie Counting Day 2: Rock Paper Scissors