[protobuf] Passing options to protoc plugins

2011-03-19 Thread Iván -DrSlump- Montes
Hi there, I'm implementing a protoc plugin for PHP and Javascript. The design of the protoc plugin system is great once you understand it :) By reading the source code of protoc I've noticed that it's already possible to pass options to the plugins by appending them to the --lang_out argument. An

[protobuf] New PHP implementation

2011-04-12 Thread Iván -DrSlump- Montes
Hi, I've created a new PHP implementation [1]. Some features: - PHP 5.3 only - Uses the plugin architecture of protoc to generate the PHP clases - Supports the standard binary encoding plus a bunch of JSON based formats - Supports extensions and packed fields Could it be added to the pro