/DerelictLua

Dynamic bindings to the Lua scripting language library.

Primary LanguageD

DerelictLua

A dynamic binding to version 5.3 of the Lua scripting language for the D Programming Language.

Please see the pages Building and Linking Derelict and Using Derelict, in the Derelict documentation, for information on how to build DerelictLua and load Lua at run time. In the meantime, here's some sample code.

import derelict.lua.lua;

void main()
{
    // Load the Lua library.
    DerelictLua.load();

    // Now Lua functions can be called.
    ...
}