![]() |
CiteULike | ![]() |
tautologico's CiteULike | ![]() |
![]() |
|
![]() |
Register | ![]() |
Log in | ![]() |
CONS Should Not CONS Its Arguments, Part II: Cheney on the M.T.A.by: Henry G. Baker
|
Reviews
[Write a review of this article]
Find related articles from these CiteULike users
Find related articles with these CiteULike tags
Posting History
AbstractPrevious Schemes for implementing full tail-recursion when compiling into C have required some form of "trampoline" to pop the stack. We propose solving the tail-recursion problem in the same manner as Standard ML of New Jersey, by allocating all frames in the (garbage-collected) heap. The Scheme program is translated into continuation-passing style, so the target C functions never return. The C stack pointer then becomes the allocation pointer for a Cheney-style copying garbage collection...
BibTeX record
RIS record