Protocol Buffers

proto3

Here’s a railroad diagram of the proto3 spec as xhtml+SVG.
Start at the bottom of the screen, where the top level “proto” is defined.

Although not in the specification, C style comments are used:

// to comment a single line

/* to comment
multiple lines */