Parsing C++ headers with Python

------------- nothing at nowhere.com
Sun Apr 18 14:30:23 EDT 1999


As part of an effort to make our documentation more automatic (at least
to the
degree that we can generate reports on header changes), I'd like to be
able to
parse out c++ headers from Python. I'm not looking for "complete"
parsing abilitiies--
the parser can assume that the headers are syntactically correct, can
ignore most
macro preprocessors, etc. etc. Does anyone know of a package to do this?
Does
anyone have a good set of regular expressions to do this? Please email
responses
to ken at be.com, as unfortunately I don't get much of a chance to read
newsgroups--
the connection to a newsgroup server from home is currently slow, and
there
is no newsgroup server at work.

Thanks in advance!
Ken McDonald
Tech Writer, Be, Inc.
ken at be.com





More information about the Python-list mailing list