An open API service indexing awesome lists of open source software.

https://github.com/mobluse/adventofcode2022

Advent of Code 2022 in Snek & Python
https://github.com/mobluse/adventofcode2022

advent-of-code-2022 adventofcode adventofcode2022 aoc aoc2022 aoc2022-in-python aoc2022-in-snek python snek sneklang

Last synced: 3 months ago
JSON representation

Advent of Code 2022 in Snek & Python

Awesome Lists containing this project

README

        

# Advent of Code 2022
Some of my solutions in [Snek](https://sneklang.org/), but they should also work in Python. I have modified the input files by adding a last
line with a single dot '.', because I read the files using `input()` and Snek doesn't have exceptions.

You get the input data from https://adventofcode.com/.

I installed Snek in Debian Bullseye Linux by cloning Lola, compiling with `make`, and installing with `sudo make install`, and then installing the
dependencies except `lola`. Then cloning `snek`, compiling from `~/snek/ports/posix/` with `make`, and installing with `sudo make install`.