Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Syntax and Semantics
[go: Go Back, main page]


INF2: Syntax and Semantics 2003

Lecture 6


Syntax and Semantics

Topics

In our previous lecture, we introduced the class of context-free languages as the class of languages that are generated by context-free grammars. In this lecture, we shall see that, as the regular languages are precisely those that are recognized by finite state automata, the context-free languages are those that are recognized by pushdown automata (PDA). PDA are essentially finite automata that can use an unbounded stack as auxiliary memory.

PDA were first introduced by Oettinger in 1961. Afterwards, Chomsky, Evey and Schutzenberger showed that context-free grammars and PDA are equally expressive. This equivalence proof, like the one we presented between regular expressions and finite automata, is algorithmic.

Unlike for finite automata, the nondeterministic version of PDA is strictly more powerful than the deterministic PDA. One can show that there are context-free languages that can only be recognized by nondeterministic PDA. These proofs are beyond the scope of this introductory course.

Time and Location

Monday, 24 February 2003 at 10:15 in A4-106.

Reading Material

Exercises


Luca Aceto, Institute of Computer Science, Aalborg University.
Last modified: .