Docsity

Evolution of Major Programming Languages, Slajdovi od Programiranje

Delimični pregled teksta

Preuzmite Evolution of Major Programming Languages i više Slajdovi u PDF od Programiranje samo na Docsity!

IBU

International Burch University

Assoc. Prof. Dr. Zerina Mašetić

CEN 332 Programming Languages

Lecture 2 – Evolution of Major Programming Languages

Agenda  (^) Zuse’s Plankalkül  (^) The IBM 704 and Fortran  (^) Functional Programming: LISP  (^) The First Step Toward Sophistication: ALGOL 60  (^) Computerizing Business Records: COBOL  (^) The Beginnings of Timesharing: BASIC  (^) Everything for Everybody: PL/I

Plankalkül Syntax  (^) The simplest data type in Plankalkül was the single bit.  (^) Integer and floating-point numeric types were built from the bit type.  (^) Plankalkül included arrays and records (called structs in the C-based languages)

IBM 704 and Fortran  (^) Fortran 0: 1954 - not implemented  (^) Fortran I:  (^) Designed for the new IBM 704, which had index registers and floating point hardware  (^) This led to the idea of compiled programming languages, because there was no place to hide the cost of interpretation (no floating-point software)  (^) Development environment  (^) Computers were small and unreliable  (^) Applications were scientific  (^) No programming methodology or tools  (^) Machine efficiency was the most important concern

IBM 704 64K Magnetic core memory stacks ((Lee Jennings)

Fortran I Overview  (^) First implemented version of Fortran  (^) Names could have up to six characters  (^) Post-test counting loop ( DO )  (^) Formatted I/O  (^) User-defined subprograms  (^) Three-way selection statement (arithmetic IF )  (^) No data typing statements

Fortran II  (^) Distributed in 1958  (^) Independent compilation  (^) Fixed the bugs

Fortran IV  (^) Evolved during 1960-  (^) Explicit type declarations  (^) Logical selection statement  (^) Subprogram names could be parameters

Fortran 90  (^) Most significant changes from Fortran 77  (^) Modules  (^) Dynamic arrays  (^) Pointers  (^) Recursion  (^) CASE statement  (^) Parameter type checking

Latest versions of Fortran  (^) Fortran 95 – relatively minor additions, plus some deletions  (^) Fortran 2003 – suppport for OOP, procedure pointers, interoperability with C  (^) Fortran 2008 – blocks for local scopes, co-arrays, Do Concurrent

Functional Programming: LISP  (^) LISt Processing language  (^) Designed at MIT by McCarthy  (^) AI research needed a language to  (^) Process data in lists (rather than arrays)  (^) Symbolic computation (rather than numeric)  (^) Only two data types: atoms and lists

Representation of Two LISP Lists  (^) Representing the lists (A B C D) and (A (B C) D (E (F G)))