On Wed, Oct 1, 2008 at 10:14 PM, Philip Hudson <phil.hudson@...> wrote:
> On 29 Sep, 2008, at 10:56 pm, Ville Voutilainen wrote:
>> Well, usually you see code blocks like
>> while (args != NIL)
>> result = eval(args.car(), env, thread);
>> args = args.cdr();
>> return result;
>> This can be replaced with
>> return progn(args, env, thread);
>> There's a bunch of these in Primitives.java. I found two in
>> A simple grep finds more. I used
>> grep 'result = eval(' *.java to get started. There aren't actually
>> very many of these
> Doing Primitives now
I've committed the other patch in the mean time to SpecialOperators.java.
Keep the patches comming!