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 🏳‍🌈 9d4abb930f day 10, part 2 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
day07-easy day 7, part 1 1 year ago
day07-hard day 7, part 2 1 year ago
day08-easy added inputs to repository (since turns out they're different for everybody) 1 year ago
day08-hard fixed readme formatting 1 year ago
day09-easy day 9, part 1 1 year ago
day09-hard day 9, part 2 1 year ago
day10-easy day 10, part 1 1 year ago
day10-hard day 10, part 2 1 year ago
day11-easy day 11, part 1 1 year ago
day11-hard day 11, part 2 1 year ago
day12-easy day 12, part 1 1 year ago
day12-hard day 12, part 2 1 year ago
day13-easy day 13, part 1 1 year ago
day13-hard day 13, part 2 1 year ago
day14-easy day 14, part 1 (forgot to commit) 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