Early Dynamic Languages, A Programming Language, SNOBOL, Simula, Pascal Simplicity by Design, Prolog, PL 1 contributions, Cobol Design goals, Cobol Contributions are key points of this lecture. Programming languages is basic subject of computer science. Its not about any specific language but almost cover all of them.
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 lesspowerful
Must broaden the base of computer users
Must not be biased by current compiler
Problems
Design committee were all from computer manufacturersand 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 failedwithout its support
Still a very widely used business applications language
Very popular in business and government, much less atuniversities.
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 scientificand business applications
Basic - 1964
Designed by Kurtz &Kemeny at Dartmouth - Design Goals: - Easy to learn and use fornon-science students - Must be ”pleasant andfriendly“ - Fast turnaround forhomework - Freely available for use - User time is moreimportant than computertime
Simula 67 - 1967
Designed primarily for systemsimulation (in Norway by Nygaardand Dahl)
Based on ALGOL 60 and SIMULA I
Primary Contributions:
Coroutines - a kind of subprogram -Implemented in a structure called aclass
Classes are the basis for dataabstraction
Classes are structures that includeboth 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, byComerauer and Roussel, with some help fromKowalski at the University of Edinburgh