Lect 1.1 Introduction to PL

Lect 1.1 Introduction to PL - Lecture 1.1 Introduction •...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Lecture 1.1 Introduction • What is a Programming Language? • Models of Programming Languages • Why Study Programming Languages? • A Brief History Of Programming Languages Intro to PL 2 Topics • What is a Programming Language? • Models of Programming Languages • Why Study Programming Languages? • A Brief History Of Programming Languages Intro to PL 3 What is a Programming Language? • A language is a systematic set of rules for communicating ideas • Programming languages differ from natural languages: – communication is between person and computer – communication content is a program – medium used is symbolic (strings of characters) • A programming language is a notational system for describing computation in machine-readable and human-readable form Intro to PL 4 Models Of Programming Languages • Imperative – Primary feature is a sequence of statements that represent commands – Use of assignment statements to change values of variables – Closest to ( von Neumann ) machine architecture • Functional – Based on the notion of functions and their application to known values (aka applicative languages ) – Involves no notion of variable or assignment to variables – Closest to mathematics Intro to PL 5 Models Of Programming Languages (cont’d) • Logical – Based on symbolic logic – Clause-based system with inference mechanism – Originally popular in AI community • Object-Oriented – Based on the notion of an object, which can be described as a collection of memory locations together with all the operations that can change the values of these memory locations – Computation is represented as the interaction among, or communication between objects Intro to PL 6 Why Study Programming Languages? • Better understanding of principal features of programming languages • Improve problem solving ability • Make better use of a programming language • Choose an appropriate language more intelligently • Easier to learn new programming languages • Become a better language designer Intro to PL 7 History of Programming Languages Three major periods: • Decade beginning in 1955: – Development of first higher level languages • 1965 to 1971: – Consolidated around ALGOL 60 model with development of a number of new languages • 1972 and later: – Consolidate results of earlier research – Introduced new models and approaches for programming languages Intro to PL...
View Full Document

Page1 / 31

Lect 1.1 Introduction to PL - Lecture 1.1 Introduction •...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online