43b47b2a3494de00ac570126bcbb8baf8b7ae436
We want to change Aoc.main to take a single printer parameter to simplify the run process.
Advent of Code Implementations
Solutions to Advent of code problems written in OCaml
Copyright 2024, Matthew Gretton-Dann.
Licensed under the Apache 2.0 license.
Build instructions
- Install
ocaml
- Clone repository:
git clone https://gitea.gretton-dann.synology.me/mgrettondann/ocaml-aoc.git
- Enter directory:
cd ocaml-acc
- Set up switch:
opam switch create .
- Build with dune:
dune build
Executing tests
Tests are named as bin/dayYYNN.exe
, where YY
is the last two digits of the year, and NN
is the day. For example bin/day2401.exe
is the executable for 2024 day 1. All tests take a command line option containing the file name of puzzle input.
Description
Languages
OCaml
99%
Dune
1%