Solutions for Advent of Code 2025, mostly in Picat
- Shell 42.2%
- Nim 22.9%
- Python 20.4%
- C 14.5%
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | ||
| 8 | ||
| 9 | ||
| 10 | ||
| 11 | ||
| 12 | ||
| lib | ||
| scripts | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
🎄 Advent of Code 2025 🎄
My solutions for the Advent of Code 2025 programming puzzles. Like last year I'll probably use Picat for most of these with Nim as a fallback for graph search problems that can be expensive in Picat.
Previous challenges
- 2015 (working on these now in Picat)
- 2019 (my first AoC, unfinished, to be resumed / restarted later...)
- 2020 (mostly Haskell, one or two in Rust, Python and zz)
- 2021 (mostly Haskell, with one in the magical Picat)
- 2022 (mostly Nim)
- 2023 (mostly Picat)
- 2024 (mostly Picat)
Current code stats with scc
───────────────────────────────────────────────────────────────────────────────
Language Files Lines Blanks Comments Code
───────────────────────────────────────────────────────────────────────────────
Picat 38 1666 197 104 1365
Nim 4 80 17 0 63
C 1 56 4 2 50
License 1 21 5 0 16
───────────────────────────────────────────────────────────────────────────────
Total 44 1823 223 106 1494
───────────────────────────────────────────────────────────────────────────────
Processed 46029 bytes, 0.046 megabytes (SI)
───────────────────────────────────────────────────────────────────────────────
Retrospectives
- Day 1: Secret Entrance
- Day 2: Gift Shop
- Day 3: Lobby
- Day 4: Printing Department
- Day 5: Cafeteria
- Day 6: Trash Compactor
- Day 7: Laboratories
- Day 8: Playground
- Day 9: Movie Theater
- Day 10: Factory
- Day 11: Reactor
- Day 12: Christmas Tree Farm