Is there a way to execute Odin code with turning it to an executable? #2346
Answered
by
z64
DreepyYunky
asked this question in
Q&A
-
I just wanna know, is there a way to execute code without turning it into an executable |
Beta Was this translation helpful? Give feedback.
Answered by
z64
Feb 27, 2023
Replies: 1 comment
-
Currently no, Odin doesn't have something like an interpreted mode that would obviate the need for generating some kind of executable file. While not impossible, that would be a large effort, and there are no comitted plans on this to my knowledge. The |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DreepyYunky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently no, Odin doesn't have something like an interpreted mode that would obviate the need for generating some kind of executable file. While not impossible, that would be a large effort, and there are no comitted plans on this to my knowledge.
The
odin run
command facilitates building & running a program in one step, if that is what you are looking for. It is of course just a "macro" that builds the executable, then runs it, in the current directory.