A few days ago, I discovered a little gem: Sprache. The name means “language” in German. It's a very elegant and easy to use library to create text parsers, using parser combinators, which are a very common technique in functional programming. The theorical concept may seem a bit scary, but as you'll see in a minute, Sprache makes it very simple. Text parsing Parsing text is a common task, but it can be tedious and error-prone.