/aoc2022

Advent of Code solutions written in Edina and Java

Primary LanguageShell

aoc2022

My Advent of Code 2022 solutions written in Edina and Java

Solved challenges
Day Part 1 Part 2 Lang
01 ✔️ ✔️ Edina
02 ✔️ ✔️ Edina
03 ✔️ ✔️ Edina
04 ✔️ ✔️ Java
05 ✔️ ✔️ Java
06 ✔️ ✔️ Edina
07 ✔️ ✔️ Java
08 ✔️ ✔️ Edina
09 ✔️ Edina
10 ✔️ ✔️ Edina
11 ✔️ ✔️ Java
12 ✔️ ✔️ Java
13 ✔️ ✔️ Java
14 ✔️ ✔️ Java
15 ✔️ Java
16
17 ✔️ Java
18 ✔️ ✔️ Java
19
20
21
22
23
24
25

Running the solutions

Requirements

  • Ability to run Bash scripts
  • A terminal
  • Java 17
  • curl
  • Internet connection

Running a solution
Clone this repository, open a terminal in the newly created folder and run the following command:

# ./run.sh DAY [-d]
# -d: Force the script to re-download EdinaJ and the Edina standard library
$ ./run.sh 1

Why did you solve the challenges with Edina?

In the past years I've solved the challenges in established languages like Java. This year I decided I wanted to do something different. I've recently published my own language called Edina and I thought it would be a great test for both myself and the language to solve AoC challenges in it. It is quite difficult since Edina is completely stack oriented (no variables whatsoever), but that's also the fun part. You need to think outside the box a bit.