Przeglądaj źródła

hint at generate_names

Peter Thiemann 3 lat temu
rodzic
commit
c0fef74794
1 zmienionych plików z 2 dodań i 1 usunięć
  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
   \code{compiler.py}, creating auxiliary functions for each
   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}  
 \end{exercise}