normanjaeckel / AdventOfCode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:JavaScript 67.6%Language:Elm 30.8%Language:HTML 1.4%Language:Smarty 0.2%Language:Nix 0.0%