V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
ant_sz
V2EX  ›  Python

Python下面有没有专门用来匹配各种编程语言代码的不同部分的工具库

  •  
  •   ant_sz ·
    shanzi · Apr 21, 2012 · 4186 views
    This topic created in 5126 days ago, the information mentioned may be changed or developed.
    Python或者其他语言下面,有没有专门用来匹配各种编程语言代码的不同部分的工具什么的?

    比如专门用来提取C语言中的一个函数,C++中的一个类,在一个整个源文件中将这部分识别出来。
    比如在一个源文件中查找某个特定的函数,然后将这个函数整体提取出来这样。。。
    5 replies    1970-01-01 08:00:00 +08:00
    phuslu
        1
    phuslu  
       Apr 21, 2012
    ant_sz
        2
    ant_sz  
    OP
       Apr 21, 2012
    @phuslu 不太清楚这个怎么用哎。。。
    HowardMei
        4
    HowardMei  
       Apr 21, 2012
    binux
        5
    binux  
       Apr 21, 2012
    pyparsing 如何?虽然得自己写
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2779 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 06:01 · PVG 14:01 · LAX 23:01 · JFK 02:01
    ♥ Do have faith in what you're doing.