Parse Google Protocol Buffer specifications https://github.com/k-bx/protocol-buffers

Version on this page:2.1.6
LTS Haskell 10.10:2.4.8
Stackage Nightly 2017-12-24:2.4.6
Latest on Hackage:2.4.8

See all snapshots hprotoc appears in

BSD3 licensed by Christopher Edward Kuklewicz
Maintained by Kostiantyn Rybnikov

Module documentation for 2.1.6

To regenerate the plugin haskell files, please run

hprotoc -u --prefix=Text -d protoc-gen-haskell -I google-proto-files/ google/protobuf/plugin.proto

This was last populated from version 2.4.0a of Google's code.

Also, one can invoke cabal build to make dist/autogen and then

ghci -package parsec- -idist/build/autogen -iprotoc-gen-haskell Text/ProtocolBuffers/ProtoCompile.hs

should work.
comments powered byDisqus