[protobuf] Protocol Buffers for Matlab

2011-04-05 Thread Evan Lapisky
Hi, We've recently open sourced our Matlab compiler for Protocol Buffers. It has been in use internally for a couple of years now to provide our Matlab users access to messages created with the official C++ and Python protobuf bindings. It is hosted at http://code.google.com/p/protobuf-matlab/ S

Re: [protobuf] Protocol Buffers for Matlab

2011-04-05 Thread Jason Hsueh
I've added this to the ThirdPartyAddOns wiki page. Thanks for providing this implementation! On Tue, Apr 5, 2011 at 8:35 AM, Evan Lapisky wrote: > Hi, > > We've recently open sourced our Matlab compiler for Protocol Buffers. > It has been in use internally for a couple of years now to provide ou

Re: [protobuf] Re: self including message array

2011-04-05 Thread Jason Hsueh
There is no explicit test for this, but the official c++ implementation emits code that successfully compiles for this message: message TestRepeatedRecursiveMessage { repeated TestRepeatedRecursiveMessage a = 1; optional int32 b = 2; } On Fri, Apr 1, 2011 at 7:52 AM, zad wrote: > Ok I'll do

Re: [protobuf] required field in extend

2011-04-05 Thread Jason Hsueh
The proto compiler actually allows you to do this, but it perhaps shouldn't as it semantically does not make sense. You don't have any guarantees that each application is aware of the required extension; therefore you can't really say that a message is invalid if it doesn't have that extension set.