scheme as a virtual machine - III
After experimenting with CPSCM, I have to drop it. The final now consists of two implementations: Chicken and Gambit.
return create_function('$b', 'print "a='.$a.', b=$b";');
$f1 = getMyFunc(1);
The code above and a few tricks to emulate lambdas do not work in PHP 4. As I was told on Stackoverflow, "...some changes have been made starting with PHP 5.3, but even there you don't have your expected variable scopes that would allow you to do what you have in your examples."
Anyway, despite of dropping, I like CPSCM.
The same problem is with Chicken. The final winner is Gambit.