CS 403 - PowerPoint PPT Presentation

1 / 18
About This Presentation
Title:

CS 403

Description:

pcGrasp (Cygnus compiler) MS Visual Studio C . Bama's C compilers. The more languages you have experience with, the easier this course will be. ... – PowerPoint PPT presentation

Number of Views:340
Avg rating:3.0/5.0
Slides: 19
Provided by: Marcus3
Category:
Tags: cygnus

less

Transcript and Presenter's Notes

Title: CS 403


1
CS 403
  • Programming Language Theory
  • Class 01 - August 24, 2000

2
Paper Work
  • Prerequisite sheets
  • CS 325, 357, and ECE 383
  • Students will be dropped
  • CS Department policies
  • Syllabus

3
Syllabus
  • Texts
  • Sebesta most of the content theory
  • Meyers specific applications to C

4
What Languages Do We Have?
  • Ada
  • C
  • pcGrasp (Cygnus compiler)
  • MS Visual Studio C
  • Bamas C compilers
  • The more languages you have experience with, the
    easier this course will be.

5
Whats this course about?
  • How programming languages really work.
  • What goes on under the hood
  • What you dont know can hurt you.
  • Lots of technical aspects
  • This is not an easy course!

6
How Can You Succeed in 403?
  • Know that it will be hard complex.
  • Read assignments ahead of time.
  • Keep up with homework, etc.
  • Ask questions in class.

7
In-Class Work
  • Brainstorm How many programming languages do the
    people at your table know?
  • A programming language must have
  • Assignment statements
  • Loops, Selection statements
  • Variables
  • Subprograms

8
Homework Assignment
  • List all the languages you have easy access to
    now.
  • Engineering labs
  • Bama
  • Your home PC, if relevant
  • Other computers
  • Be sure to note the different implementations of
    each language.
  • Due Tuesday, August 29th.

9
Effective C CD
  • Browse quickly
  • Homework for Tuesday, 8/29
  • Read the Introduction

10
Paper Work
  • Take up Prereq sheets, CS Dept policy strips

11
Why Study Languages?
  • Increased capacity to express programming
    concepts
  • Improved background for choosing appropriate
    languages
  • Increased ability to learn new languages
  • Understanding the significance of implementation
  • Increased ability to design new languages
  • Overall advancement of computing

12
Programming Domains
  • Scientific applications
  • Business applications
  • Artificial intelligence
  • Systems programming
  • Scripting languages
  • Special purpose languages

13
Language Evaluation Criteria
  • Readability
  • Writability
  • Reliability
  • Cost
  • Others

14
Readability
  • The most important criterium
  • Factors
  • Overall simplicity
  • Too many features is bad
  • Multiplicity of features is bad
  • Orthogonality
  • Makes the language easy to learn and read
  • Meaning is context independent
  • Control statements
  • Data type and structures
  • Syntax considerations

15
Writability
  • Factors
  • Simplicity and orthogonality
  • Support for abstraction
  • Expressivity

16
Reliability
  • Factors
  • Type checking
  • Exception handling
  • Aliasing

17
Cost
  • Categories
  • Programmer training
  • Software creation
  • Compilation
  • Execution
  • Compiler cost
  • Poor reliability
  • Maintenance

18
Other Criteria
  • Portability
  • Generality
  • Well-definedness
Write a Comment
User Comments (0)
About PowerShow.com