kspalaiologos / aoc2023

Advent Of Code 2023 in APL, Haskell and C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aoc2023

A pit of experiments:

  • Trying out DyalogScript and in general idiomatic APL for (imperative) AoC problems.
  • Trying out elegant Haskell.
  • Trying out the "Whitney C" programming style.
  • Potentially trying out asm3bf to solve some problems in Brainfuck or SUBLEQ.

Of course, there are easier ways to solve the Advent Of Code. One of such ways is not using SUBLEQ or deliberately obtuse C as your main programming tool. But exploring less familiar ideas or trying out less weildy tools for the job slightly increases the difficulty level, which makes the tasks more interesting than solving them in Java or Python.

Day APL Haskell C SUBLEQ
1 🟒 🟒 🟒 🟒
2 🟒 🟒 🟒 🟒
3 🟒 🟒 🟒 πŸ”΄
4 🟒 🟒 🟒 πŸ”΄
5 🟑 🟒 🟒 πŸ”΄
6 🟒 🟒 🟒 πŸ”΄
7 πŸ”΄ 🟒 🟒 πŸ”΄
8 🟒 🟒 🟒 πŸ”΄
9 🟒 🟒 🟒 πŸ”΄
10 πŸ”΄ πŸ”΄ 🟒 πŸ”΄
11 🟒 🟒 🟒 πŸ”΄
12 πŸ”΄ 🟒 🟒 πŸ”΄
13 πŸ”΄ 🟒 πŸ”΄ πŸ”΄
14 πŸ”΄ 🟒 πŸ”΄ πŸ”΄
15 πŸ”΄ πŸ”΄ 🟒 πŸ”΄

Bottom line: I got bored of AoC so I will not be polishing my solutions and putting them here anymore. I will compete, though.

About

Advent Of Code 2023 in APL, Haskell and C.

License:GNU General Public License v3.0


Languages

Language:Haskell 50.6%Language:C 40.0%Language:APL 9.4%