Pork 编辑

Pork is a C++ parsing and rewriting tool chain. The core of Pork is a C++ parser that provides exact character positions for the start and end of every AST node, as well as the set of macro expansions that contain any location. This information allows C++ to be automatically rewritten in a precise way. The inputs driving the rewriting would normally be provided by a program-analysis system outside of Pork. (See Dehydra, Treehydra).

Pork has been tested mostly on Linux, but in theory it should be possible to make it work on other systems.

Note: Pork is not presently used at Mozilla. Please refer to the oink link below for a more up-to-date toolchain.

Pork is based on the Elsa (and Oink) tool chain, and the MCPP preprocessor. As of October 2009 Oink incorporates the Pork functionality into its standard distribution; look for files and tests having the prefix "xform".

Documentation

Installing Pork
Download, installation and dependency info for Pork
Pork Tools
Description of rewriting tools
Pork Tool Development
in progress page...
Old Pork Page
Pork details that haven't been moved to MDC
Renaming With Pork
Sample pork application
TODOs
Pork 1.0 release tracking bug
Pork releases
Download Pork here

Community

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:125 次

字数:3527

最后编辑:6 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文