Hi. We'll be compiling a schema.
Only the basics: https://gist.github.com/rektide/6588445#pre-reqs
This is the bootstrap schema! The types it encodes are used to define all other types that will ever be made.
In our case, we just want to compile something and see that thing.
mkdir /tmp/dive-i
cd /tmp/dive-i
ln -sf $CAPNP_DIR/c++/src/capnp/{schema,c++}.capnp .
capnp compile -oc++ schema.capnp
ls -l
lrwxrwxrwx 1 rektide rektide 55 Sep 16 20:31 c++.capnp -> /home/rektide/archive/capnproto/c++/src/capnp/c++.capnp
lrwxrwxrwx 1 rektide rektide 58 Sep 16 20:35 schema.capnp -> /home/rektide/archive/capnproto/c++/src/capnp/schema.capnp
-rw-r--r-- 1 rektide rektide 105553 Sep 16 20:36 schema.capnp.c++
-rw-r--r-- 1 rektide rektide 228700 Sep 16 20:36 schema.capnp.h
These results are available online for viewing, c/o the capn-corpi project. https://github.com/rektide/capn-corpi/tree/master/schema