A method for generating and visualizing a task-oriented step representation of
one or more parts programs in machine tools or production machines is described.
A syntax analyzer searches the parts program for key terms, whereafter a task-oriented
step representation of the parts program(s) is generated based on the key terms
found in the search. The task-oriented step representation can then be visualized
to a user. The disclosed method can advantageously be used to visualize and display
parts programs of machine tools or production machines, which are available in
ASCII code, in form of a step representation or step diagram without necessitating
changes in the parts programs.