Solutions of most (39 out of 50 so far) puzzles in Zig (system language, alternative for C). My first experience with it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Inga 🏳‍🌈 47acfe1cf6 fixed another bug 1 year ago
day01-easy added inputs to repository (since turns out they're different for everybody) 1 year ago
day01-hard added inputs to repository (since turns out they're different for everybody) 1 year ago
day02-easy added inputs to repository (since turns out they're different for everybody) 1 year ago
day02-hard added inputs to repository (since turns out they're different for everybody) 1 year ago
day03-easy added inputs to repository (since turns out they're different for everybody) 1 year ago
day03-hard added inputs to repository (since turns out they're different for everybody) 1 year ago
day04-easy added inputs to repository (since turns out they're different for everybody) 1 year ago
day04-hard added inputs to repository (since turns out they're different for everybody) 1 year ago
day05-easy added inputs to repository (since turns out they're different for everybody) 1 year ago
day05-hard added inputs to repository (since turns out they're different for everybody) 1 year ago
day06-easy added inputs to repository (since turns out they're different for everybody) 1 year ago
day06-hard added inputs to repository (since turns out they're different for everybody) 1 year ago
day08-easy added inputs to repository (since turns out they're different for everybody) 1 year ago
day08-hard fixed another bug 1 year ago
.gitignore added inputs to repository (since turns out they're different for everybody) 1 year ago
README.md link to functional solutions 1 year ago

README.md

AdventOfCode-2023

Solutions to https://adventofcode.com/2023/

This is my first experience with Zig.

In a directory for a specific day,

  • To test: zig build test;
  • To run (assuming NuShell): open sample.in | zig build run;
  • To run (assuming bash): zig build run < sample.in.

There are also some solutions in Scheme: https://oomza.cutegay.software/inga-lovinde/AdventOfCode-2023-functional