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

2010-05-21 Thread David Yu
Take a look at descriptor.proto and unittest.proto found in http://code.google.com/p/protobuf/source/browse/#svn/trunk/src/google/protobuf Cheers On Fri, May 21, 2010 at 1:02 PM, Kirill Zaborsky qri...@gmail.com wrote: How is it possible to access your code? Given address does not appear to

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

2010-05-21 Thread Nicholaus Shupe
You technically don't need it since you can use the protocol buffer reflection API to get at whatever information you need. -- Nic On Thu, May 20, 2010 at 12:03 PM, qrilka qri...@gmail.com wrote: Is there any formal *.proto file format specification?

[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 nsh...@google.com: See this code and its unit tests: http://s/?file=//depot/google3/java/com/google/hr/db/server/proto for an example of how

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