結果 : how to write a compiler in python