The Lexical and Parse Structure of Programming Languages




CS152

Chris Pollett

Feb. 11, 2009

Outline

gdb

Some useful gdb commands

Introduction to Syntax

Lexical Structure

Types of Tokens

More on Identifiers

Specifying Tokens

Some Abbreviations

Brute Force Tokenizing

Context Free Grammars

Derivations