First version of the grammar.