Skip to content

alvarogonzalezsotillo/advent-of-code-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is my code for the advent of code 2022

The code can be run with ammonite, a script runner for Scala. I prefer ammonite over scala+sbt for the simplicity of installation, dependencies and execution.

  • The bootstrap ammonite script (*nix only) is located at the root of this repository
  • It can be used like:
    cd day-01
    ../amm day-01.sc
        

You can install ammonite with:

sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/2.5.5/2.13-2.5.5) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm' && amm

Other participants: