moonsharp
An interpreter for the Lua language, written entirely in C# for the .NET, Mono, Xamarin and Unity3D platforms, including handy remote debugger facilities. (by moonsharp-devs)
mlua
By khvzak
moonsharp | mlua | |
---|---|---|
4 | 17 | |
1,361 | - | |
0.8% | - | |
0.0 | - | |
5 months ago | - | |
C# | ||
GNU General Public License v3.0 or later | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
moonsharp
Posts with mentions or reviews of moonsharp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-22.
-
MoonSharp or How we combined JSON and LUA for game ability management
Some of you may be familiar with MoonSharp LUA interpreter for C#, often use in Unity engine to add scripting support to your game. That's what we took as a base for writing the code for abilities. Each ability can subscribe to different events such as whenever a card takes damage, is placed on the field or ability is used manually on some specific targets. Besides having event handlers we needed a way to specify some metadata like mana cost of abilities, cooldown, icon, etc. and in the first iteration of the system we had a pair of JSON metadata file and LUA code file.
-
Edit script on running game?
Rather than making your own language, just add Lua to your project. Moonsharp is pretty good with Unity...
- Can I change unity coding language?
- Lua: Good, Bad, and Ugly Parts
mlua
Posts with mentions or reviews of mlua.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-03.
-
Announcing mlua v0.9 (rc) - Full featured Lua bindings to Rust
The release notes can be found here.
-
Do Rust and Lua work well together?
I'm not a specialist about text based multiplayer game, but from what I saw on Wikipedia it seem doable to do it with Rust and Bevy. On top of that you can add a layer of LUA with https://github.com/khvzak/mlua (or write your own bindings and sandbox later).
-
Introducing Petrichor64 - a rust and wgpu built game engine/fantasy console with lua game logic
mlua can run on emscripten target with Luau backend -> https://github.com/khvzak/mlua/issues/23
- I was searching for embedded lanaguages in Rust and I found out I can use deno https://deno.land/[email protected]/embedding_deno which is amazing has anyone tried it ?
-
Repos using rlua/mlua
You can also look at the "dependents" section on crates.io https://crates.io/crates/mlua/reverse_dependencies and github https://github.com/khvzak/mlua/network/dependents
-
is rlua-async supports mutli-threading?
I know mlua does support Async. I also prefer it over rlua
-
Rust and Lua api
Note rlua doesn't allow you to create native modules with it and has largely been superseded by https://github.com/khvzak/mlua since it's more maintained, has native module support and stuff like Luau and async/await.
-
Announcing mlua 0.8.0-beta with Roblox Luau support
I'm glad to announce first mlua version 0.8.0-beta.1 with Roblox Luau support.
-
Lua: Good, Bad, and Ugly Parts
I believe mlua [0] is the recommended Lua Rust binding now.
[0] https://github.com/khvzak/mlua
-
Dash.nvim v0.8.0 now supports Telescope, fzf-lua, and Snap fuzzy finders!
This is achieved through a backend/client architecture -- all core functionality (getting query results, opening selected item, search engine fallback, etc.) is implemented in a "backend" module, which is a Rust library exposed as a Lua module via mlua. The results returned by the backend then get fed into your fuzzy-finder of choice through thin clients, or "providers".
What are some alternatives?
When comparing moonsharp and mlua you can also consider the following projects:
luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua
rlua - High level Lua bindings to Rust
atom-tabletopsimulator-lua - Tabletop Simulator scripting package for Atom.
lua-lockbox - A collection of cryptographic primitives written in pure Lua
lua-cmake - Embed lua with CMake
fungus - An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
assemblyscript - A TypeScript-like language for WebAssembly.
IntelliJ-Luanalysis - Type-safe Lua IDE — IntelliJ IDEA plugin
mun - Source code for the Mun language and runtime.
gopher-lua - GopherLua: VM and compiler for Lua in Go
lokke - Lokke: Clojure for Guile