Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

[interpreter/tests] Switch to Option B' #285

Merged
merged 15 commits into from
Oct 27, 2023
Merged

[interpreter/tests] Switch to Option B' #285

merged 15 commits into from
Oct 27, 2023

Conversation

rossberg
Copy link
Member

This merges the branch with the B' design (explainer, interpreter, tests) into main.

It should be merged along with #283, which updates the spec document, and #284, which adds a new document describing the previous semantics plus respective tests.

@rossberg rossberg requested review from aheejin and titzer October 15, 2023 05:38
instr list option (* catch_all *)
| TryDelegate of block_type * instr list * (* try *)
var (* delegate to outer handler *)
| Try of block_type * catch list * instr list (* try *)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to keep the name TryTable internally to better match the text format?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@rossberg
Copy link
Member Author

Anybody willing to approve this PR?

Copy link
Contributor

@titzer titzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but maybe want @aheejin to also take a look before merging?

* [legacy] Create specification doc for legacy exception handling

* [test] Create infra for legacy tests
@rossberg
Copy link
Member Author

Okay, I'm taking the liberty to land this for now, since some people complained, and it's not good if we keep the main doc out of date for longer. @aheejin, I'm happy to iterate in a follow-ups if you have comments later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants