generated grammar