gensrc is a Python application which takes XML descriptions of functions defined in a library and generates source code for addins on supported platforms including Microsoft Excel and Calc. gensrc is used to generate source code for the ObjectHandler and QuantLibAddin applications.


gensrc is a subproject of the QuantLib C++ analytics library and shares the QuantLib project structure with regard to distribution and licensing. The mailing list for gensrc is The list archives may be searched here.