vsariola / sointu

Fork of 4klang that can target 386, amd64 and WebAssembly. Tools run on Windows, Mac & Linux
MIT License
240 stars 15 forks source link

sointu-compile should output files in current working directory #86

Closed vsariola closed 1 year ago

vsariola commented 2 years ago

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?