You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# AdventOfCode 2021 - Learning Rust :heart: again ^^
2
+
3
+
This is my take on the [advent of code challenges](https://adventofcode.com/2021/) of 2021.
4
+
5
+
I already tried doing them in Rust [last year](https://github.com/bew/adventofcode-2020), but didn't go too far, because (for learning
6
+
purpose) I wanted to not use any libs, so I learned about cumbersome parsing and having to
7
+
re-write a simple generic error wrapper :)
8
+
9
+
Now I want to actually do somthing in Rust, so I'm using a few libraries, mainly:
10
+
-[`anyhow`](https://crates.io/crates/anyhow) for error wrapping, without having to deal with specific errors
11
+
-[`chumsky`](https://crates.io/crates/chumsky) for input parsing using combinators that build incrementally the AST of the input :heart:. I discovered this lib not long ago, and I fell in love, it's time to try it _for real_ now!
12
+
13
+
14
+
## Workflow
15
+
16
+
*`cargo run last`: Run the last available day, display results.
17
+
It's very handy when I'm working on the next day :smiley:
0 commit comments