|
We use Mercury at YesLogic to write Prince, our HTML to PDF formatter! [1] We chose it because logic/functional languages are great for tree processing, Mercury was designed for large projects, and because in 2002 there really weren't many other options around. Its syntax and semantics are derived from Prolog, it borrows a lot from Haskell (types, type classes), in spirit it's reminiscent of OCaml (niche, little weird) and with support for unique modes there is some interesting overlap with Rust, although this aspect of the language still needs more compiler support. All in all, definitely worth checking out. [1] https://www.princexml.com/ |