kentonv/capnproto — pull request #107 by jjwchoy (2014-06-29 16:14:45+00:00)
Title: Added hex binary literals

Updated the schema compiler to recognise expressions of the form `0x"01bcf245"` as hexadecimal binary literals. Useful in conjunction with `capnp eval` for including binary data in config files, or just for default values for `Data` types.

The syntax was chosen to not interfere with the current hex integer literal parsing and to reinforce the notion that it is a binary string.