kos-c icon indicating copy to clipboard operation
kos-c copied to clipboard

Allow exporting kOS-C identifiers to other kOS scripts

Open fatho opened this issue 7 years ago • 0 comments

This could consist of adding an export keyword (or the like) that always causes a function to be generated in the output file, even if it is not reachable from the main function. Then it should also be allowed to compile files without main function as a library of some sort.

The reason for this is that it allows other people not wanting to install this compiler or to write their programs in kOS-C to still profit from libraries targeted at kOS-C.

fatho avatar Apr 04 '17 11:04 fatho