pub fn create_compiler_and_run<R>(
    config: Config,
    f: impl FnOnce(&Compiler) -> R
) -> R