polyaoc-2020 icon indicating copy to clipboard operation
polyaoc-2020 copied to clipboard

solutions to advent of code 2020 puzzles in many languages

all years: polyaoc-2019, polyaoc-2020, polyaoc-2021, polyaoc-2023

(these languages are, in order: x64 assembly, C, Haskell, J, Julia, JavaScript, Jelly, Mathematica, Python, Ruby, Racket, Rust, bash, vim)

asm c hs ijs jl js jy mma py rb rkt rs sh vim
01
02
03
04
05
06
07
08
09
10
11

how to run the programs:

  • for jy, run jelly fun jy/##.jy "$(<input)"
  • for mma, paste into a notebook with the appropriate working directory
  • for vim, run vim -u NONE '+so vim/##.vim'
  • for asm, c, and rs, compile with gcc, gcc or rustc respectively, 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