Skip to content

callumfrance/advent-of-code-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2021

How to smalltalk

Download gnu smalltalk

The story

I would have used brew except the bottle was not available https://formulae.brew.sh/formula/gnu-smalltalk#default

I thus submitted a new issue to brew where it becamse apparent that the ARM bottle did not exist for gnu-smalltalk. Homebrew/homebrew-core#113868

At this point, I realised that I would have to turn to Docker to get this working. And it did.

The outcome

You can build the container for this project as follows:

docker build -t advent_smalltalk_2021 .
# or
make docker-build

This will grab the latest ubuntu container; install gnu-smalltalk via apt, and open up a bash shell, where the various smalltalk programs can then be executed.

Run one of the files like so

docker run advent_smalltalk_2021 gst <SMALLTALK_FILE>
# e.g. -
docker run advent_smalltalk_2021 gst src/7/7.st

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published