I can easily parse strings with DCG using the Mercury programming language. It is compiled, statically typed, and fast.

#prolog #mercurylang #programming