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
- Host: GitHub
- URL: https://github.com/mobluse/adventofcode2022
- Owner: mobluse
- License: gpl-3.0
- Created: 2022-12-09T00:18:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-13T00:48:42.000Z (over 2 years ago)
- Last Synced: 2025-01-20T10:09:47.135Z (5 months ago)
- Topics: advent-of-code-2022, adventofcode, adventofcode2022, aoc, aoc2022, aoc2022-in-python, aoc2022-in-snek, python, snek, sneklang
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`.