These are my answers for Advent of Code 2021 in Arc. If you want to run them:
- Create a subfolder lib with (a link to) the standard library's
strings.arc
and Conrad Barski'sre.arc
. - Start an Arc repl from the repository root and
(load "aoc.arc")
- Now you can use
(run day part example?)
, withday
andpart
being the number of the day and part to run, andexample?
absent ornil
to use the normal input, ort
to use the example input.