文件名称:cpp-to-py:该项目旨在通过创建抽象语法树(AST),使用ply将C ++代码转换为Python
文件大小:19KB
文件格式:ZIP
更新时间:2024-05-07 02:51:03
Python
从cpp到py 该项目旨在通过创建抽象语法树(AST),使用层将C ++代码转换为Python。 该程序需要Python 3。 设置 # python3 -m pip install ply python3 -m pip uninstall -y ply # ^ "PLY is no longer maintained as pip-installable package. Although no # new features are planned, it continues to be maintained and # modernized. If you want to use the latest version, you need to check # it out from the PLY GitHub page." -<https://www.dabeaz.c
【文件预览】:
cpp-to-py-main
----.gitignore(2KB)
----cpp-to-py.py(2KB)
----license.txt(2KB)
----manualparser.py(13KB)
----example()
--------cpp()
----readme.md(7KB)