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 Fluent API like Expression-Trees #6

Closed
mjsabby opened this issue Apr 29, 2015 · 1 comment
Closed

Add Fluent API like Expression-Trees #6

mjsabby opened this issue Apr 29, 2015 · 1 comment

Comments

@mjsabby
Copy link
Contributor

mjsabby commented Apr 29, 2015

Wouldn't it be cool to do the following -

Module.Create("Foo")
.Method("Bar")
.CreateAlloca("a")
.Store("b")

We'll also need APIs like

Module.Create("Foo")
.Method("Bar")
.SwitchInst("a")
.Cases("b")
.Cases("c")

In the above case (no pun intended) we return the SwitchInst back. This will require some manual thought and scrubbing to become really useful.

@mjsabby
Copy link
Contributor Author

mjsabby commented May 30, 2020

Obsolete

@mjsabby mjsabby closed this as completed May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant