Skip to content

andy-paine/advent-of-code-2021

Repository files navigation

Advent of code 2021

Solutions to the advent of code 2021 in a variety of languages/tools

jq

Pipe the input data into relevant jq/part-* file e.g.

cat input.txt | jq/part-1

OPA/Rego

Evaluate the part using opa eval e.g.:

opa eval part_1 --package aoc -d rego/policy.rego -f values -i input.txt

Crystal

Evaluate each part using crystal run e.g.:

cat input.txt | crystal run crystal/part-1.cr

About

Solutions to the Advent of Code 2021 https://adventofcode.com/2021

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published