EncDotNet.S100.Scripting.MoonSharp
0.25.1
dotnet add package EncDotNet.S100.Scripting.MoonSharp --version 0.25.1
NuGet\Install-Package EncDotNet.S100.Scripting.MoonSharp -Version 0.25.1
<PackageReference Include="EncDotNet.S100.Scripting.MoonSharp" Version="0.25.1" />
<PackageVersion Include="EncDotNet.S100.Scripting.MoonSharp" Version="0.25.1" />
<PackageReference Include="EncDotNet.S100.Scripting.MoonSharp" />
paket add EncDotNet.S100.Scripting.MoonSharp --version 0.25.1
#r "nuget: EncDotNet.S100.Scripting.MoonSharp, 0.25.1"
#:package EncDotNet.S100.Scripting.MoonSharp@0.25.1
#addin nuget:?package=EncDotNet.S100.Scripting.MoonSharp&version=0.25.1
#tool nuget:?package=EncDotNet.S100.Scripting.MoonSharp&version=0.25.1
EncDotNet.S100.Scripting.MoonSharp
EncDotNet.S100.Scripting.MoonSharp implements the ILuaEngine and
ILuaContext interfaces from
EncDotNet.S100.Core with
MoonSharp, a Lua 5.2
interpreter written in .NET. The S-100 Part 9A Lua portrayal (S-101, S-131,
S-102 and others) runs on it. Reference it directly when you build a dataset
pipeline yourself or run Lua scripts through the core interfaces.
Install
dotnet add package EncDotNet.S100.Scripting.MoonSharp
Example: run a script
using EncDotNet.S100.Scripting;
using EncDotNet.S100.Scripting.MoonSharp;
ILuaEngine engine = new MoonSharpLuaEngine();
using ILuaContext lua = engine.CreateContext();
lua.Execute("function add(a, b) return a + b end");
object? sum = lua.Call("add", 2, 3);
Main entry points
MoonSharpLuaEnginecreates Lua contexts. Each context runs in a sandbox with no OS, IO or debug access.Modulessets the MoonSharp core modules loaded into each new context; the default is that sandboxed set.ILuaContext(namespaceEncDotNet.S100.Scripting) runs code, gets and sets globals, and calls functions.SetModuleLoadersupplies the source for Luarequire()calls, for example from a portrayal catalogue's rule files.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- EncDotNet.S100.Core (>= 0.25.1)
- MoonSharp (>= 2.0.0)
-
net8.0
- EncDotNet.S100.Core (>= 0.25.1)
- MoonSharp (>= 2.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EncDotNet.S100.Scripting.MoonSharp:
| Package | Downloads |
|---|---|
|
EncDotNet.S100
Open an IHO S-100 dataset, read its features and render it to an image using the bundled feature and portrayal catalogues. Wraps EncDotNet.S100.Specifications and EncDotNet.S100.Datasets.Pipelines behind a small, format-agnostic API; the underlying readers and catalogues remain available for custom wiring. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.25.1 | 47 | 10/12/2026 |
| 0.25.0 | 52 | 10/12/2026 |
| 0.24.0 | 111 | 10/4/2026 |
| 0.23.0 | 133 | 9/17/2026 |
| 0.22.0 | 159 | 7/19/2026 |
| 0.21.0 | 145 | 7/10/2026 |
| 0.20.0 | 153 | 6/29/2026 |
| 0.19.0 | 151 | 6/27/2026 |
| 0.18.0 | 160 | 6/17/2026 |
| 0.17.1 | 149 | 6/16/2026 |
| 0.17.0 | 143 | 6/15/2026 |
| 0.16.0 | 149 | 6/8/2026 |
| 0.15.0 | 137 | 6/6/2026 |
| 0.14.0 | 132 | 6/6/2026 |
| 0.13.0 | 125 | 6/3/2026 |
| 0.12.0 | 126 | 5/29/2026 |
| 0.11.0 | 132 | 5/19/2026 |
| 0.10.0 | 127 | 5/16/2026 |
| 0.9.0 | 122 | 5/15/2026 |
| 0.8.0 | 123 | 5/13/2026 |