F# type provider for Google Protocol Buffers
This repository is now part of Froto
| Windows | Linux |
|---|---|
- Related discussion in FSharpx.Extras repository
- FSharpx.Extras branch where attempt to sketch a type provider was made
- Froto - a tool that parses and generates code from
.protofiles. Parsing files and creating ASTs might be re-used in type provider implementation.
- Generative type provider with basic support of generating types from single
.protofile, serialization and deserialization. - Supports
proto2syntax only.requiredfields are represented as regular properties,optionalfields are mapped to properties of typeoption<'T>, andrepeatedfields correspond tolist<'T>properties. - Supports embedded messages, and enums. List of supported scalar types includes
int32,string,boolanddouble
As disscussed here, this repository migth eventually become part of Froto.