Ground Manipulator Primitive Tasks to Executable Actions using Large Language Models