Skip to content
TheModMaker edited this page Aug 13, 2012 · 6 revisions

ModMaker.Lua is an extension library for .NET that loads, manages, and executes Lua code. This library was completely written from scratch according to the Lua 5.2 Language Definition. This library was designed to be simple to use. There is no stack manipulation, no managing of user-data values, and no complex function registration. This library does all the work. This library requires no rights by itself; however, it will demand rights based on what the hosting environment allows.However, there were some changes (see Changes) that were made to make it work with .NET.

Features

  • Simple design.
  • Creation of types in Lua.
    • Derive from .NET Types.
    • Implement .NET Interfaces.
    • Implicit interface implementation.
    • Function overloading.
    • Public fiends/properties.
  • Auto registering functions and types.
    • No need to manage the Lua stack.
    • Accepts any method signature.
    • Return multiple values to Lua.
    • Access static and instance members of .NET types.
  • Dynamic binding.

Contents