" Learning a new language via Advent of Code turned out to be a great idea. I highly recommend it. " I'll second this: Using a set of progressive problems is an excellent way to get used to actually writing code in a language. " My first stumbling block was parsing. Almost every AoC problem starts with parsing lines of text from an input file. " Scheme. Guile. The PEG parsing module. (There's no kill like overkill.)
> I'll second this: Using a set of progressive problems is an excellent way to get used to actually writing code in a language. IME AoC isn't really progressive though, the problems ramp up and down pretty dramatically. > Scheme. Guile. The PEG parsing module. (There's no kill like overkill.) Rust has several pretty good parsing libraries e.g. nom, lalrpop, pest, …
I keep thinking that Rust has gone a little too far on the "keep it minimal" front. It also really disturbs me just how often with rust I'm having to rely on third party hosted crates. That's one huge amount of trust going on there.