IMO, postprocessor of robot is same like CNC machines. So if u know how gcode is generated by Cam you are in half way to creat robot post processor. Pass kinematic, robot arm often use roll-pitch-yaw to decribe orientation while workpiece use angle A,B,C. So we need to transform angle A,B,C to roll-pitch-yaw.