Add a parser for generating opengl function code.