This repository contains Advent of Code 2023 solutions in Clojure.
src/
contains the solution code.test/
contains the solution tests.resources/
contains the problems' input data.For tooling, this project uses:
./tasks build
and ./tasks run
; run just ./tasks
for help.clj
CLI aliases like main
and test
.Example interaction:
$ ./tasks --help
$ ./tasks build
...
Ran 9 tests containing 17 assertions.
0 failures, 0 errors.
...
Successfully tagged minglis.id.au/aoc2023-clojure:latest
8f08acb2c9b479fa02a4876f2ef19bf49324d0c6b6a830b5570d80fa545c64fa
$ ./tasks run
"Elapsed time: 44.12044 msecs"
Day 3: [535351 87287096]
"Elapsed time: 9.500649 msecs"
Day 2: [2541 66016]
"Elapsed time: 15.8538 msecs"
Day 1: [55538 54875]
Copyright (C) 2023 Malcolm Inglis me@minglis.id.au
This software is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License (version 3) as published by the Free Software Foundation. A copy of that license is provided in the LICENSE file of this package. It is also available at: https://www.gnu.org/licenses/agpl-3.0.txt
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
SPDX-License-Identifier: AGPL-3.0-only