1/24
Looks like no tags are added yet.
Zuse's Plankalkül
Designed in 1945 but unpublished until 1972, never implemented.
Had floating point, arrays, records and variants, advanced data structures.
Plankalkül Syntax
Assignment statement to assign A[4] + 1 to A[5]
Machine Code Drawbacks
Poor readability and modifiability, expression coding was tedious and machine deficiency, no indexing or floating point.
Pseudocode
Short code developed by Mauchly in 1949 for BINAC computers, where they were coded left to right.
Speedcoding
Developed by Backus in 1954 for IBM 701
Pseudo ops for arithmetic, conditional/unconditional branching, and auto increments for array access.
Slow and only allowed 700 words for user program.
UNIVAC Compiling System
Developed by a team led by Grace Hopper, where pseudocode expanded into machine code.
David Wheeler
Method to use blocks as relocatable addresses to solve absolute addressing problem.
Fortran 1
In 1957, designed for IBM 704, which had index registers and floating point hardware.
Led to compiling programming Languages, since now there was no need to hide cost of interpretation.
Environment of 1957 Development
Computers were small and unreliable, and applications were scientific. Machine efficiency was most important concern!
Fortran 1 Impact
No need for dynamic storage or string handling, decimal arithmetic or powerful I/O.
Need good array handling and counting loops.
Fortran 1 Overview
Names up to 6 characters.
Post-test counting loop with do.
Formatted I/O.
User-defined subprograms.
Three-way selection statement.
No data typing statements!
Implementation of Fortran 1
No separate compilation, but programs longer than 400 lines had errors because of poor 704 reliability.
Fast code and was quickly adopted.
Compiler released in April 1957, after 18 worker years of effort.
Fortran 2
Out in 1958, fixed bugs and independent compilation.
Fortran 4
Explicit type declarations, logical selection stayement, and subprograms could be parameters.
Evolved in 1960-62, and became ANSI standard in 1966.
Fortran 77
Standard of 1978, had character string handling, logical loop control, and IF-THEN-ELSE.
Fortran 90
Modules
Dynamic arrays
Pointers
Recursion
CASE statement
Parameter type checking
New Vers of Fortran
95, relatively minor.
2003, support for OOP, procedure pointers and interoperability with C
2008 - blocks for local scopes, co-arrays, and do concurrent
Fortran Eval
Highly optimizing computers before Fort 90, where types and storage of all variables are fixed before run time.
Dramatically changed computer use.
Functional Programming: Lisp
LISt Processing Language designed at MIT by McCarthy.
Made for AI research that processes data into lists and used symbolic computation.
Only uses two data types of atoms and lists, and the syntax is based on lambda calculus.
Lisp Evaluation
Pioneered functional programming, where no need for variables or assignment and allowed control via recursion and conditional expressions.
Still dominant for AI.
Common lisp and scheme are contemporary dialects of Lisp.
Scheme
Developed at MIT in 70s
Small and extensively used for static scoping, and functions are first clsss entities
Simple syntax good for educational applications
Common Lisp
Effort to combine features of several dialects of Lisp into one, making large, complex and use for large industry applications
ALGOL 60
Because of lack of portable languages or universal language for communicating algorithms, ALGOL 60 came to be as a universal language.
ALGOL 60 Design
Goals include close to mathematical notation, describe algorithms, and translate into machine code.
ACM and GAMM met for four days to design, from May 27 to June 1, 1958.
ALGOL 58
Concept type was formalized
Names any length
Array could have any number of subscripts
Parameters separated by in and out mode
Subscripts in brackets
Compound statements (begin … end)
Semicolon as statemsnt separator
Assignment operator :=
If had an else-if clause