首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
Python下面有没有专门用来匹配各种编程语言代码的不同部分的工具库
ant_sz
·
shanzi
·
2012-04-21 22:31:03 +08:00
· 3527 次点击
这是一个创建于 4547 天前的主题,其中的信息可能已经有所发展或是发生改变。
Python或者其他语言下面,有没有专门用来匹配各种编程语言代码的不同部分的工具什么的?
比如专门用来提取C语言中的一个函数,C++中的一个类,在一个整个源文件中将这部分识别出来。
比如在一个源文件中查找某个特定的函数,然后将这个函数整体提取出来这样。。。
源文件
Python
编程语言
5 条回复
•
1970-01-01 08:00:00 +08:00
1
phuslu
2012-04-21 22:32:45 +08:00
试下这个
http://pypi.python.org/pypi/pygccxml
2
ant_sz
OP
2012-04-21 22:39:28 +08:00
@
phuslu
不太清楚这个怎么用哎。。。
3
reus
2012-04-21 22:45:03 +08:00
http://stackoverflow.com/questions/1444961/is-there-a-good-python-library-that-can-parse-c
http://stackoverflow.com/questions/4881377/how-to-parse-c-source-in-python
4
HowardMei
2012-04-21 22:45:37 +08:00
http://pypi.python.org/pypi/redhawk/
5
binux
2012-04-21 22:50:48 +08:00
pyparsing 如何?虽然得自己写
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
1851 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 06:51
·
PVG 14:51
·
LAX 23:51
·
JFK 02:51
Developed with
CodeLauncher
♥ Do have faith in what you're doing.