PLQ #3Done on:   Tuesday, January 30th

Question 1 @ 2024-01-30 18:17

Using our WAE language semantics, which of these expressions will evaluate to 1?


Question 2 @ 2024-01-30 18:21

In our WAE language, which of the following evaluations would lead to an error?


Question 3 @ 2024-01-30 18:25

{with {x x} {+ x y}}

For the four identifiers in this WAE expression (x, x, x, y), what are they (in order)?


Question 4 @ 2024-01-30 18:27

{with {x x} {+ x y}}

In the same WAE expression, what about the +?

It is…


Question 5 @ 2024-01-30 18:31

How does the following expression gets translated to our de-Bruijn index notation?

{with {x {with {x 1} x}} {with {x x} x}}