Skip to content

Henkoglobin/advent-of-code-2023

Repository files navigation

Advent Of Code 2023

Advent of Code is a site that puts up two programming puzzles for each day leading up to Christmas. It's a nice way to enjoy some recreative coding, and I especially use it as a chance to use lazylualinq productively, fixing bugs and adding missing functions in the meantime.

Building and Running

This project depends on a number of rocks; it's assumed that they are installed in the ./lib directory:

luarocks install --dev --tree ./lib lazylualinq
luarocks install --tree ./lib http
luarocks install --tree ./lib lua-string
luarocks install --tree ./lib Lrexlib-PCRE2

Additionally, you'll have to provide your token from Advent of Code's session Cookie in a file called .token. Then, run:

lua -l bootstrap main.lua