Made closures capture loop variables properly (that is, closures over variables intro...
commite067f2f21160efb597e057f51e2df1fa0e3d801d
authorVladimir Sedach <vsedach@gmail.com>
Mon, 8 Nov 2010 06:28:55 +0000 (8 01:28 -0500)
committerVladimir Sedach <vsedach@gmail.com>
Mon, 8 Nov 2010 06:28:55 +0000 (8 01:28 -0500)
tree78456e71517dd988c784709f91b5343c28f692c1
parent645d12596967ea9f2a92b79d6ad4cf8e8d6039ed
Made closures capture loop variables properly (that is, closures over variables introduced in loops should close over a new binding of those variables for each loop iteration), with a 'with' scoping trick borrowed from Scheme2JS.
src/compiler.lisp
src/macros.lisp
src/special-operators.lisp
t/ps-tests.lisp