create new compiler in python