A programming platform for generating parts programs for a machine tool or production
machine is described. A user inputs an instruction to an interpreter integrated
in the programming platform, a simulator then simulates an effect of the instruction,
and a display graphically displays to the user the effect of the instruction in
the form of a two-dimensional or three-dimensional representation. A collision
monitor monitors the effect of the instruction to determine if a collision between
two or more machine elements and/or workpieces and/or tools can be expected. The
programming platform hence represents a homogeneous integrated programming environment
for generating, simulating and testing of parts programs for machine tools and
production machines.