mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Weird problems with interpreter
This commit is contained in:
parent
b886fd8871
commit
f2a2a2501c
1 changed files with 24 additions and 4 deletions
28
TODO
28
TODO
|
@ -1,9 +1,29 @@
|
|||
Working TODO list:
|
||||
|
||||
- compiled/interpreted code integration
|
||||
* 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)
|
||||
- Intepreter needs work:
|
||||
|
||||
cyclone> (define a (lambda (x) x))
|
||||
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:
|
||||
- (equal?) loops forever when comparing two different circular lists
|
||||
|
|
Loading…
Add table
Reference in a new issue