updates
Stefan Seefeld <[email protected]>
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
hi there, after some months of intensive work on the C++ parser, some major refactoring, heavy debugging and testing, the new work starts to bear fruits. Today I checked in some new python APIs that expose the C/C++ parser, i.e. parse tree, symbol table, etc. to python. This is still alpha level software, but it looks very promising. I use boost.python for the mapping, and the code is available as part of the 'sandbox', i.e. in 'contrib/bpl'. I took the occasion to enhance the Buffer class to (re-)enable in-place code manipulation. As a proof-of-concept there is a python script that reads in a source file, annotates all functions it finds, and writes out the modified code into a new file. While such functionality is very useful in its own right, I believe that this low-level python API will help prototyping, testing, and debugging of all the new work that is still going into the C++ parser, such as symbol lookup and type analysis. I'd appreciate any comments or suggestions concerning these APIs. On a different note: we have switched the server hosting the mailing lists. Doing the move the passwords had to be reset. New password reminders will be sent out by the end of this month. Thanks, Stefan