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

Can this language compile to a dll/so? #11

Open
Zireael07 opened this issue Nov 24, 2022 · 1 comment
Open

Can this language compile to a dll/so? #11

Zireael07 opened this issue Nov 24, 2022 · 1 comment

Comments

@Zireael07
Copy link

I looked through the site and unfortunately no mentions...

@ThomasMertes
Copy link
Owner

ThomasMertes commented Feb 4, 2023

Basically compiling to a dll/so would be possible. But there are obstacles. Regarding libraries, the approach used by Seed7 and other languages differs considerably. Seed7 libraries can be included directly, while the usual dll/so needs an additional header file which describes the interfaces of the dll/so. The Seed7 overloading does not use name mangling and a possible name mangling of Seed7 would be incompatible to the ones used by other languages. Fundamental types like 'string', bigInteger, 'array', hash and 'file' could not be used directly from other languages. When a Seed7 dll/so is only used by Seed7, there would still be the name mangling and the header file issue. Compiling to a dll/so is not high on the priority list, but if someone implements it, it will be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants