Răsfoiți Sursa

hint at generate_names

Peter Thiemann 3 ani în urmă
părinte
comite
c0fef74794
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      book.tex

+ 2 - 1
book.tex

@@ -3314,7 +3314,8 @@ intermediate programs, place \lstinline{(debug-level 1)} before the call to
   Implement the \code{remove\_complex\_operands} pass in
   Implement the \code{remove\_complex\_operands} pass in
   \code{compiler.py}, creating auxiliary functions for each
   \code{compiler.py}, creating auxiliary functions for each
   non-terminal in the grammar, i.e., \code{rco\_exp}
   non-terminal in the grammar, i.e., \code{rco\_exp}
-  and \code{rco\_stmt}.
+  and \code{rco\_stmt}. We recommend you use the function
+  \code{utils.generate\_name()} to generate fresh names from a stub string.
 \fi}  
 \fi}  
 \end{exercise}
 \end{exercise}