Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/b0o/advent-of-code-2023-jq
Advent of Code 2023 in Jq
https://github.com/b0o/advent-of-code-2023-jq
advent-of-code advent-of-code-2023 advent-of-code-2023-jq advent-of-code-in-jq advent-of-code-jq aoc aoc-2023 aoc-2023-in-jq jq json
Last synced: 9 days ago
JSON representation
Advent of Code 2023 in Jq
- Host: GitHub
- URL: https://github.com/b0o/advent-of-code-2023-jq
- Owner: b0o
- License: mit
- Created: 2023-12-08T11:20:05.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-13T15:38:49.000Z (11 months ago)
- Last Synced: 2024-05-01T15:49:14.198Z (6 months ago)
- Topics: advent-of-code, advent-of-code-2023, advent-of-code-2023-jq, advent-of-code-in-jq, advent-of-code-jq, aoc, aoc-2023, aoc-2023-in-jq, jq, json
- Language: jq
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2023 in Jq
I'm doing [Advent of Code 2023](https://adventofcode.com/2023) in [jq](https://jqlang.github.io/jq/) because jq is more expressive than you think.
My goal isn't to find the shortest or most performant solution, but to try to write solutions that are as readable and intuitive as possible.
## Usage
Use the `run.sh` script to run the puzzle. Pass the puzzle number as an argument. Runs the example input by default.
To run the actual puzzle, put it in `./${puzzle_number}/input.txt` and run `./run.sh -t ${puzzle_number}`.```sh
Usage: ./run.sh [options] [puzzle]Advent of Code 2023 in Jq
Options:
-h, --help Show this help message and exit
-e, --example Run example puzzle (example.txt) (default)
-t, --test Run actual puzzle (input.txt)
-w, --watch Watch for changes and run puzzle
```## Solutions
- ✅ [01-1](https://github.com/b0o/advent-of-code-2023-jq/blob/main/01-1/solution.jq)
- ✅ [01-2](https://github.com/b0o/advent-of-code-2023-jq/blob/main/01-2/solution.jq)
- ✅ [02-1](https://github.com/b0o/advent-of-code-2023-jq/blob/main/02-1/solution.jq)
- ✅ [02-2](https://github.com/b0o/advent-of-code-2023-jq/blob/main/02-2/solution.jq)
- ✅ [03-1](https://github.com/b0o/advent-of-code-2023-jq/blob/main/03-1/solution.jq)## License
[MIT License](https://mit-license.org/)