Skip to content

Introduce continuations back into scm-slang #175

@s-kybound

Description

@s-kybound

The changes in #165 have turned scm-slang into a conductor-compatible language evaluator, which is good news. However, the migration targets Scheme chapter 1, which loses prior work to enable continuations and macros in the Scheme implementation.

Implementing continuations will require a new builtin callcc as well as a continuation datastructure that contains a saved Control, Stash and Environment stack, that will be restored once the continuation is applied. The details can be found in this paper: https://icfp24.sigplan.org/details/scheme-2024-papers/2/Beyond-SICP-Design-and-Implementation-of-a-Notional-Machine-for-Scheme

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions