qitab / cl-protobufs

Common Lisp protocol buffer implementation.
MIT License
84 stars 18 forks source link

Import well-known-type file struct.proto #262

Closed bkuehnert closed 4 years ago

bkuehnert commented 4 years ago

This commit adds the protos defined in google/protobuf/struct.proto. It also adds the special JSON mappings that are specified for these protos.

Additionally, this commit adds the parsing utility function expect-token-or-string, which functions like expect-char, but it uses the parsing function parse-token-or-string instead of next-char.

This is a copy of #247 (which was sadly abandoned due to git issues)