APT or Automatically Programmed Tool is a high-level computer programming language most commonly used to generate instructions for numerically controlled machine tools. Douglas T. Ross is considered by many to be the father of APT: as head of the newly created Computer Applications Group of the Servomechanisms Laboratory at MIT in 1956 he led its technical effort. APT is a language and system that makes numerically controlled manufacturing possible. This early language was used widely into the 1970s and is still a standard internationally. Derivatives of APT were later developed.
APT is used to program CNC machine tools to create complex parts using a cutting tool moving in space. It is used to calculate a path that a tool must follow to generate a desired form. APT is a special-purpose language and the predecessor to modern CAM systems. It was created and refined during the late 1950s and early 1960s to simplify the task of calculating geometry points that a tool must traverse in space to cut the complex parts required in the aerospace industry. It was a direct result of the new numerical control technology becoming available at that time and the daunting task that a machinist or engineer faced calculating the movements of the machine for the complex parts for which it was capable. Its development was centered at the same MIT labs that hosted the Numerical Control and the Milling Machine Projects. APT also was Air Force sponsored and is notable for being the world's first major cooperative programming venture, combining government agencies, universities, and a 14-company team organized within the Aircraft Industries Association [now Aerospace Ind Assoc.]. APT was created before graphical interfaces were available, and so it relies on text to specify the geometry and toolpaths needed to machine a part. The original version was created before even FORTRAN was available and was the very first ANSI standard. Later versions were rewritten in FORTRAN. As a U. S. government funded project APT was placed in the public domain.
APT shares many similarities with other computer programming languages such as FORTRAN. A general-purpose computer language takes source text and converts the statements to instructions that can be processed internally by a computer. APT converts source statements into programs for driving numerically-controlled machine tools. The output from an APT processor may be a CL or "Cutter Location" file which is then run through a post-processor specific to the desired control - machine pair. The resulting file is then run by the control of the machine to generate tool motions and other machine actions. Most commonly, this file is in some form of RS-274 format instructions, commonly known as G-code.