# HG changeset patch # User Christian Urban # Date 1542665785 0 # Node ID ae808113721dc6ad91362b9cc9c4bb5c8640fe91 # Parent 0e827b4c1b1c5ff66291a4bf3111b464e00815da updated diff -r 0e827b4c1b1c -r ae808113721d hws/hw05.pdf Binary file hws/hw05.pdf has changed diff -r 0e827b4c1b1c -r ae808113721d hws/hw05.tex --- a/hws/hw05.tex Mon Nov 19 22:12:04 2018 +0000 +++ b/hws/hw05.tex Mon Nov 19 22:16:25 2018 +0000 @@ -88,7 +88,7 @@ Observe the maximal munch rule and the priorities of your regular expressions that make the process of lexing unambiguous.) -\item Given the following context-free grammar $G$ +\item Suppose the following context-free grammar $G$ \begin{plstx}[margin=1cm] : \meta{S\/} ::= \meta{A\/}\cdot\meta{S\/}\cdot\meta{B\/} \;\mid\; @@ -97,7 +97,8 @@ : \meta{B\/} ::= b\\ \end{plstx} -which of the following strings are in the language of $G$? +where the starting symbol is $\meta{S}$. +Which of the following strings are in the language of $G$? \begin{itemize} \item[$\bullet$] $a$ diff -r 0e827b4c1b1c -r ae808113721d hws/hw07.pdf Binary file hws/hw07.pdf has changed