ec46327357938a7de74b6d6a83b9bb3d8b47c3ff
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%