Solutions to Advent of Code 2021 tasks written in GNU Marst dialect of Algol 60
Go to file
Der Teufel 3151aa11b6 Day 3 part 1 and beginning of part 2 (with debug lines) 2021-12-14 23:56:14 +01:00
data Days 1, 2; Preparation, compilation and run scripts; Project structure; Empty sources and data files for other days 2021-12-12 13:39:56 +01:00
src Day 3 part 1 and beginning of part 2 (with debug lines) 2021-12-14 23:56:14 +01:00
README.md Update 'README.md' 2021-12-12 12:58:56 +00:00
compile.sh Days 1, 2; Preparation, compilation and run scripts; Project structure; Empty sources and data files for other days 2021-12-12 13:39:56 +01:00
prepare.sh Days 1, 2; Preparation, compilation and run scripts; Project structure; Empty sources and data files for other days 2021-12-12 13:39:56 +01:00
run.sh Days 1, 2; Preparation, compilation and run scripts; Project structure; Empty sources and data files for other days 2021-12-12 13:39:56 +01:00

README.md

Algol of Code

My solutions for AoC 2021 written in GNU Marst dialect of Algol 60

Requirements

  • GNU MARST Algol-to-C Translator
  • gcc (to change the C compiler used change ./compile.sh)

Running the solutions

First run

./prepare.sh

Run it after each change to ./src/util.a60 to rebuild ./obj/util.o

To compile a solution run

./compile.sh dayNN

substituting dayNN with the correct day.

To run the solution with the day's data in ./data/dayNN.txt

./run.sh dayNN