TACPOL (programming language)

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.

## Contents

* 1 Language constructs
* 1.1 Reserved words
* 1.2 Identifiers
* 1.3 Data types
* 1.4 Control structures
* 1.5 Procedures
* 2 Implementations
* 3 Criticism and defense
* 3.1 Positive features
* 3.2 Negative features
* 4 Notes
* 5 References
* 6 External links
* 7 See also

## Language constructs

### Reserved words

Unlike PL/I, TACPOL keywords—called particles—are reserved words and cannot be used as identifiers. There are roughly 100 reserved words.

### Identifiers

TACPOL identifiers can be any length, but if longer than eight characters only the first five concatenated with the last three characters were actually used.

### Data types

TACPOL supports fixed-point binary numeric data, fixed-length character strings up to 512 bytes, and fixed-length bit strings up to 32 bits. 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, limited to a single level of nesting, tables (arrays of groups), and unions, called cells.

### Control structures

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

### Procedures

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

## Implementations

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

### Positive features

* TACPOL is easy to learn.[1]

### Negative features

* "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

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

## References

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

## External links

* TACPOL Reference Manual (USACSCS-TF-4-1)
* Serafino, et.al. "Report to the High Order Language Working Group" (1977)
* United States General Accounting Office. "Tactical Operations System Should Not Continue as Planned" (1979)

## See also

* JOVIAL
* CMS-2
* CORAL
* Ada

0.00

(0 votes)

|

Retrieved from "https://handwiki.org/wiki/index.php?title=TACPOL_(programming_language)&oldid=3908253"