~deciduously/aoc2020

Advent of Code 2020 in Nim
Day 7 Part 2
Day 7 Part 1
Remove extra comment

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~deciduously/aoc2020
read/write
git@git.sr.ht:~deciduously/aoc2020

You can also use your local clone with git send-email.

#aoc2020

Advent of Code 2020 in Nim.

#Usage

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. ./aoc 1.

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 \r\n instead.