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 🏳‍🌈 a9622637d7 link to functional solutions 1 year ago
day01-easy day 1, part 1 1 year ago
day01-hard lol 1 year ago
day02-easy day2, part 1 1 year ago
day02-hard extract setMaxValue 1 year ago
day03-easy refactored to make part 2 easier 1 year ago
day03-hard day 3, part 2 1 year ago
.gitignore day 1, part 1 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