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 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
day05-easy added inputs to repository (since turns out they're different for everybody) 1 year ago
day05-hard minor simplification 1 year ago
example added inputs to repository (since turns out they're different for everybody) 1 year ago
.gitignore added inputs to repository (since turns out they're different for everybody) 1 year ago
README.md simplified code 1 year 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