Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/christianberg/advent

Solving the Advent of Code puzzles in `jq`
https://github.com/christianberg/advent

jq puzzle-solution

Last synced: 17 days ago
JSON representation

Solving the Advent of Code puzzles in `jq`

Awesome Lists containing this project

README

        

# Advent of jq
Solving the [Advent of Code](https://adventofcode.com/) puzzles in
[`jq`](https://stedolan.github.io/jq/).

Generally there are two scripts per day: `a.jq` is the solution to
part 1 of the puzzle, `b.jq` the solution to part 2. The scripts are
executable and read the puzzle input from `STDIN`:

```
./a.jq < sample.txt
```