Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This now allows the use of an arbitrary body, as can be seen in the following test: ``` (set! p 4) (while (<= p 10) (print "Pxx: %s" p) (set! p (+ p 1) true) ) ``` The new approach defines a local lambda, with a random name, and calls that recursively when the conditional is true. This closes #21, though we still need to use the three-argument form of (set!) as our scoping/environment is confused - that is tracked in #22.
- Loading branch information