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

AST type definition #1

Closed
wants to merge 1 commit into from
Closed

AST type definition #1

wants to merge 1 commit into from

Conversation

jjcnn
Copy link
Contributor

@jjcnn jjcnn commented Mar 28, 2023

The type definition for Miden IR ASTs.

Only u32 and bool are currently allowed as types, but the definition is set up so that u64 and other integer types can be added later. The cast expression has not yet been added, since there is nothing to cast to yet.

The definition represents an AST in SSA form except for block arguments/phi nodes. These require a liveness analysis, which should be added as a pass once we get to it.

@jjcnn jjcnn requested a review from bitwalker March 28, 2023 14:54
@jjcnn jjcnn force-pushed the jjcnn-ast branch 3 times, most recently from 45a62b9 to 706e656 Compare March 28, 2023 17:52
@jjcnn
Copy link
Contributor Author

jjcnn commented May 15, 2023

Closing, as this is no longer relevant.

@jjcnn jjcnn closed this May 15, 2023
@jjcnn jjcnn deleted the jjcnn-ast branch May 15, 2023 10:59
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

Successfully merging this pull request may close these issues.

None yet

1 participant