Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giacomocavalieri/aoc
Haskell AOC
https://github.com/giacomocavalieri/aoc
advent-of-code aoc
Last synced: 14 days ago
JSON representation
Haskell AOC
- Host: GitHub
- URL: https://github.com/giacomocavalieri/aoc
- Owner: giacomocavalieri
- License: mit
- Created: 2022-05-06T20:36:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-06T20:54:01.000Z (over 2 years ago)
- Last Synced: 2024-12-20T21:15:57.837Z (14 days ago)
- Topics: advent-of-code, aoc
- Language: Haskell
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HAOC
Haskell Advent of Code### Setup of a new year
To auto generate the directory for a given year run `cabal run aoc-cli -- {year}`;
it will automatically generate all the skeleton files for year `{year}` and add a corresponding executable stanza to the `aoc.cabal` file.### Running a year
After setting up a year with `aoc-cli` you can run a day with `cabal run aoc-{year} -- {day}`;
It will automatically download the input from the aoc website and save it in `/aoc//.txt`.
In order to do so it needs a file `/aoc/.aoc-cookie` with the aoc website's session cookie value.