Jeremy G. Siek 1 vecka sedan
förälder
incheckning
08d29aaf06
2 ändrade filer med 15 tillägg och 15 borttagningar
  1. 11 11
      README.md
  2. 4 4
      book.tex

+ 11 - 11
README.md

@@ -23,17 +23,17 @@ implementation of the compiler and the full test suite.
 
 **Universities that have used this book**
 
-* California Institute of Technology
-* California Polytechnic State University, San Luis Obispo
-* IIIT Hyderabad
-* Portland State University
-* Rose Hulman Institute of Technology
-* University of Basel
-* University of Colorado Boulder (older version of the book)
-* University of Freiburg
-* University of Massachusetts Lowell
-* University of Vermont
-* Wisconsin Lutheran College
+1. California Institute of Technology
+2. California Polytechnic State University, San Luis Obispo
+3. IIIT Hyderabad
+4. Portland State University
+5. Rose Hulman Institute of Technology
+6. University of Basel
+7. University of Colorado Boulder (older version of the book)
+8. University of Freiburg
+9. University of Massachusetts Lowell
+10. University of Vermont
+11. Wisconsin Lutheran College
 
 
 Instructors, please let me know if you plan to use this book in your course!

+ 4 - 4
book.tex

@@ -26,7 +26,7 @@
 
 \def\racketEd{0}
 \def\pythonEd{1}
-\def\edition{0}
+\def\edition{1}
 
 % material that is specific to the Racket edition of the book
 \newcommand{\racket}[1]{{\if\edition\racketEd{#1}\fi}}
@@ -18135,16 +18135,16 @@ that you should place the \itm{arity} in the tag that is stored at
 position $0$ of the tuple. Recall that in
 section~\ref{sec:select-instructions-gc} a portion of the 64-bit tag
 was not used. We store the arity in the $5$ bits starting at position
-$58$.
+$57$.
 
 \racket{Compile the \code{procedure-arity} operator into a sequence of
 instructions that access the tag from position $0$ of the vector and
-extract the $5$ bits starting at position $58$ from the tag.}
+extract the $5$ bits starting at position $57$ from the tag.}
 %
 \python{Compile a call to the \code{arity} operator to a sequence of
 instructions that access the tag from position $0$ of the tuple
 (representing a closure) and extract the $5$ bits starting at position
-$58$ from the tag.}
+$57$ from the tag.}
 
 Figure~\ref{fig:Llambda-passes} provides an overview of the passes
 needed for the compilation of \LangLam{}.