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

Support TLA+ bags #8

Open
minhnhdo opened this issue Jan 17, 2018 · 4 comments
Open

Support TLA+ bags #8

minhnhdo opened this issue Jan 17, 2018 · 4 comments

Comments

@minhnhdo
Copy link
Contributor

TLA+ has a "bag" type which is better known as a multiset. We need to support bags and their corresponding operators and functions. A bare-bones Go multiset library is available at https://github.com/soniakeys/multiset.

Original issue: https://bitbucket.org/whiteoutblackout/pgo/issues/32/support-tla-bags

@minhnhdo
Copy link
Contributor Author

Can you also post the TLA+ bags doc?

Original comment: https://bitbucket.org/whiteoutblackout/pgo/issues/32/support-tla-bags#comment-37468475

@minhnhdo
Copy link
Contributor Author

@minhnhdo
Copy link
Contributor Author

Bags (and records) should be implemented in Go using maps.

Original comment: https://bitbucket.org/whiteoutblackout/pgo/issues/32/support-tla-bags#comment-39332688

@fhackett
Copy link
Contributor

We now have a framework for implementing built-in modules. See pgo.trans.intermediate.TLABuiltins for details.

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

No branches or pull requests

2 participants