Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spamegg1/aoc
Advent of Code 2015 - 2024
https://github.com/spamegg1/aoc
advent-of-code aoc scala scala3
Last synced: 13 days ago
JSON representation
Advent of Code 2015 - 2024
- Host: GitHub
- URL: https://github.com/spamegg1/aoc
- Owner: spamegg1
- License: agpl-3.0
- Created: 2024-08-23T18:53:50.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-12-23T07:58:36.000Z (about 1 month ago)
- Last Synced: 2024-12-23T08:32:07.714Z (about 1 month ago)
- Topics: advent-of-code, aoc, scala, scala3
- Language: Scala
- Homepage: https://adventofcode.com
- Size: 1.92 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Advent of Code 2015-2023, in Scala
![aoc-logo](aoc.png)
Using
- [Scala-cli](https://scala-cli.virtuslab.org/) with
- [Visual Studio Code](https://code.visualstudio.com/) and
- [Metals](https://marketplace.visualstudio.com/items?itemName=scalameta.metals) extension.From Scala 3.5.0 onward, `scala` is the same as `scala-cli`.
## Setup
To setup, install Scala, VS Code, Metals, `git` and. Then
```bash
git clone https://github.com/spamegg1/aoc
cd aoc
scala setup-ide .
code .
```## Libraries
I setup this to be a Scala project using the
[Scala Toolkit](https://docs.scala-lang.org/toolkit/introduction.html).For example, for the puzzles that require file input / output, I use
[`os-lib`](https://docs.scala-lang.org/toolkit/os-read-file.html)
that comes with the Toolkit.