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

Add support for clos-encounters #919

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Add support for clos-encounters #919

merged 1 commit into from
Apr 12, 2024

Conversation

macrologist
Copy link
Contributor

@macrologist macrologist commented Apr 11, 2024

Fixes #917 in conjunction with a similar PR to QVM

This PR relies on a new dependency to quil-lang software called clos-encounters, which implements common OOP patterns presently in use in quilc and qvm. CLOS-ENCOUNTERS is meant to be a drop-in replacement for the tfeb abstract classes and singleton classes libraries that we have been using.

The tfeb libraries utilized lazy-loading of a dependency (closer-mop) in a manner that broke our build process. Because these OOP patterns are so easy to implement, we've simply done so here rather than making a PR tfeb's repo.

@stylewarning stylewarning merged commit c181970 into master Apr 12, 2024
0 of 3 checks passed
@stylewarning stylewarning deleted the clos-encounters branch April 12, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants