Lifelovinglight / Scheme

A simple, non-standard scheme interpreter
GNU General Public License v3.0
1 stars 0 forks source link

Add closures #1

Open Lifelovinglight opened 9 years ago

Lifelovinglight commented 9 years ago

Either turn the environment tree into a zipper, or add one layer of indirection in the same manner as for the heap.

Lifelovinglight commented 9 years ago

This is idiotic, all environments should be kept as linked association lists. Or, actually, as one single association list from the POV of any given environment, in reality it being a tree.