diff --git a/TODO b/TODO index 8dbff209..b9f5faf1 100644 --- a/TODO +++ b/TODO @@ -5,9 +5,9 @@ Working TODO list: - printing *global-environment* in the repl still loops forever - compiled/interpreted code integration - * call a compiled function from eval - we have the continuation in apply though. I think if the code gets that far, we should be able to apply a compiled function - * call an interpreted function from compiled code (or is eval good enough? maybe that is the answer?) + * call an interpreted function from compiled code + need an example of this, for example maybe defining a function in the interpreter and + then passing it as a parameter. EG: (map (lambda ...) lst) - Use a lib.scm for libs, similar to eval/parser modules? diff --git a/runtime.h b/runtime.h index f8cd5d80..c4c2a890 100644 --- a/runtime.h +++ b/runtime.h @@ -1029,12 +1029,6 @@ static object apply(object cont, object func, object args){ object result; common_type buf; -// TODO: consider passing an argc for just this purpose -// if (nullp(args)) { -// printf("Error: no arguments passed to apply\n"); -// exit(1); -// } - switch(type_of(func)) { case primitive_tag: if (func == primitive_cons) {