EncDotNet.S100.Scripting.MoonSharp 0.25.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package EncDotNet.S100.Scripting.MoonSharp --version 0.25.0
                    
NuGet\Install-Package EncDotNet.S100.Scripting.MoonSharp -Version 0.25.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EncDotNet.S100.Scripting.MoonSharp" Version="0.25.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EncDotNet.S100.Scripting.MoonSharp" Version="0.25.0" />
                    
Directory.Packages.props
<PackageReference Include="EncDotNet.S100.Scripting.MoonSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EncDotNet.S100.Scripting.MoonSharp --version 0.25.0
                    
#r "nuget: EncDotNet.S100.Scripting.MoonSharp, 0.25.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EncDotNet.S100.Scripting.MoonSharp@0.25.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EncDotNet.S100.Scripting.MoonSharp&version=0.25.0
                    
Install as a Cake Addin
#tool nuget:?package=EncDotNet.S100.Scripting.MoonSharp&version=0.25.0
                    
Install as a Cake Tool

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

  • MoonSharpLuaEngine creates Lua contexts. Each context runs in a sandbox with no OS, IO or debug access. Modules sets the MoonSharp core modules loaded into each new context; the default is that sandboxed set.
  • ILuaContext (namespace EncDotNet.S100.Scripting) runs code, gets and sets globals, and calls functions. SetModuleLoader supplies the source for Lua require() calls, for example from a portrayal catalogue's rule files.
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed