https://github.com/abhinav/language-thrift
Haskell parser for the Thrift IDL format.
https://github.com/abhinav/language-thrift
Last synced: about 2 months ago
JSON representation
Haskell parser for the Thrift IDL format.
- Host: GitHub
- URL: https://github.com/abhinav/language-thrift
- Owner: abhinav
- License: bsd-3-clause
- Created: 2015-04-05T07:14:34.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-03-03T01:39:52.000Z (3 months ago)
- Last Synced: 2025-03-28T10:21:18.518Z (2 months ago)
- Language: Haskell
- Size: 365 KB
- Stars: 8
- Watchers: 4
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
[![build-status]](https://travis-ci.org/abhinav/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].
[build-status]: https://travis-ci.org/abhinav/language-thrift.svg?branch=master
[Thrift IDL format]: http://thrift.apache.org/docs/idl
[`megaparsec`]: http://hackage.haskell.org/package/megaparsec
[`ansi-wl-pprint`]: http://hackage.haskell.org/package/ansi-wl-pprint
[Hackage]: http://hackage.haskell.org/package/language-thrift
[here]: http://abhinavg.net/language-thrift/