1AB 2AB 3AB 4-- 5AB 6AB 7AB 8A- 9A- 10AB 11AB 12-- 13AB 14-- 15AB 16-- 17AB 18-- 19-- 20-- 21-- 22-- 23-- 24-- 25-- solved
My solutions to Advent of Code 2021 written in OCaml
npm i
You can install
esy
globally using other means. If you do, remove thenpx
part of the commands below.
This will install dependencies including the OCaml toolchain.
npx esy
Run inline tests
npx esy test
or in watch mode
npx esy test:watch
Puzzles are numbered day_{1..25}
For example, to run the puzzle of day 1
npx esy dune exec bin/day_1/puzzle.exe
Day 1A: <result>
Day 1B: <result>