"Run" option #130
CypherPotato
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Thanks! For anything else than trivial programs, compiling is going to take seconds and it feels a bit wasteful to have a command that deletes it all. The advantage could be that we know what computer this is going to run on so it could imply '-m native'. I'll have to think about it more |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
Firstly, thanks for Bflat. It's an incredible project that deserves attention.
I missed an option to just run C# code, without the need to build an executable for it. To achieve this, I made a small change to bflat that adds the "Run" command, which calls the Build command but with an output to a temporary path. After compiling, it executes the file, and at the end of the process, the compiler deletes the output files.
Demonstration:
My question is: does it make sense to have this command? Do you think it is relevant for bflat to have this option built in or is it unnecessary?
Beta Was this translation helpful? Give feedback.
All reactions