My path through the current Advent Of Code 2023.
First you have to get Roc (see for example the Roc installation guide for x86_64 Linux systems).
Download the latest nightly build and untar the archive:
$ wget https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-latest.tar.gz
$ tar -xf roc_nightly-linux_x86_64-latest.tar.gz
Get the roc
binary under roc_nightly-linux_x86_64-<VERSION>
into your path.
For example you can use devenv:
$ devenv shell
Build and run my code:
$ roc build
$ ./main 24 # Runs the code for Christmas Eve
To use a VSCode extension for Roc you have to install the Roc language server binary.
Day 6 works only when using the legacy linker. Thats why I commented it out.
MIT