This repository contains my solutions for Advent of Code 2023. I am learning Pharo so quality of code isn't great. To load the code with all dependencies in a fresh pharo image (>= v11), do:
Metacello new
baseline: 'AdventOfCode2023';
repository: 'github://nsrahmad/AdventOfCode2023';
load.
Each Day is represented as a class, with three class side methods input
,
part1
, and part2
. input
obviously has the contents of input given with the
puzzle. part1
and part2
have <script>
pragma in them so you can run them by clicking
on the icon besides them in the browser, which opens a dialog with answer.
I am also writing blogposts for each day: