Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tqn/advent-of-code
My highly polished Advent of Code solutions. I took the opportunity to learn various languages and write excellent code.
https://github.com/tqn/advent-of-code
Last synced: about 1 month ago
JSON representation
My highly polished Advent of Code solutions. I took the opportunity to learn various languages and write excellent code.
- Host: GitHub
- URL: https://github.com/tqn/advent-of-code
- Owner: tqn
- Created: 2024-01-23T22:56:31.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-06-03T11:57:53.000Z (7 months ago)
- Last Synced: 2024-06-03T13:57:47.804Z (7 months ago)
- Language: Scheme
- Homepage:
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code
These are my Advent of Code attempts. So far, I have used AoC as an opportunity to write elegant code in fun languages.
## 2022
I attempted AoC 2022 in Haskell. Given my math background, it was a delight.
I think I was using GHC 9.2.5. The file structure is a mess (e.g. full of duplicated and modified files) and ~~no Nix development shell is provided~~ because I was trying to focus on the Haskell at the time. ~~I may fix this in the near future.~~ (NOTE: I have sort of fixed it for now! The environment is at least reproducible.) For some of the later solutions, I gave up trying to avoid dependencies and used `megaparsec`.
## 2023
I attempted AoC 2023 in (Guile) Scheme, before switching to Clojure due to some frustrations. The file structure is much nicer this time --- I learned from the previous year's attempt. It includes a `flake.nix` development shell.
Less fun than Haskell in my opinion, but still quite educational and entertaining. More details can be found in [2023's readme](2023/README.md). There is also a [rant/article about the Day 8 problem](2023/day8_ARTICLE.md).