Implement interpreter for example grammar