Regular expressions [0178]

Using the tools that we have built up in Lecture 20, we can smoothly study both concrete and abstract syntax. Somewhat confusingly, our running example will be the language of regular expressions (this might be confusing because regular expressions are a streamlined way to present the grammar of certain kinds of formal languages—but we are treating the grammar of regular expressions themselves).

Context

Lecture 21: regular expressions and pattern matching [0174]

Backlinks

Lecture 24: the pumping lemma [018I]

Corollary. Decidability of regular expression equivalence [018H]

Compiling a regular expression to an NFA [0184]

Decompiling a regular expression from an NFA [017Z]

Lecture 23: regular languages and Kleene’s theorem [017X]

Regular expression matching [017C]

Related

Definition. Syntactic presentation of a formal language [016W]

Lecture 20: formal languages, inductive definitions, rule induction [016F]