The examples are in‘/usr/share/swi-prolog/doc/packages/examples/protobufs`,
which is part of the swi-prolog-doc
package. Each directory
has a README
. To run these, you will need to copy them to a
writeable directory.
bootstrap
- This contains the file common.mk
file, which is used by the demo
and
interop
Makefiles.test
goal runs some examples.\
_protobufs.pl.
See also Addressbook example (section 1.3.3).
The protobuf compiler (protoc
) uses two protobuf formats
to communicate with the plugin:
\
_pb.pl\
_pb.pl