add support for bison/thrift/protobuf