Loading repository data…
Loading repository data…
aartaka / repository
Completing Advent of Code 2021 in Common Lisp loop macro.
#+TITLE:Advent of Code in Loop
This is a repo for my horrible attempts to solve AoC 2021 puzzles with loop and nothing else. By "nothing else" I mean no other big control flow or programming paradigm but loop. This means:
All (well... most) of those have their loop counterpart that should be used instead. if and similar simple control flow macros are not imposing any paradigm, and thus can be used. Same goes for small built-in functions. Defining separate functions is fine, as long as their body is either a single loop or is less than four lines. Libraries that I use there are restricted to ASDF and UIOP, thus it should run on almost any standard-conformant and ASDF-bundling implementation.