Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrwilson/advent-of-code-2021
It's back. It's worse.
https://github.com/mrwilson/advent-of-code-2021
advent-of-code advent-of-code-2021 jq
Last synced: 28 days ago
JSON representation
It's back. It's worse.
- Host: GitHub
- URL: https://github.com/mrwilson/advent-of-code-2021
- Owner: mrwilson
- Created: 2021-11-28T13:37:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-14T21:54:31.000Z (about 3 years ago)
- Last Synced: 2024-08-09T17:30:45.506Z (5 months ago)
- Topics: advent-of-code, advent-of-code-2021, jq
- Language: jq
- Homepage:
- Size: 146 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# advent-of-code-2021
![Tests](https://github.com/mrwilson/advent-of-code-2021/actions/workflows/tests.yml/badge.svg)
Advent of SQL was not enough. This year, it's ...
👽 **Jadvent of Qode** 👽
So, what's here?
- Each day's puzzles live under the corresponding numeric directory `nn/`
- Directory numbers are zero-padded because numeric order is important to me
- Each directory will probably have:
- `day_nn.jq` (the solution)
- `day_nn_test.jq` (the unit tests)
- `input.txt` from the AoC site
- Teeny-tiny test/matcher framework that lives in `testing.jq`. I'll probably pull this out as a separate module once AoC is over called "jamqrest"
- `00/` is the testing spike and corresponds to Day 1 of AoC 2019
- Utilities library in `util.jq`
- Test runner logic in `test.sh````
$ ./run.shUsage: run.sh [-d (day)] [-p (part)] [-t (tests only)]
```