Skip to content

Quahu/Laylua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laylua

Laylua allows you to easily embed Lua 5.4 in your .NET application.

Highlights:

  • plug and play
  • proper handling of exceptions and Lua errors
  • built-in memory allocation and instruction count limiting
  • control over what gets exposed to Lua code
  • optimized, zero-alloc, poolable Lua entities, no value type boxing

Examples

using (var lua = new Lua())
{
    lua.SetGlobal("text", "Hello, World!");

    lua.OpenLibrary(LuaLibraries.Standard.Base);

    lua.Execute("print(text)");
}

Documentation

Check out the wiki.