Skip to content

Latest commit

 

History

69 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdventOfCode2023

Note :

  • before day 8 I left some commented breakpoints in case someone wants to run the code and see the result of the day.
  • After day 8 I'll voluntarily leave commented breakpoints in places where, I think, it can help someone else understand what is happening if they want to play with the code.

I had a love story with Erlang younger and wanted to get back to it. Of course we I were young and once I grew up and listened to everyone else telling me that Erlang is not a good language for anything, I tried to forget about it. Then it came back dressed as a Ruby and... Yes I fell.

Since I am doing this AoC in Elixir to learn, I happily take feedback.

How to run

Every day has its unit tests in test/dayNN_test.exs (68 tests at the moment, all passing). A few tests are commented out where I hit the time I allow myself for AoC, mostly on day 13. Run them with mix test.

You can also run any day with mix dayX where X is the day number, like in mix day01. Place your input in inputs/dayX.txt before.

References

I read first days of Ryan Bates' last year Elixir repo last month to decide if it was a good idea to use Elixir this year. It's beautiful ! You should have a look: https://github.com/ryanb/advent-2022

Personals goals for this AoC:

  • Use an optic libs -> done
  • Use Parsec -> done and I love it more and more
  • look at Macros and metaprogramming
  • Maybe use libgraph
  • Test some visualisation in Elixir ?
  • Not use concurency just because I can. (unless it's fun of course !)

About

Advent of Code 2023 in Elixir

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages