Here are my solutions for Advent of Code 2024. This year in Roc.
It uses an aoc platform.
I shamelessly copied the repo starting point (including this README) from ostcar.
To run a day, call:
roc dayXX.roc
or for an optimized build:
roc dayXX.roc --optimize
Input files are expected next to the Roc-Script. For example, if your Roc file
is called dayXX.roc
, it expects the input file to be dayXX.input
.
Call a Roc-Script with --help
to see options:
roc dayXX.roc -- --help
- builtins: https://www.roc-lang.org/builtins
- parser: https://lukewilliamboswell.github.io/roc-parser/
- array2d: TODO
- ascii: https://hasnep.github.io/roc-ascii/