Docsity

Early Dynamic Languages - Programming Languages - Lecture Slides, Slides of Programming Languages

Toggle sidebar
bg1
Cobol - 1960
•Design goals:
•Business-oriented computation – fixed point arithmetic
•Must look like simple English
•Must be easy to use, even if that means it will be less
powerful
•Must broaden the base of computer users
•Must not be biased by current compiler
•Problems
•Design committee were all from computer manufacturers
and DoD branches
•Design Problems:
•Arithmetic expressions?
•Subscripts?
•Fights among manufacturers
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Early Dynamic Languages - Programming Languages - Lecture Slides and more Slides Programming Languages in PDF only on Docsity!

Cobol - 1960

  • Design goals:
    • Business-oriented computation – fixed point arithmetic
    • Must look like simple English
    • Must be easy to use, even if that means it will be less powerful
    • Must broaden the base of computer users
    • Must not be biased by current compiler
  • Problems
    • Design committee were all from computer manufacturers and DoD branches
    • Design Problems:
      • Arithmetic expressions?
      • Subscripts?
      • Fights among manufacturers

Cobol (continued)

  • Contributions:
    • Gave the first macro facility in a high-level language
    • Had hierarchical data structures (records)
    • Nested selection statements
    • Long names (up to 30 characters), with hyphens
    • Data Division
    • Fixed-point arithmetic
  • Comments:
    • First language required by DoD; probably would have failed without its support
    • Still a very widely used business applications language
    • Very popular in business and government, much less at universities.

PL/1 (Continued)

• PL/1 contributions:

  • First language that gave unit-level concurrency
  • First language to provide exception handling
  • First language to provide pointer data type
  • First language to provide array cross sections

• Comments:

  • Many new features were poorly designed
  • Too large and too complex
  • Anyway, it was actually used for both scientific and business applications

Basic - 1964

  • Designed by Kurtz & Kemeny at Dartmouth - Design Goals: - Easy to learn and use for non-science students - Must be ”pleasant and friendly“ - Fast turnaround for homework - Freely available for use - User time is more important than computer time

Simula 67 - 1967

  • Designed primarily for system simulation (in Norway by Nygaard and Dahl)
  • Based on ALGOL 60 and SIMULA I
  • Primary Contributions:
    • Coroutines - a kind of subprogram - Implemented in a structure called a class
    • Classes are the basis for data abstraction
    • Classes are structures that include both local data and functionality

Pascal – 1971

Simplicity by Design

  • Designed by Niklaus Wirth, who quit the ALGOL 68 committee because he didn't like the direction of that work
  • Designed for teaching structured programming
  • It was simple, small, nothing really new
  • Most widely used language for teaching programming in colleges for many years

Prolog - 1972

  • Developed at the University of Aix-Marseille, by Comerauer and Roussel, with some help from Kowalski at the University of Edinburgh
  • Based on formal logic
  • Non-procedural - Declarative, nondeterministic (builtin backtracking)
  • Associative memory, patterndirected procedure invocation.