ABSTRACT

Surveying the major programming languages that have hallmarked the evolution of computing, Programming Language Fundamentals by Example provides an understanding of the many languages and notations used in computer science, the formal models used to design phases, and the foundations of languages including linguistics. This textbook guides students through the process of implementing a simple interpreter with case-based exercises, questions, and a semester-long project that encompasses all of the concepts and theories presented in the book into one concrete example. It covers also such topics as formal grammars, automata, denotational and axiomatic semantics, and rule-based presentation.

chapter 1|9 pages

A Word about Using This Text

chapter 2|17 pages

Introduction to the Problem

part I|1 pages

Milestones

chapter 3|5 pages

General Information

chapter Milestone I|10 pages

Learning a New Language, Gforth

chapter Milestone II|12 pages

Lexical Structure and Scanner

chapter Milestone III|14 pages

Parsing

chapter Milestone IV|9 pages

Type Checking

chapter Milestone V|5 pages

Elementary Compiling: Constants Only

chapter Milestone VI|5 pages

Scoping and Local Variables

chapter Milestone VII|5 pages

User-Defined Functions

chapter Milestone VIII|7 pages

User-Defined Complex Data

chapter Milestone IX|4 pages

Classes and Objects

part II|1 pages

General Information

chapter 4|3 pages

Project

chapter 5|16 pages

Introduction To Linguistics

chapter 6|6 pages

Linguistics For Programming Languages

chapter 8|11 pages

A Unified Approach to Design

chapter 10|8 pages

Storage Management Issues

chapter 11|12 pages

Personal Software Design Process Portfolio