https://github.com/elldritch/advent2021
Solutions for Advent of Code 2021.
https://github.com/elldritch/advent2021
Last synced: 5 months ago
JSON representation
Solutions for Advent of Code 2021.
- Host: GitHub
- URL: https://github.com/elldritch/advent2021
- Owner: elldritch
- Created: 2021-12-01T05:53:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-27T04:15:52.000Z (over 4 years ago)
- Last Synced: 2025-02-24T10:49:30.394Z (over 1 year ago)
- Language: PureScript
- Homepage:
- Size: 201 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# advent2021
Running a specific puzzle:
```sh
spago run --node-args '--day $DAY --part $PART --input $PATH_TO_INPUT_FILE'
```
To run a puzzle with a larger call stack (to bypass stack safety issues):
```sh
spago bundle-app
node --stack-size=$STACK_SIZE_IN_KB \
--stack-trace-limit=$STACK_TRACE_LIMIT \
index.js \
--day $DAY \
--part $PART \
--input $PATH_TO_INPUT_FILE
```