polyaoc-2019
polyaoc-2019 copied to clipboard
solutions to advent of code puzzles in many languages
all years: polyaoc-2019, polyaoc-2020, polyaoc-2021, polyaoc-2023, polyaoc-2024
(these languages are, in order: x64 assembly, bash, C, dc, Haskell, JavaScript, Julia, Mathematica, Python, Ruby, vim)
asm | bash | c | dc | haskell | js | julia | mathematica | python | ruby | vim | |
---|---|---|---|---|---|---|---|---|---|---|---|
01 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||||
02 | ✓ | 1 | ✓ | ||||||||
03 | ✓ | ✓ | |||||||||
04 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||||
05 | ✓ | ✓ | |||||||||
06 | ✓ | ||||||||||
07 | ✓ | ||||||||||
08 | ✓ | ✓ | |||||||||
09 | ✓ | ||||||||||
10 | ✓ | ||||||||||
11 | ✓ | ||||||||||
12 | ✓ |
how to run the programs:
- for mathematica, paste into a notebook with the appropriate working directory
- for vim, run
vim -u NONE '+so vim/##.vim'
- for asm and c, compile with
gcc
, then run the resulting executable - for everything else, the files are executable; just run
lang/##.ext
note that everything expects to be run from the directory containing input