Languages we will study
as a class
Compiled
Procedural languages (imperative languages)
High level language to produce code as efficient & fast as assembly language
String Processing - Snobol – Ralph Griswold
Interpreted
Functional Language
John McCarthy – Lisp – list processing – MIT artificial intelligence lab – interpreted
Logic Language - Prolog – programming in logic - alain colmaureur
Compilers and interpreters
are translators
The most significant distinction between them is that
compilers translate the source code once
and interpreters translate the code
every time program is run.
Most languages are either compiled or
interpreted. Java and UCSD Pascal are
examples of languages that are both translated and interpreted. The source code is compiled into an
intermediate for which is stored. That
intermediate form is interpreted every time the program is run
Why take a survey of
programming languages course?
Types of statements found in all programming languages
\Characteristics of all programming languages - suggested by students (to be discussed)
Handout on MiniLanguage Core
BNF grammar – terminals, non-terminals, productions (rules), start symbol (goal symbol)