@hackage language-thrift0.7.0.0

Parser and pretty printer for the Thrift IDL format.

build-status

language-thrift provides a parser and pretty printer for the Thrift IDL format. In addition to parsing the IDL, it keeps track of Javadoc-style comments (/** ... */) and attaches them to the type, service, function, or field, above which they were added. These are retained when the document is sent through the pretty printer.

The parser uses parsers to allow plugging in the underlying parser. A default trifecta based parser is provided.

The pretty printer supports both, wl-pprint and ansi-wl-pprint. The ansi-wl-pprint-based pretty printer produces colored output.

Haddock-generated docs are available on Hackage and here.