Osi-qparser is a project mainly written in C and C++, it's free.
A special implementation of the experimental OSI Parser specification