Playlist | schedule page slides as PDF |

Interp 1 — arithmetic (7:41)

PLAI§3. Representing and interpreting a simple language of arithmetic expressions. See

`arith.rkt`.Interp 2 — parsing (5:57)

*Ok to skip, at first.*PLAI§2. Concrete syntax, abstract syntax, and parsing. See`parse.rkt`. You’ll need this information for the homework assignment, but not for the rest of the videos.Interp 3 — desugaring (5:10)

*Ok to skip, for now.*PLAI§4. Implementing new constructs with existing constructs. See`ariths.rkt`. You won’t need this information for the rest of the videos or even the homework, but the idea will come back later in the course.Interp 4 — function representation (6:52)

PLAI§5. Representing function definitions and function calls.

Interp 5 — function

`interp`(7:01)Interpreting function calls. The next three videos finish the implementation. See

`function.rkt`.Interp 6 — function

`get-fundef`(1:55)Implementing a helper function for the interpreter.

Interp 7 — function

`subst`(2:57)Implementing substitution, which is another helper function for the interpreter.

Interp 8 — function finish (1:39)

Try to run the tests, and fix a mistake in the

`interp`function.