mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 08:17:35 +02:00
WIP
This commit is contained in:
parent
cb9c21013c
commit
fdae824263
2 changed files with 3 additions and 9 deletions
6
TODO
6
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?
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue