The standard behavior for compilers is to output the compiled file in the current working directory (CWD), not the same directory as the original file is in (which is the current behavior). Make the compiler to output by default to CWD; maybe the current behavior can be kept optional. The current behavior only exists to support using the compiler also for formatting files in place, but maybe the formatting shouldn't be part of the same tool at all?
The standard behavior for compilers is to output the compiled file in the current working directory (CWD), not the same directory as the original file is in (which is the current behavior). Make the compiler to output by default to CWD; maybe the current behavior can be kept optional. The current behavior only exists to support using the compiler also for formatting files in place, but maybe the formatting shouldn't be part of the same tool at all?