hprotoc-2.1.7: Parse Google Protocol Buffer specifications

Safe HaskellNone
LanguageHaskell98

Text.ProtocolBuffers.ProtoCompile.Parser

Description

This Parser module takes a filename and its contents as a bytestring, and uses Lexer.hs to make a stream of tokens that it parses. No IO is performed and the error function is not used. Since the Lexer should also avoid such errors this should be a reliably total function of the input.

The internals have been updated to handle Google's protobuf version 2.0.3 formats, including EnumValueOptions.

Documentation