开发者

Is there a fully managed (.NET) Lua interpreter? [closed]

开发者 https://www.devze.com 2023-03-18 20:22 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve thi开发者_如何学Cs question

Does anyone know if there is a fully managed (.NET) Lua interpreter? The regular source can be compiled with managed extensions for desktop .NET, but it can't be embedded in a Silverlight application.


There another project called Lua.Net

Check Aluminum Lua, It is completely written in C#.


I have written a Lua interpreter for .NET

It's a complete rewrite, it uses Irony for parsing and supports most of Lua 5.2 features, even if it lacks debug functions. Also only basic functions are provided, but custom ones can be easily written. http://github.com/frabert/NetLua


I did a complete line-for-line port of Lua 5.1.4 to C# including the libraries and tools, it's been used successfully with Unity and partially with XNA (minus the bits that need reflection):

http://www.ppl-pilot.com/kopilua.aspx

You might wanna check GitHub though, I believe it's been forked and updated by others since (although I'm not sure if they went to the same lengths I did to make sure it was a 100% faithful port).

0

精彩评论

暂无评论...
验证码 换一张
取 消