https://github.com/ostcar/aoc2024
Advent of Code solutions for 2024 in Roc
https://github.com/ostcar/aoc2024
aoc roc
Last synced: 5 months ago
JSON representation
Advent of Code solutions for 2024 in Roc
- Host: GitHub
- URL: https://github.com/ostcar/aoc2024
- Owner: ostcar
- License: mit
- Created: 2024-11-20T17:07:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-30T16:48:09.000Z (over 1 year ago)
- Last Synced: 2025-09-21T02:42:42.300Z (9 months ago)
- Topics: aoc, roc
- Language: Roc
- Homepage:
- Size: 105 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- really-awesome-advent-of-code - ostcar/aoc2024 - commit/ostcar/aoc2024/main) (🎄 2024 AoC Solutions / Solutions)
README
# Advent of Code 2024
Here are my solutions for [Advent of Code](https://adventofcode.com/) 2024. This
year in [Roc](https://www.roc-lang.org/).
It uses an [aoc platform](https://github.com/ostcar/roc-aoc-platform).
## Run
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
```
## Useful links
* builtins: https://www.roc-lang.org/builtins
* parser: https://lukewilliamboswell.github.io/roc-parser/
* array2d: TODO
* ascii: https://hasnep.github.io/roc-ascii/