/advent-2017

Solutions to Advent of Code 2017

Primary LanguagePython

Advent 2017

I did 2016's Advent of Code puzzles last year trying to do a different language every day. It fun!

This year I want to try to do something a little differently: I'm going to do as many of the puzzles as possible each in one of the major paradigms, in a language I'd like to improve in. Meaning, for each day, I'm aiming to produce

  • An OCaml solution (functional programming).
  • A Factor solution (concatenative programming).
  • A Prolog solution (logic programming).
  • A Rust solution (man, idk, I just want to learn Rust).
  • A Python solution (Procedural? Object-Oriented? idk last 3 jobs had me using Python and I never really cared enough).

The goal here is to do a bit more depth on the paradigms and languages I'm less familiar with. While last year I got a ton of depth, I'd like to feel less lonely jumping into a codebase in either of the languages above.

Completions

Python OCaml Prolog Factor Rust
Day 1 X X X X
Day 2 X X X
Day 3 X
Day 4 X X
Day 5 X X
Day 6 X X
Day 7 X
Day 8 X X
Day 9 X X
Day 10 X
Day 11 X
Day 12 X

Versions

  • Python 3.6.3
  • SWI-Prolog 7.6.3
  • OCaml 4.06, with Jane Street Core library and corebuild (follow these instructions)