AdventOfCode2023

Description

Advent of Code 2023 in pharo smalltalk

Details

Source
GitHub
Dialect
pharo (25% confidence)
Stars
1
Created
Dec. 10, 2023
Updated
Dec. 27, 2023
Topics
advent-of-code-2023 pharo-smalltalk smalltalk

README excerpt

# Advent of Code 2023
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:
```smalltalk
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:
- [Day1](https://nsrahmad.github.io/posts/advent-of-code-2023-using-pharo-smalltalk-day-1/)
- [Day2](https://nsrahmad.github.io/posts/advent-of-code-2023-using-pharo-smalltalk-day-2/)
- [Day3](https://nsrahmad.github.io/posts/advent-of-code-2023-using-pharo-smalltalk-day-3/)
← Back to results