Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lua Wrapper for C#? [closed]

Tags:

c#

embedding

lua

I am looking to embed Lua into my C# application and i thought there was a wrapper around the lua API for C#, but don't remember what it is. Can someone point me in it's direction?

like image 955
RCIX Avatar asked Aug 16 '09 07:08

RCIX


People also ask

Can you use c from lua?

Moreover, for a C function to be called from Lua, we must register it, that is, we must give its address to Lua in an appropriate way. When Lua calls a C function, it uses the same kind of stack that C uses to call Lua. The C function gets its arguments from the stack and pushes the results on the stack.

What is a lua wrapper?

This lua wrapper for C++ is a library which allows you to easily manage lua code. It was designed to be as simple as possible to use.


1 Answers

I believe LuaInterface is the most popular one for C#. If I'm wrong, I'm sure someone will correct me.

There's a little more information (from Lua's developers) on integrating Lua and .NET, on the Lua website.

Update:
As of April 2013, the primary developer announced that the project was stalling due to other committements, and has pointed new developments to NLua instead.

like image 124
Mark Rushakoff Avatar answered Sep 22 '22 00:09

Mark Rushakoff