A try (after a few months of delay) to solve some problems with the Elixir programming language.
https://adventofcode.com/2023/
REPL:
iex -S mix
You can run the test files with the mix test
command.
And you can run the main solving program for a specific day:
mix run -e 'Advent.Day01.main()'
for the day 01 for instance, should print the result.
Just do:
mix test
or
mix test --include "Day01"
if you just want to run a test case for a specific advent of code day.
credo is a static code analysis tool.
Just:
mix credo