What I expect
you to know
- Regular Sets
- Regular
expressions: Definition and associated languages.
- Finite
state automata. Associating FSAs with REs.
- Associating
REs with FSAs. Proof using Rijk sets.
- Moore and
Mealy models: Automata with output. Basic equivalence.
- Non-determinism:
Its use. Conversion to deterministic FSAs. Formal proof of equivalence.
- Lambda
moves: Lambda closure of a state. Equivalence to non-det.
- Regular
equations, REs and FSAs.
- Myhill-Nerode
Theorem: Right invariant equivalence relations. Specific relation for a
language L. Proof and applications.
- Minimization:
Why it's unique. Process of minimization. Analysis of cost of different
approaches.
- Regular
(right linear) grammars, regular languages and their equivalence to FSA
languages.
- Pumping
Lemmas: Proof and applications.
- Closure
properties: Union, concat, *, complement,
reversal, intersection, set difference, substitution, homomorphism and inverse
homomorphism, INIT, LAST, MID, EXTERIOR, quotient (with reg. set, with
arb. set).
- Algorithms
for reachable states and states that can reach a point.
- Decision
properties: Emptiness, finiteness, equivalence.
- Context Free Grammars
- Leftmost
versus rightmost derivations.
- Parse
trees, A-trees. Definition of a parse tree and proof that A =>* X iff
there exists an A-tree with X as its yield.
- Ambiguity
and leftmost (rightmost) derivations.
- Pushdown
automata; various notions of acceptance and their equivalences
- Push
down languages and their equivalence to CFLs.
- Parsing
Techniques: LL (top down) and LR (botom up) parsers
- Reduced
grammars
- Keep
non-terminal A iff A =>* w for some terminal string w.
- Keep
symbol X iff S =>* WXY for some strings W and Y.
- Lamba
rule removal.
- Chain
(unit) rule removal.
- Chomsky Normal Form.
- Left
recursion removal.
- Greibach
Normal Form.
- Pumping
Lemmas for CFLs.
- Closure
of CFLs: Union, concat, *, reversal,
substitution, homomorphism and inverse homomorphism, INIT, LAST, MID, EXTERIOR,
quotient with reg.
- Decision
algorithms: Empty, finite, infinite; CKY for membership.