Skip to content

spamegg1/advent-of-code-2023-scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

advent-of-code-2023-scala

Intro

Happy New Year everyone! 🎄 🎅 🎆 🎇 🎊 🎉

Solving Advent of Code 2023 from December 1 to December 25, 2023, in Scala.

Using Scala-cli with Visual Studio Code and Metals extension.

Setup

To setup, install Scala, VS Code, Metals, git and scala-cli. Then

git clone https://github.com/spamegg1/advent-of-code-2023-scala
cd advent-of-code-2023-scala
scala-cli setup-ide .
code .

Usage

I setup 25 empty worksheets, one for each day. You can use the main branch as a "blank template".

Libraries

I setup this to be a Scala-cli project using the Scala Toolkit.

For example, for the puzzles that require file input / output, you can use os-lib that comes with the Toolkit.

Solutions

I will post solutions on the solutions branch, keeping the main branch empty.