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

QuintIR -> ApalacheIR #2350

Closed
6 tasks done
Tracked by #12
shonfeder opened this issue Nov 21, 2022 · 1 comment
Closed
6 tasks done
Tracked by #12

QuintIR -> ApalacheIR #2350

shonfeder opened this issue Nov 21, 2022 · 1 comment
Assignees
Labels

Comments

@shonfeder
Copy link
Contributor

shonfeder commented Nov 21, 2022

We need the type of operator declarations before we can convert them into tla
operator declarations.

TlaOperDecl requires a list of OperParams.
These are just pairs of the paramter name and it's arity (values have arity
0). To determine the arity of a parameter to a tnt operator def will require
inspecting the type inferred/checked for the operator.

The scoped builder also requires each parameter to be typed
separately
, which again means
we'll need to inspect an operator declaration's type recover
the types for each parameter.

We cannot construct TLA operator declarations until we have the
types of the Quint operator declarations available. Whereas type annotations for
variables and constants in required, they are optional for operator
declarations, so as a rule we are not getting the types in the AST.

Thus, the following are pre-requisites for this issue

@shonfeder shonfeder self-assigned this Nov 21, 2022
@konnov konnov changed the title tnt Defs -> Apalache declarations quint Defs -> Apalache declarations Dec 21, 2022
@shonfeder shonfeder transferred this issue from informalsystems/quint Jan 18, 2023
@shonfeder shonfeder changed the title quint Defs -> Apalache declarations QuintIR -> ApalacheIR Jan 27, 2023
@shonfeder
Copy link
Contributor Author

this has become superseded by the factored Out issues, and we don't need it for tracking when we have the milestone

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

No branches or pull requests

1 participant