Exercises 05 battle plan: attribute grammars