Advent of Code 2019
My solutions for AoC 2019. Last year I used the Nim programming language, but this year I want to use several languages, mainly Python, C and Rust.
pynt
I use a minimalistic build tool called pynt. It's written in Python
but it can be used for anything. You can install it with pip3:
pip3 install pynt --user -U
Then, if you see a build.py file, just launch the command pynt and it will print
the available tasks. For instance, to run the static type checker against a Python solution,
run pynt mypy inside the folder of a Python solution (for this to work, you need to
install mypy too, but you know the drill: pip3 install mypy --user -U).
Links
Environment
- Python: 3.7.x
- Rust: 1.39.0
- Operating system: Linux
Do you use C++?
No. For the C solutions, I use a library called stb that works with C/C++. Since I include this library everywhere (to produce stand-alone solutions), GitHub includes C++ in the project's language details.
Awesome AoC
- Awesome AoC is a collection of awesome resources related to the yearly Advent of Code challenge
- Awesome AoC / Python
- Awesome AoC / C
- Awesome AoC / Rust
Status
This year I couldn't finish all the exercises. I had other things to do, and some exercises got quite complicated. In 2020 I will try to solve some more exercises. At the end of 2019, here is my status:
