A generative grammar of cooking