Sketch of a lex/yacc grammar to possibly share with student.