C
C#7mo ago
Kalam

Lua functionality

Hi, this isn't specifically a problem that I'm having, I was just wondering how applications made in a specific language allows 'users' to extend functionality with Lua or any other scripting language. Any insight would be helpful :)
6 Replies
Angius
Angius7mo ago
Something like NLua for example
Nlua
Nlua
NLua is the bind between Lua world and the .NET world.
Pobiega
Pobiega7mo ago
Lua was made specifically to be embeddable, there are lua wrappers for most programming languages that allow them to execute lua code inside, just like NLua linked above.
Kalam
KalamOP7mo ago
I see, so then would I have to specify what I want other users to be able to access?
cap5lut
cap5lut7mo ago
its common for embedded script languages, that u have to write some kind of interface layer between ur application and the script, this is not limited to just lua
Pobiega
Pobiega7mo ago
yeah absolutely, look at world of warcrafts lua addons, or factorio for example the game devs make specific functions in their engine callable from lua
Kalam
KalamOP7mo ago
I see, that clears up a lot of doubts, thank you all
Want results from more Discord servers?
Add your server