A dynamic binding to the Lua scripting language library.


Keywords
library, binding, scripting
License
BSL-1.0
Install
dub fetch derelict-lua --version 2.0.0-beta.2

Documentation

DerelictLua

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

Please see the sections on Compiling and Linking and The Derelict Loader, 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.
    ...
}