Solutions of some puzzles in Scheme (Lisp), 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 🏳‍🌈 59d23ac0d5 minor simplification 5 months ago
day01-easy added inputs to repository (since turns out they're different for everybody) 5 months ago
day01-hard added inputs to repository (since turns out they're different for everybody) 5 months ago
day05-easy added inputs to repository (since turns out they're different for everybody) 5 months ago
day05-hard minor simplification 5 months ago
example added inputs to repository (since turns out they're different for everybody) 5 months ago
.gitignore added inputs to repository (since turns out they're different for everybody) 5 months ago
README.md simplified code 5 months ago

README.md

AdventOfCode-2023-functional

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

This is my first experience with Lisp, so the code is probably terrible.

Also I decided to reimplement all the mostly basic stuff (like map or reduce) myself, both for fun and because Guile documentation is really bad.

Requirements: Guile 3 in /usr/bin.

In a folder for a specific day,

  • To run (assuming NuShell): open sample.in | ./main.scm;
  • To run (assuming bash): ./main.scm < sample.in.

There are also all solutions in imperative low-level Zig: https://oomza.cutegay.software/inga-lovinde/AdventOfCode-2023