Write a Compiler Simply and Elegantly