It would help if you provided a few specific examples. I don't quite understand what you're trying to do, i.e. read config files for a build system, or read config files for a running program, or something else.