[psoc-2008] NCI Week 3 Report
Kevin Tew
tewk at tewk.com
Tue Jun 17 14:32:22 UTC 2008
I successfully got c99 to completely parse and dump spi.t, postgres'
extension interface, last week.
This parse included all the system headers, postgres headers etc. Parse
time was pretty bad, almost two minutes.
I took some time and ran some callgrind profiles that chromatic looked
at. PGE has some room for improvement in parsing alternations.
The c99 grammar can also be refactored in some places to produce better
PGE performance.
Trying to extract dynamic language interfaces from header files is a
large, complex problem.
My goals going forward with respect to signature extraction are:
1: Allow the user to limit extraction to a predefined list of included
files.
2: Auto extract relevant #define constants.
3: Auto extract function signatures.
I should be able to do a decent job of reaching these three goals in the
next two weeks and then move on to auto generation of call stubs.
Kevin
More information about the psoc-2008
mailing list