Partial work on grammars