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

Implement letting #512

Closed
3 of 4 tasks
Tracked by #510
niklasdewally opened this issue Nov 28, 2024 · 0 comments
Closed
3 of 4 tasks
Tracked by #510

Implement letting #512

niklasdewally opened this issue Nov 28, 2024 · 0 comments
Assignees
Labels
area::conjure-oxide/ast Related to conjure_core and ast representation. kind::feature New feature or request

Comments

@niklasdewally
Copy link
Collaborator

niklasdewally commented Nov 28, 2024

Add letting declarations.

Instead of just storing decision variables, let the symbol table be of type:

SymbolTable<Name,RefTo>

where RefTo is an enum:

enum RefTo {
  Letting(Letting),
  DecisionVariable(DecisionVariable),
 // and so on
 }

To-do

@niklasdewally niklasdewally self-assigned this Nov 28, 2024
@niklasdewally niklasdewally added area::conjure-oxide/ast Related to conjure_core and ast representation. kind::feature New feature or request labels Nov 28, 2024
@niklasdewally niklasdewally changed the title Implement lettings Implement letting Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area::conjure-oxide/ast Related to conjure_core and ast representation. kind::feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant