Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo control-flow operator #349

Closed
jsiek opened this issue Mar 5, 2021 · 0 comments · Fixed by #368
Closed

Demo control-flow operator #349

jsiek opened this issue Mar 5, 2021 · 0 comments · Fixed by #368
Labels
explorer Action items related to Carbon explorer code

Comments

@jsiek
Copy link
Contributor

jsiek commented Mar 5, 2021

As we refactor the interpreter, we need to make sure that we don't accidentally box ourselves in with
and approach that can't handle the control-flow features that we may want to add in the future, such as
exceptions, question mark, coroutines, threads, etc.

So the idea is to demo a fairly powerful control-flow feature now as a place-holder, such as first-class continuations (or perhaps delimited continuations), even though we may not (probably do not?) want this feature in Carbon.

@dabrahams dabrahams added the explorer Action items related to Carbon explorer code label Mar 9, 2021
@dabrahams dabrahams changed the title executable semantics: demo control-flow operator Demo control-flow operator Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
explorer Action items related to Carbon explorer code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants