blitz-research / monkey

Blitz Research Monkey Source
225 stars 59 forks source link

Unsorted imports #69

Open Pharmhaus-2 opened 9 years ago

Pharmhaus-2 commented 9 years ago

Transcc currently supports no way to order Imported files.This causes a lot of trouble when interfacing with C and C++ Project which rely on a specific order of imports (and are not Monkey optimised like MySql). It would be nice if there was a possibility to import files in a more ordered way. https://github.com/blitz-research/monkey/blob/develop/src/transcc/builder.monkey#L71 e.g. possibility to import headers first and files that use these headers last (or just later) (even a simple ImportFirst / ImportLast would probably do?)