C parser written in object oriented C