How about using a parser generator ? Yacc, ragel, bison, etc[0] ?
Nooooo, we have to use rust, because we are not "2017" if we don't.
[0] https://en.wikipedia.org/wiki/Comparison_of_parser_generator...
PS I use C. I say this to align my post with the "Rust is the best and i use rust" mentality of the article.
EDIT: Also, this article says absolutely nothing about actually writing a parser.