Weird problems with interpreter

This commit is contained in:
Justin Ethier 2015-03-04 13:41:25 -05:00
parent b886fd8871
commit f2a2a2501c

28
TODO
View file

@ -1,9 +1,29 @@
Working TODO list: Working TODO list:
- compiled/interpreted code integration - Intepreter needs work:
* call an interpreted function from compiled code
need an example of this, for example maybe defining a function in the interpreter and cyclone> (define a (lambda (x) x))
then passing it as a parameter. EG: (map (lambda ...) lst) ok
cyclone> a
(procedure (x) ...)
cyclone> (a 1)
1
cyclone> a
(procedure (x) ...)
cyclone> (a 'e)
Error: Unknown procedure type -- EXECUTE-APPLICATION
(quote e)
and issues with interpreted vars being lost - WTF?
cyclone> (define a (lambda (x) x))
ok
cyclone> (a 1)
1
cyclone> (a 1)
Error: Unbound variable
a
- Issues with detecting cycles: - Issues with detecting cycles:
- (equal?) loops forever when comparing two different circular lists - (equal?) loops forever when comparing two different circular lists