Tue Sep 14 11:59:08 CEST 2010
Emacs and parsing C
There are some tools available, but they don't make the click to me
(i.e. CEDET). The one that cought my attention is .
The problem is quite simple:
* build a database from your source code.
* query the database
* allow "replace", taking part of a syntax tree and replacing it
with something else.
* integrate this with emacs
The most complex part seems to be the C parser. I.e. to go from code
to (modifiable!) datastructure back to code.