User loginNavigation |
archivesThe Last Language?
Implementor's guide/tutorial to delimited continuations?Is there are really simple tutorial on implementing a language with delimited continuations? E.g. this is how you represent stack frames, this is how you capture a continuation, etc. Something like this, but complete:
Thanks. [Edit: I realized that something like A Monadic Framework for Delimited Continuations is probably the closest thing to what I'm looking for.] Levy: a Toy Call-by-Push-Value LanguageAndrej Bauer's blog contains the PL Zoo project. In particular, the Levy language, a toy implementation of Paul Levy's CBPV in OCaml. If you're curious about CBPV, this implementation might be a nice accompaniment to the book, or simply a hands on way to check it out. It looks like an implementation of CBPV without sum and product types, with complex values, and without effects. I guess a more hands-on way to get to grips with CBPV would be to implement any of these missing features. The posts are are 3 years old, but I've only just noticed them. The PL Zoo project was briefly mentioned here. By Ohad Kammar at 2011-07-14 18:57 | Fun | Functional | Implementation | Lambda Calculus | Paradigms | Semantics | Teaching & Learning | Theory | 4 comments | other blogs | 34461 reads
|
Browse archivesActive forum topics |
Recent comments
1 day 21 hours ago
2 days 18 hours ago
3 days 22 hours ago
3 days 23 hours ago
1 week 1 day ago
1 week 2 days ago
1 week 2 days ago
4 weeks 2 days ago
5 weeks 1 day ago
5 weeks 1 day ago