Solutions for Advent of Code, shown to me by a coworker.
Each day is done in a different language:
- Day 1: Standard ML (impl, description)
- Day 2: Factor (impl, description
- Day 3: Racket (impl, description)
- Day 4: Ruby (impl, description)
- Day 5: Go (impl, description)
- Day 6: C (impl, description)
- Day 7: Prolog (impl, description)
- Day 8: Haskell (impl, description)
- Day 9: Erlang (impl, description))
- Day 10: C++ (impl, description)
- Day 11: Common Lisp (impl, description)
- Day 12: Rust (impl, description)
- Day 13: Python (impl, description))
- Day 14: Java (impl, description)
- Day 15: JavaScript (impl, description)
- Day 16: Pyret (website) and OCaml (impl), description)
- Day 17: Scala (impl), description)
- Day 18: Elixir (impl, description)
- Day 19: Mercury (impl, description))
- Day 20: Clojure (impl, description)
- Day 21: Lua (impl, description)
- Day 22: Awk preprocessing + SQL.
Let's see if I can keep it up!
- F#
- Idris
- Nim
- Crystal
- Smalltalk
- Swift
- Ada
- FORTRAN
- COBOL
- Eiffel
- Io
- Self
- Kotlin
- Elm
- PHP
- Shen
- Pure
- J
- Orc
Suggestions welcome!
- Ideally, blog a bit about this project and the languages.
- Ensure we use stdin/file input wherever possible, rather than hard code the puzzle inputs.
- More idiomatic refactors of many of the later ones, not just "You can code Scheme in any language."