/AdventOfCode

Primary LanguageJavaScriptMIT LicenseMIT

Advent Of Code 2023

Number of stars

Summary

My path through the current Advent Of Code 2023.

Usage

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

VSCode extension for Roc

To use a VSCode extension for Roc you have to install the Roc language server binary.

Hints

Day 6 works only when using the legacy linker. Thats why I commented it out.

License

MIT