The language-thrift package

[Tags:bsd3, library, test]

This package provides a parser and pretty printer for the Thrift IDL format.

[Skip to Readme]


Versions,,,,,,,,,,,,,,,,,, (info)
Change log
Dependencies ansi-wl-pprint (==0.6.*), base (>=4.7 && <5), containers (==0.5.*), megaparsec (>=5.0 && <6.0), scientific (==0.3.*), semigroups (==0.18.*), text (>=1.2), transformers [details]
License BSD3
Author Abhinav Gupta
Maintainer Abhinav Gupta <>
Category Language
Home page
Bug tracker
Source repository head: git clone
Uploaded Sun Sep 25 21:24:15 UTC 2016 by abhinav
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 1140 total (14 in the last 30 days)
1 []
Status Docs available [build log]
Last success reported on 2016-09-25 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for language-thrift

Readme for language-thrift-


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 megaparsec and the pretty printer ansi-wl-pprint. The pretty printer can produce syntax highlighted output.

Haddock-generated docs are available on Hackage and here.