TACPOL (programming language)

From Wikipedia, the free encyclopedia
  (Redirected from TACPOL)
Jump to: navigation, search

TACPOL (Tactical Procedure Oriented Language) is a block structured programming language developed by the United States Army for the TACFIRE Tactical Fire Direction command and control application. TACPOL is similar to PL/I.

Language constructs[edit]

Data types[edit]

TACPOL supports fixed-point numeric data, character, and bit data. There is no support for floating point numeric data or for pointers. Arrays may have up to three dimensions, but dynamic bounds are not permitted. Additional types are records (called groups), tables, and overlay facilities.

Control Structures[edit]

Control structures include IF-THEN-ELSE, iteration, WHILE and CASE statements.

Procedures[edit]

Procedures may have value parameters, quantity parameters - by reference without type-checking, parameterless procedure and label parameters.

Implementations[edit]

The TACPOL compiler ran on and generated code for the AN/GYK-12, a militarized version of the Litton Industries L-3050 32-bit minicomputer.

Criticism and defense[edit]

Positive features[edit]

  • TACPOL is easy to learn.[1]

Negative features[edit]

  • "TACPOL has a large number of special language features which were included for reasons of efficiency because the inclusion of corresponding cleanly designed general purpose features was not properly understood."[2]
  • "Cost per instruction of TACPOL [is] higher than language used for other military computers."[3]

Notes[edit]

  1. ^ Serafino, et al. p.59
  2. ^ Serafino, et al. p.59.
  3. ^ U.S. GAO. p.17.

References[edit]

  • Litton Data Systems, Inc. (1975). TACPOL Reference Manual Programming Support System. Document USACSCS-TF-4-1. 

External links[edit]

See also[edit]