some more progress with test6 grammar.cc