Every year I'm trying to solve the Advent of Code using a new programming language. This year using Odin.
All solutions are in their respective directories. To solve the puzzles use:
cat puzzle.txt | odin run .
# or with debug logging enabled
cat puzzle.txt | odin run . -define:LOG_LEVEL=debug
cat puzzle.txt | odin run . -define:VERBOSE=trueTo run the simple example issue:
cat test.txt | odin run .Some days have unit tests. To run issue:
odin test .
# or with debug logging enabled
odin test . -define:ODIN_TEST_LOG_LEVEL=debugI'm really enjoying Odin. The learning curv is not as painful compared to Zig or Rust which I tried in previous years.