CSharp.lua icon indicating copy to clipboard operation
CSharp.lua copied to clipboard

Is it possible to use Lua libraries in C# code?

Open ghost opened this issue 3 years ago • 2 comments

I wanted to write plugins to Lite XL, a Lua based text editor but I'm not familiar with Lua. I wanted to write it in C# instead. Of course I need the ability to use Lua libraries from C# to make it work. Is it something that possible? I'm not quite understand how this project work yet. To my understanding it will be translated to Lua anyway and CoreSystem.lua is also a collection of Lua libraries to emulate .NET framework, so I think it should work but I'm not really sure.

ghost avatar Feb 03 '23 12:02 ghost

you can like this https://github.com/yanghuan/CSharp.lua/wiki/FAQ_en#7how-do-you-call-or-insert-lua-code-in-your-code

yanghuan avatar Feb 07 '23 03:02 yanghuan

you can like this https://github.com/yanghuan/CSharp.lua/wiki/FAQ_en#7how-do-you-call-or-insert-lua-code-in-your-code

Not only snippets of Lua code but I need to use Lua libraries.

ghost avatar Feb 07 '23 07:02 ghost