moonsharp-devs/moonsharp
An interpreter for the Lua language, written entirely in C# for the .NET, Mono, Xamarin and Unity3D platforms, including handy remote debugger facilities. observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 96
- Release rhythm 41
- Longevity 100
Flags: prerelease_only no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4484
- days_rel: 183
- days_push: 29
- n_releases_24m: 1
Adoption not part of the score
1614 stars · 243 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
MoonSharp is a complete Lua 5.2 interpreter written entirely in C# for .NET, Mono, Xamarin, and Unity, with no external dependencies. It includes CLR interop, sandboxing, coroutines, bytecode dumping, and remote debugging via the Debug Adapter Protocol (e.g., VS Code).
Use cases
- embed a Lua scripting engine in a Unity game
- run Lua scripts inside a .NET application
- add mod scripting support to a C# project
- debug Lua scripts from Visual Studio Code
- sandbox user-provided Lua scripts safely
- call C# objects and methods from Lua
- run Lua on iOS or IL2CPP ahead-of-time platforms
When to choose
- you need a pure managed Lua implementation with no native dependencies
- you target Unity, Mono, Xamarin, or AOT/IL2CPP platforms
- you need tight, performant interop between Lua and CLR objects
- you want built-in debugger and sandboxing support
When to avoid
- you need 100% Lua 5.2/5.4 compatibility (weak tables and some debug module features are missing)
- you need maximum raw interpreter performance of the official C Lua VM
- you target .NET versions older than 4.5 or Unity before 2019
Facets
library · maturity active
interpreter programming-language parser json programming-languages developer-tools cross-platform dotnet cpp cross-platform lua c-sharp unity3d mono xamarin scripting remote-debugger sandboxing coroutines il2cpp debugger game-development desktop mobile
6 sources
- readme: https://github.com/moonsharp-devs/moonsharp · fetched 2026-08-28 · c5de7e12a7d3
- homepage: http://www.moonsharp.org · fetched 2026-08-29 · c6cc7f1bd7a1
- site_page: https://www.moonsharp.org/about.html · fetched 2026-08-29 · 17064e65564b
- site_page: https://www.moonsharp.org/faq.html · fetched 2026-08-29 · 0588bbc92f78
- site_page: https://www.moonsharp.org/changelog.html · fetched 2026-08-29 · 8e4356549406
- site_page: https://www.moonsharp.org/recipes.html · fetched 2026-08-29 · cb3792b5a796
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| moonsharp-devs/moonsharp | main | 78 |
For agents
markdown · JSON · MCP: product_card(name="moonsharp-devs/moonsharp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem