1AB 2AB 3AB 4AB 5-- 6AB 7-- 8-- 9-- 10-- 11-- 12-- 13-- 14-- 15-- 16-- 17-- 18-- 19-- 20-- 21-- 22-- 23-- 24-- 25-- solved
My solutions to Advent of Code 2022 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>