Jeremy Siek 2 жил өмнө
parent
commit
bc29d5546e
1 өөрчлөгдсөн 11 нэмэгдсэн , 0 устгасан
  1. 11 0
      book.tex

+ 11 - 0
book.tex

@@ -4892,6 +4892,17 @@ your results against Figure~\ref{fig:shift-reduce}.
 \end{exercise}
 
 
+\begin{exercise}
+  Change the parser in your compiler for \LangVar{} to set the
+  \code{parser} option of Lark to \code{'lalr'}. Test your compiler on
+  all the \LangVar{} programs that you have created. In doing so, Lark
+  may signal an error due to shift/reduce or reduce/reduce conflicts
+  in your grammar. If so, change your Lark grammar for \LangVar{} to
+  remove those conflicts.
+
+\end{exercise}
+
+
 \section{Further Reading}
 
 UNDER CONSTRUCTION