Python module to reduce a cmake file to an AST