boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

126-shadow-root-overflow.scm (222B)


      1 ; A deeply nested non-tail call chain exhausts the bounded exact root stack
      2 ; deterministically instead of silently losing roots.
      3 
      4 (define (descend n)
      5   (if (= n 0)
      6       0
      7       (+ 1 (descend (- n 1)))))
      8 
      9 (descend 10000)