IUCompilerCourse / public-student-support-code

Public helper code for p423/p523 students (Racket)
MIT License
155 stars 74 forks source link

Use typechecker functions in the commented code in compiler-passes #18

Closed ckoparkar closed 2 years ago

ckoparkar commented 2 years ago

In particular, typecheck-Cvar is important as it populates the info field that assign-homes depends on. The textbook (on pages 30 and 32) does explain this and shows how to use it in a code snippet. We're adding it to the commented code here to help people in case they miss this.