Advent of Code 2020 in Nim.
Install Nim. Clone this repo and execute, e.g.
nim compile --run aoc.nim 1 or
nim c -r aoc.nim 1 to run the Day 1 solution. Pass the desired day to execute, or
0 to run all days in sequence. It will place the
aoc binary in the current directio for subsequent runs with, e.g.
These were all written on Linux, and thus assume
\n line endings. I may write a cross-paltfrom adapter at some point, but I was able to work on this repo in Windows by editing
helpers.nim to look for