PGF run-time library in Haskell
See also GF book and slides