Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - rapega

#1
Anything else we might add? / Tail Recusion
June 02, 2012, 10:49:45 PM
Hi,



I am new to newlisp and did my standard test to it:



(define (mt n) (println n)(mt (+ 1 n)))

(mt 1)



that should run infinte in any tail recursive lisp.

It crashed at 2048 in newlisp, but amazingly fast!



Is there no tail recursion detection or am doing it wrong?



Thank you,



Ralf