A simple Thrift IDL parser