Skip to content

My highly polished Advent of Code solutions. I took the opportunity to learn various languages and write excellent code.

Notifications You must be signed in to change notification settings

tqn/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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. There is also a rant/article about the Day 8 problem.

About

My highly polished Advent of Code solutions. I took the opportunity to learn various languages and write excellent code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published