diff options
author | Teddy <[email protected]> | 2013-08-02 20:51:05 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2013-08-02 20:51:05 +0800 |
commit | af2da07be7d3f8a936640ef92b0692710a22e0d4 (patch) | |
tree | 4a93b65ea8514f7d647638c32a007f524bb1076f /prototype | |
parent | 1ec3b9d8e1ff352069a1356c4d59f53c7fc64e61 (diff) |
transfering the implementation language to C++
Diffstat (limited to 'prototype')
-rwxr-xr-x[-rw-r--r--] | prototype/sketch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prototype/sketch.py b/prototype/sketch.py index c2007ee..c51dad0 100644..100755 --- 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> + body = list() # store a list of expressions inside <body> TODO: Cons while not (pc is empty_list): body.append(pc) |