diff -r 75d9f9e5906f -r 05cfce0fdef7 handouts/ho05.tex --- a/handouts/ho05.tex Thu Nov 07 00:07:16 2019 +0000 +++ b/handouts/ho05.tex Thu Nov 14 01:21:02 2019 +0000 @@ -71,7 +71,12 @@ \noindent from natural languages were the meaning of \emph{flies} depends on the -surrounding \emph{context} are avoided as much as possible. +surrounding \emph{context} are avoided as much as possible. Here is +an interesting video about C++ being not a context-free language + +\begin{center} +\url{https://www.youtube.com/watch?v=OzK8pUu4UfM} +\end{center} Context-free languages are usually specified by grammars. For example a grammar for well-parenthesised expressions can be given as follows: