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 globals to the SSA parser #7082

Open
vezenovm opened this issue Jan 15, 2025 · 0 comments · May be fixed by #7112
Open

Add globals to the SSA parser #7082

vezenovm opened this issue Jan 15, 2025 · 0 comments · May be fixed by #7112
Assignees
Labels
enhancement New feature or request ssa

Comments

@vezenovm
Copy link
Contributor

vezenovm commented Jan 15, 2025

Problem

As part of #6801 we are going to want to be able to run tests using our SSA parser that include globals.

Happy Case

I should be able to take in SSA text like such:

After Initial SSA:
g0 = Field 1
g1 = make_array [Field 1, Field 1] : [Field; 2]
g2 = Field 0
g3 = make_array [Field 0, Field 0] : [Field; 2]
g4 = make_array [g1, g3] : [[Field; 2]; 2]

brillig(inline) fn main f0 { ... }

And convert it into Ssa like we do Ssa functions.

Workaround

None

Workaround Description

No response

Additional Context

No response

Project Impact

Nice-to-have

Blocker Context

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

@vezenovm vezenovm added enhancement New feature or request ssa labels Jan 15, 2025
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Jan 15, 2025
@asterite asterite self-assigned this Jan 17, 2025
@asterite asterite linked a pull request Jan 17, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ssa
Projects
Status: 📋 Backlog
Development

Successfully merging a pull request may close this issue.

2 participants