From af2da07be7d3f8a936640ef92b0692710a22e0d4 Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 2 Aug 2013 20:51:05 +0800 Subject: transfering the implementation language to C++ --- prototype/sketch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 prototype/sketch.py (limited to 'prototype') diff --git a/prototype/sketch.py b/prototype/sketch.py old mode 100644 new mode 100755 index c2007ee..c51dad0 --- a/prototype/sketch.py +++ b/prototype/sketch.py @@ -164,7 +164,7 @@ class _builtin_lambda(SpecialOptObj): def call(self, arg_list, envt, cont, stack, top, ret_addr): pc = ret_addr.car - para_list = list() # paramter list + para_list = list() # paramter list TODO: use Cons to represent list par = pc.cdr.car # Switch to the first parameter while not (par is empty_list): para_list.append(par.car) @@ -175,7 +175,7 @@ class _builtin_lambda(SpecialOptObj): pc = pc.cdr.cdr # Move pc to procedure body #TODO: check body - body = list() # store a list of expressions inside + body = list() # store a list of expressions inside TODO: Cons while not (pc is empty_list): body.append(pc) -- cgit v1.2.3