blech-lang / blech

Blech is a language for developing reactive, real-time critical embedded software.
Apache License 2.0
64 stars 5 forks source link

Blech compiler creates subdirectory `blech` even without an input file #14

Open schorg opened 1 year ago

schorg commented 1 year ago

If blechc is called without an input file or with the name of an input file that cannot be found Calling blechc creates a subfolder blech for generated compilation results. This also happens if no input file is given or the input file cannot be found.

This behavior is a little bit unfortunate because it may create folders named blech anywhere when blechc is called.

Proposal: Only create the subfolder blech in a project directory, when the input file is found or given.