Namespace EncDotNet.S100.Scripting
Classes
- S100LuaHost
Prepares an ILuaContext with the S-100 host environment that portrayal catalogue Lua scripts expect. This includes colour-token lookup, context parameters (safety contour, etc.), and standard helper functions defined by the S-100 Portrayal Model.
Interfaces
- ILuaContext
An isolated Lua execution environment that can load scripts, set/get globals, and call functions. Corresponds to a single Lua state.
- ILuaEngine
Creates isolated Lua execution contexts for running portrayal catalogue scripts. Implementations wrap a specific Lua runtime (e.g. MoonSharp, NLua) but are consumed only through this abstraction so the core library stays dependency-free.