GC not working?
Closed this issue · 5 comments
Is it possible that the GC does'nt work?
I compiled ape as follows:
gcc *.c -o ape -lm
It appears that the following recursive function
(defn fib (n)
(if (< n 2) 1 (+ (fib (- n 1)) (fib (- n 2)))
))
makes the program crash if e.g. (fib 20) is tried
Can you give me more information?
I tested gcc *.c -o ape -lm
on my MacBook and it worked fine.
@wboeke I made some fixes to possible crashes, You can try the latest version again.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
I am sorry, I replied to you by mail, however: that does not work, apparently. Anyhow, the problem is solved. Thanks!
I didn't get any mail. Thank you for your feedback and glad you like it.