User loginNavigation |
archivesaway from interpreter hacking and toward enhancing stdlibAndrew Kuchling writes:
Ken Shan: Shift to Control
Ken Shan's Shift to Control (slides) presented at the recent Scheme workshop.
Ken shows that shift/reset, prompt/control, prompt/cupto and lots of other delimited continuation operators are all equally expressible, and all can be modeled by ordinary CPS. The paper shows that shift and reset can macro-express control and prompt, as well as the other operators, without capturing undelimited continuations or keeping mutable state. This translation is previously unknown in the literature. Good stuff! But keep in mind that, as the cartoon in the slide says, control operators can make your head hurt... |
Browse archivesActive forum topics |
Recent comments
2 weeks 5 days ago
43 weeks 2 hours ago
43 weeks 6 hours ago
43 weeks 6 hours ago
1 year 13 weeks ago
1 year 17 weeks ago
1 year 18 weeks ago
1 year 18 weeks ago
1 year 21 weeks ago
1 year 26 weeks ago