Hi, take a look at the "Other Languages"-Section <https://developers.google.com/protocol-buffers/docs/reference/other>in the protobuf docs. There is also a list of examples. Basically you can extend protoc with your plugin by writing a binary that reads a CodeGeneratorRequest (protobuf-message) via standard-in and print a CodeGeneratorResponse (also protobuf-message) to standardout. The CodeGeneratorRequest already has a lot of information interpreted, you "just" need to read it and convert it into code. So you use a language that already has a protobuf-compiler to compile your own protoc-plugin (for extending functionality or compiling your own classes).
Am Donnerstag, 16. Januar 2020 15:00:18 UTC+1 schrieb marko: > > Hi, > > I'm trying out Protocol buffers and would be interested in learning > what kind of tooling more experienced Protobuf users are using > to generate code for multiple languages (Java, Python, C++), > compiling language bindings and publishing the bindings in an artifact > repository. > > thanks! > > marko > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/7a61578f-274d-41d3-90e1-f7069a175180%40googlegroups.com.
