hws/hw05.tex
changeset 602 9aa901039e33
parent 527 2a62f0845f98
child 619 136517d67d40
--- 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$