[protobuf] *.proto file format specification?

2010-05-20 Thread qrilka
Is there any formal *.proto file format specification? http://code.google.com/apis/protocolbuffers/docs/proto.html doesn't seem to be strict enough. Something like BNF would be very great. Kind regards, Kirill Zaborsky -- You received this message because you are subscribed to the Google Groups

Re: [protobuf] *.proto file format specification?

2010-05-20 Thread Kirill Zaborsky
How is it possible to access your code? Given address does not appear to be a valid public URL. Kind regards, Kirill Zaborsky 2010/5/21 Nicholaus Shupe : > See this code and its unit tests: > http://s/?file=//depot/google3/java/com/google/hr/db/server/proto > for an example of how I've used it. >

Re: [protobuf] *.proto file format specification?

2010-05-20 Thread Kenton Varda
It looks like Nicholaus got mixed up and thought you were a Google employee. I do that sometimes -- it's hard to keep track of all the different mailing lists. :/ Why do you need the BNF of the .proto language? Most of the use cases for this are covered by one of the following: 1) C++ apps can

Re: [protobuf] *.proto file format specification?

2010-05-20 Thread Kirill Zaborsky
Thanks Kenton! It seems to be just what I need. Though I will need some code to read those descriptors. Actually I'm trying to use Protocol Buffers with PHP. Project pb4php even have its tests failing and does not seem to be supported by its author. Kind regards, Kirill Zaborsky 2010/5/21 Kenton