Get code generator plugin to a decently working state.

Still a few outstanding performance issues, and imports inside .capnp
files may not be working
This commit is contained in:
Jason Paryani
2014-10-19 20:06:00 -07:00
parent ece4e36329
commit 64e80e06bf
6 changed files with 278 additions and 95 deletions

View File

@@ -18,7 +18,6 @@ struct Person {
work @2;
}
}
employment :union {
unemployed @4 :Void;
employer @5 :Text;
@@ -26,6 +25,13 @@ struct Person {
selfEmployed @7 :Void;
# We assume that a person is only one of these.
}
testGroup :group {
field1 @8 :UInt32;
field2 @9 :UInt32;
field3 @10 :UInt32;
}
extraData @11 :Data;
}
struct AddressBook {