2024-12-19 16:07:56 -08:00
2024-12-19 15:11:25 -08:00
2024-12-19 16:07:56 -08:00
2024-12-19 14:32:12 -08:00
2024-12-19 14:32:12 -08:00
2024-12-19 14:32:12 -08:00
2024-12-19 14:32:12 -08:00
2024-12-01 20:10:22 -08:00

(Zig) solutions to the 2024 Advent Of Code.

If you - like me - are new to the Zig language, Ziglings seems to be a well-respected entrypoint!

The authoritative source for this code is on Gitea. The GitHub version is a mirror. Self-hosting is not only the best way to learn, but also to reduce dependency on untrustworthy corporations.

Execution

I've tried (in main.zig) to make a general-purpose executable that can be passed arguments to determine the function to run (e.g. zig run main.zig -- 1 2), but so far no luck - lots of type errors 🙃

So for now, run directly with (e.g.) zig run solutions/01.zig, and do the following manual changes:

  • Change pub fn main() void {...} in each solution-file to invoke the function you want run.
  • Change isTestCase from true to false when ready to get the real solution.
Description
No description provided
Readme 386 KiB
Languages
Zig 100%