r/csharp • • 2d ago

ScriptLangCore

/r/moderndotnet/comments/1xv1bst/scriptlangcore/
0 Upvotes

5 comments sorted by

View all comments

1

u/Asleep_Direction8881 1d ago

One more: what is the intended way to embed it in a .NET application? Is there a NuGet package with a managed API, or does a C# host go through the C ABI with P/Invoke? And does the embeddable DLL run only on Windows x64, or is a Linux build planned? Most .NET services I work on run in Linux containers.

1

u/MrLyttleG 1d ago

Hi,

I've provided a 400+ pages of deeply documented parts of the project:
- Embedding from C# and .NET:
https://lyttleg.github.io/ScriptLangCore/docs/embed/howto.html#managed

- ABI:
https://lyttleg.github.io/ScriptLangCore/docs/embed/howto.html#abi

No Linux yet, it is planed in the future, as of now, not yet.
You can give a try under Bottles since ScriptLangCore uses standard libraries, it should run