How to run IR #11
-
|
Hello, I read some documentation but didn't find out how to execute these IR? I want to write a REPL for debugging, but I don’t know how to generate an executable file. |
Beta Was this translation helpful? Give feedback.
Answered by
vaivaswatha
Nov 28, 2023
Replies: 1 comment
-
|
Hi @oovm . There is no way to run (execute) the IR at this time. The project is quite nascent and I'm working on supporting various features. To be able to run the code, we'll need a code generator to generate machine code or LLVM-IR. Or another way to do it would be to have an interpreter working on a specific dialect. But that's all too far away at the moment. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
vaivaswatha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @oovm . There is no way to run (execute) the IR at this time. The project is quite nascent and I'm working on supporting various features.
To be able to run the code, we'll need a code generator to generate machine code or LLVM-IR. Or another way to do it would be to have an interpreter working on a specific dialect. But that's all too far away at the moment.