The construction of grammar knowledge