This commit is contained in:
Justin Ethier 2015-02-23 22:53:02 -05:00
parent cb9c21013c
commit fdae824263
2 changed files with 3 additions and 9 deletions

6
TODO
View file

@ -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?

View file

@ -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) {