SML Code for KU course in compiler theory.