Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow exporting kOS-C identifiers to other kOS scripts #3

Open
fatho opened this issue Apr 4, 2017 · 0 comments
Open

Allow exporting kOS-C identifiers to other kOS scripts #3

fatho opened this issue Apr 4, 2017 · 0 comments
Milestone

Comments

@fatho
Copy link
Owner

fatho commented Apr 4, 2017

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 fatho added this to the v1.0 milestone Apr 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant