Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/normanjaeckel/AdventOfCode
https://github.com/normanjaeckel/AdventOfCode
advent-of-code roc-lang
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/normanjaeckel/AdventOfCode
- Owner: normanjaeckel
- License: mit
- Created: 2022-12-03T14:25:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-18T00:13:28.000Z (6 months ago)
- Last Synced: 2024-04-09T21:59:55.366Z (3 months ago)
- Topics: advent-of-code, roc-lang
- Language: JavaScript
- Homepage:
- Size: 1.2 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-advent-of-code - normanjaeckel/AdventOfCode - 2024--01--18-brightgreen) (2023 / Solutions)
README
# Advent Of Code 2023
![Number of stars](https://img.shields.io/badge/Advent_Of_Code_2023-48_*-success)
## Summary
My path through the current [Advent Of Code
2023](https://adventofcode.com/2023).## Usage
First you have to get [Roc](https://www.roc-lang.org/) (see for example the [Roc
installation guide for x86_64 Linux
systems](https://github.com/roc-lang/roc/blob/main/getting_started/linux_x86_64.md)).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.gzGet the `roc` binary under `roc_nightly-linux_x86_64-` into your path.
For example you can use [devenv](https://devenv.sh/):$ 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](https://github.com/ivan-demchenko/roc-vscode-unofficial) you have to
[install the Roc language server
binary](https://github.com/ayazhafiz/roc/blob/lang-srv/crates/lang_srv/).## Hints
Day 6 works only when using the legacy linker. Thats why I commented it out.
## License
MIT