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

[cider2] Make minimally-sized clonable simulator #2345

Merged
merged 3 commits into from
Nov 12, 2024
Merged

Conversation

ethanuppal
Copy link
Member

Creates a new BaseSimulator object that can be used independently of Simulator. Also, things are cloneable now. The rationale is we can now write a model checker using cider by cloning cider contexts at forks.

@ethanuppal ethanuppal self-assigned this Nov 10, 2024
@ethanuppal ethanuppal added the C: Interpreter / Cider Calyx Interpreter & Debugger label Nov 10, 2024
@ethanuppal ethanuppal changed the title Make minimally-sized clonable simulator [cider2] Make minimally-sized clonable simulator Nov 10, 2024
Copy link
Collaborator

@EclecticGriffin EclecticGriffin left a comment

Choose a reason for hiding this comment

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

Seems reasonable. Left a few minor procedural notes but once those are covered feel free to merge

interp/Cargo.toml Outdated Show resolved Hide resolved
interp/src/flatten/structures/indexed_map.rs Outdated Show resolved Hide resolved
interp/src/flatten/primitives/prim_trait.rs Outdated Show resolved Hide resolved
@ethanuppal ethanuppal requested review from EclecticGriffin and removed request for rachitnigam November 12, 2024 03:00
Copy link
Collaborator

@EclecticGriffin EclecticGriffin left a comment

Choose a reason for hiding this comment

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

LGTM

@EclecticGriffin EclecticGriffin merged commit 33255f9 into main Nov 12, 2024
18 checks passed
@EclecticGriffin EclecticGriffin deleted the cider-clone branch November 12, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Interpreter / Cider Calyx Interpreter & Debugger
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants