/aoc-2023-zig

Advent of code 2023 in zig

Primary LanguageZig

Advent of Code 2023 in zig

Build

See Advent of Code 2023 for more information.

how to run

You need zig 0.11 or later to run this code. If you dont have zig installed, you can use a nix shell which includes all required dependencies.

$ nix-shell --run zsh

Within the shell you have can run every day, by

$ zig build day01

and the test for each day by

$ zig build test_day01

(Replace day01 with the day you want to run.)

run all tests

$ zig build test

Reference