Re: [Chicken-users] Difference in behaviour with code compiled with csc and code run with csi.

2014-12-07 Thread Thomas Chust
On Sat, 6 Dec 2014, Joe Python wrote: I was experimenting with a coroutine example which i got from the c2 website. see link below for code. http://paste.call-cc.org/paste?id=cf4489b9de4820b330dc34371ea3b73a18115a4b#a0 I get the expected output when I run the code using csi [...] However when

Re: [Chicken-users] Difference in behaviour with code compiled with csc and code run with csi.

2014-12-07 Thread Joe Python
Hi Thomas, The hack works as intended. But it has also made me cautious about the compiler behaviour. Just because the code works in repl, there is no guarantee it will work in a compiled state. That means more tests for me. Thank you for the hack and the explanation provided. - Joe On Sun,

[Chicken-users] Difference in behaviour with code compiled with csc and code run with csi.

2014-12-06 Thread Joe Python
I was experimenting with a coroutine example which i got from the c2 website. see link below for code. http://paste.call-cc.org/paste?id=cf4489b9de4820b330dc34371ea3b73a18115a4b#a0 I get the expected output when I run the code using csi $ csi -ns coroutines.scm HELLO! WORLD! However when i run