Configuration Language for Protobufs

461 views
Skip to first unread message

pcman312

unread,
Feb 24, 2016, 1:27:56 PM2/24/16
to Protocol Buffers
Are there any good languages (with compilers) that let's you specify the data within a proto rather than the proto itself? I want to create files with configuration data in them, but they need to be compiled into proto format. I know Google has GCL, but as far as I can tell that isn't available in open source form, so I'm looking for an alternative. Ideally I'd like to be able to write a file that has the configuration data, then have it automatically compiled into a binary proto file as a part of my build process.

Feng Xiao

unread,
Feb 24, 2016, 2:54:19 PM2/24/16
to pcman312, Protocol Buffers
On Mon, Feb 22, 2016 at 3:28 PM, pcman312 <pcma...@gmail.com> wrote:
Are there any good languages (with compilers) that let's you specify the data within a proto rather than the proto itself? I want to create files with configuration data in them, but they need to be compiled into proto format. I know Google has GCL, but as far as I can tell that isn't available in open source form, so I'm looking for an alternative. Ideally I'd like to be able to write a file that has the configuration data, then have it automatically compiled into a binary proto file as a part of my build process.
You can write the configuration file in protobuf text format and then convert them to proto binary format using the protocol compiler in the build process.
 
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 protobuf+u...@googlegroups.com.
To post to this group, send email to prot...@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages