some steps forward with test6 grammar.cc