Open marss72 opened 3 months ago
Yes, it's standalone and shouldn't need anything. If you're on linux and need crypto APIs, you'll need libssl installed.
There's no API besides the command line interface of bflat.
Thanks for your reply!
There's no API besides the command line interface of bflat.
Is there anything I could use to not write the C# script on the disk or the assembly on the disk? Like output/input redirection to bflat? I tried input redirection, but that did not work. I think this would be a great feature to add (reading C# script to compile from redirected input and possibly output, but that would introduce some problems with symbols file for example). If this would be added, one of the options to read from the redirected input would be to specify a specific input arg so for example $rinput
<redirected_input>
.
Thanks! I theoretically could be able to make a PR for that, but I don't want to break anything as I'm new to bflat.
I think the redirection should "just work".
I tried:
bflat build con -o test.exe
System.Console.WriteLine("Hello!");
^Z
And it worked for me on Windows. On Linux, I assume you'd use /dev/tty
and whatever is the sequence to send EOF or something like that.
I have two questions. One is about whether the bflat compiler is standalone, and the second is about API.
Thanks!