A simple syntax directed translator