provide factory method for CarelessCompiler