MATH-MATIC
In-game article clicks load inline without leaving the challenge.
MATH-MATIC is the marketing name for the AT-3 (Algebraic Translator 3) compiler, an early programming language for the UNIVAC I and UNIVAC II.
MATH-MATIC was written beginning around 1955 by a team led by Charles Katz under the direction of Grace Hopper. A preliminary manual was produced in 1957 and a final manual the following year.
Syntactically, MATH-MATIC was similar to Univac's contemporaneous business-oriented language, FLOW-MATIC, differing in providing algebraic-style expressions and floating-point arithmetic, and arrays rather than record structures.
Notable features
Expressions in MATH-MATIC could contain numeric exponents, including decimals and fractions, by way of a custom typewriter.
MATH-MATIC programs could include inline assembler sections of ARITH-MATIC code and UNIVAC machine code.
The UNIVAC I had only 1000 words of memory, and the successor UNIVAC II as little as 2000. MATH-MATIC allowed for larger programs, automatically generating code to read overlay segments from UNISERVO tape as required. The compiler attempted to avoid splitting loops across segments.
Influence
In proposing the collaboration with the ACM that led to ALGOL 58, the Gesellschaft für Angewandte Mathematik und Mechanik wrote that it considered MATH-MATIC the closest available language to its own proposal.
In contrast to Backus' FORTRAN, MATH-MATIC did not emphasise execution speed of compiled programs. The UNIVAC machines did not have floating-point hardware, and MATH-MATIC was translated via A-3 (ARITH-MATIC) pseudo-assembler code rather than directly to UNIVAC machine code, limiting its usefulness.
Sample program
A sample MATH-MATIC program:
Notes
- Ash, R.; Broadwin, E.; Della Valle, V.; Greene, M.; Jenny, A.; Katz, C.; Yu, L. (1957-04-19). (PDF) (Technical report). Philadelphia: Remington Rand Univac. Archived from (PDF) on 2014-12-26.
- Bemer, Robert W. (1969), (PDF)
- Knuth, Donald; Trabb Pardo, Luis (August 1976). (Technical report). Computer Science Department, School of Humanities and Sciences, Stanford University.
- Sammet, Jean (1969). Programming Languages: History and Fundamentals. Prentice-Hall. pp.132, 135–137. ISBN978-0-13-729988-1.
- (PDF) (Technical report). Remington Rand Univac. 1958.
- . Online Historical Encyclopaedia of Programming Languages. Archived from on 2016-04-02.
- . Online Historical Encyclopaedia of Programming Languages. Archived from on 2016-04-03.