Each language has an interpreter , fully described in the text. All languages share a common base syntax, allowing us to focus on concepts, not syntax details. Pascal source code for interpreters can be studied and modified to understand implementation issues in language design. Additional real-world languages and concepts will be introduced in lecture, auxiliary readings. Non-goals Teaching how to program.
Programming Languages Consider a simple algorithm for testing primality.
Maybe abstract data types, modules, objects, etc. Here are two versions of isprime rendered in the language of Kamin's initial interpreter. Based on recursive definition of program structure. Rich theory with connections to automatic parser generation, push-down automata, etc. A set of nonterminals , which are variables representing a set of terminals.