dbaumgarten / yodk

Development Kit for Starbase's ingame programming language YOLOL
MIT License
56 stars 16 forks source link

Compiled file naming #57

Closed Woccz closed 3 years ago

Woccz commented 3 years ago

As all files compiled from nolol are optimised, perhaps the generated yolol file should be of progName.opt.yolol format?

Thank you.

dbaumgarten commented 3 years ago

The ".opt" part doesn't actually carry any meaning. It's just that i don't want to overwrite the source-file when optimizing (because the user surely wants to keep it). So I had to give the output-file some other name. Nolol does not have that problem, as the source-files have the .nolol extension and the outputs are .yolol .

Woccz commented 3 years ago

Ok then. I guess if an optimised file is created only when running the optimiser that works fine too.