CLIF 为各种语言创建C ++封装生成器提供了一个公共的基础-python

上传者: 42119281 | 上传时间: 2023-03-15 18:38:50 | 文件大小: 628KB | 文件类型: ZIP
CLIF 为各种语言创建C ++封装生成器提供了一个公共的基础 C++ 语言接口基础 (CLIF) CLIF 为为各种语言创建 C++ 包装器生成器提供了一个通用基础。 概述 它由四部分组成: Parser Matcher Generator Runtime Parser 解析器将语言友好的 C++ API 描述转换为与语言无关的内部格式,并将其传递给匹配器。 匹配器 匹配器使用 Clang(LLVM 的 C++ 编译器)解析选定的 C++ 头文件并收集类型信息。 该信息被传递给生成器。 生成器 生成器为包装器发出 C++ 源代码。 生成的包装器需要按照语言扩展规则构建。 通常该包装器会调用运行时。 运行时 运行时 C++ 库包含特定于每种目标语言但对于每个生成的包装器都相同的类型转换例程。 Python CLIF 请参阅 /python/ 子目录中 Python 包装器生成器的完整实现。 支持 Python 2 和 3。 安装先决条件 我们使用 CMake,因此请确保 CMake 版本 3.5 或更高版本可用。 (例如,Debian 8 只有 3.0 版,因此在

文件下载

资源详情

[{"title":"( 468 个子文件 628KB ) CLIF 为各种语言创建C ++封装生成器提供了一个公共的基础-python","children":[{"title":"clif_deps.bzl <span style='color:#111;'> 4.67KB </span>","children":null,"spread":false},{"title":"BUILD <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"ci.yml <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"examples.yml <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"auto_assign-issues.yml <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"Dockerfile <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"INSTALL.sh <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"requirements.txt <span style='color:#111;'> 38B </span>","children":null,"spread":false},{"title":".bazelrc <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"myoptions_test.py <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 625B </span>","children":null,"spread":false},{"title":"myoptions.clif <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"myoptions.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"operation.h <span style='color:#111;'> 979B </span>","children":null,"spread":false},{"title":"python_inheritance.h <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"hidden_base.h <span style='color:#111;'> 990B </span>","children":null,"spread":false},{"title":"base.h <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"base.clif <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"hidden_base.clif <span style='color:#111;'> 716B </span>","children":null,"spread":false},{"title":"operation.clif <span style='color:#111;'> 746B </span>","children":null,"spread":false},{"title":"python_inheritance.clif <span style='color:#111;'> 844B </span>","children":null,"spread":false},{"title":"inheritance_test.py <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 828B </span>","children":null,"spread":false},{"title":"operation_test.py <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"hidden_base_test.py <span style='color:#111;'> 892B </span>","children":null,"spread":false},{"title":"inheritance.clif <span style='color:#111;'> 874B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"inheritance.h <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"example.clif <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"example.py <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"example_test.py <span style='color:#111;'> 972B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"example.h <span style='color:#111;'> 968B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":"example.clif <span style='color:#111;'> 937B </span>","children":null,"spread":false},{"title":"example_clif_aux.h <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"example_test.py <span style='color:#111;'> 973B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"example.h <span style='color:#111;'> 973B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":"callbacks.h <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"callbacks_test.py <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"callbacks.clif <span style='color:#111;'> 818B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"templates.clif <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"templates_test.py <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"templates.h <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"wrap_protos.h <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"wrap_protos_test.py <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"wrap_protos.clif <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 675B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":"sample.proto <span style='color:#111;'> 946B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 576B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 763B </span>","children":null,"spread":false},{"title":"wrapmethod.h <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"wrapmethod.cc <span style='color:#111;'> 783B </span>","children":null,"spread":false},{"title":"wrapmethod.clif <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"wrapmethod_test.py <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 657B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 722B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 621B </span>","children":null,"spread":false},{"title":"wrappod.clif <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"wrappod_test.py <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"wrappod.h <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"unique_ptr_member.clif <span style='color:#111;'> 836B </span>","children":null,"spread":false},{"title":"unique_ptr_member_test.py <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 639B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":"unique_ptr_member.h <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"lib_hello.h <span style='color:#111;'> 989B </span>","children":null,"spread":false},{"title":"lib_hello.clif <span style='color:#111;'> 794B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"lib_hello_clif_aux.h <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"lib_hello_test.py <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":"setup.py <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 6.48KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":"default_args.clif <span style='color:#111;'> 920B </span>","children":null,"spread":false},{"title":"default_args_test.py <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"wrapfunc.clif <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 743B </span>","children":null,"spread":false},{"title":"wrapfunc_test.py <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"wrapfunc.cc <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"default_args.h <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 716B </span>","children":null,"spread":false},{"title":"wrapfunc.h <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"setup.py <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"BUILD <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"BUILD <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"python_configure.bzl <span style='color:#111;'> 13.76KB </span>","children":null,"spread":false},{"title":"BUILD.tpl <span style='color:#111;'> 892B </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明