"Jason Meade" <[EMAIL PROTECTED]> writes: > My name's Jason. I'm new to Scheme, but am definitely a fan! It seems > to me that extensible and embeddable frameworks are the new > programming model for the 21st century. I'd like to see guile grow in > this respect, and am able to contribute however possible. :)
Nice to meet you! > Initially, I'd like to take a look at why guile bombs on recursive > algorithms. For example: > > (define fact > (lambda (n) > (cond > ((= n 1) 1) > (else > (* n (fact (- n 1))))))) > > guile> (fact 69) > 171122452428141311372468338881272839092270544893520369393648040923257279754140647424000000000000000 > guile> (fact 70) > ERROR: Stack overflow > ABORT: (stack-overflow) This is a feature: if you write a program by mistake that recurses forever using more and more stack, Guile will catch it for you. If you'd like to disable this checking, just say (debug-set! stack 0). Regards, Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel