| Simulation of other Paradigms and Continuations - slide 42 : 43 |
Delayed evaluation and scheduling of a computation from an external driver
Provides for interleaved excution of several functions - as controlled by the scheduler
The starting point is some tail recursive functions
Augmenting with bounce and return. |
Redefining bounce and return. |
Introducing a single threaded scheduler: pogo-stick. |
Trampolining a recursive factorial function without tail calls?! |
Multithreaded schedulers: seesaw and trampoline. |
A variant of seesaw that completes both threads |
Trampoling can be used in a compilers - for compilation of a tail-recursive function to a loop that drives the recursion

![Previous page: Trampolining [Section] -- Keyboard shortcut: 'p' Previous page: Trampolining [Section] -- Keyboard shortcut: 'p'](./images/nav-left.gif)





