Description

A dynamic binding to the Lua scripting language library.

Package Information

Version2.0.0-alpha.1 (2017-Feb-28)
Homepagehttps://github.com/DerelictOrg/DerelictLua
Repositoryhttps://github.com/DerelictOrg/DerelictLua
LicenseBoost
AuthorsRichard Cattermole, Jonathan Giroux, Kyle Hunter, Mike Parker
Registered byMike Parker
Dependencies

derelict-util

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

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.
    ...
}

Available versions

2.0.0-alpha.1 1.3.0 1.2.3 1.2.2 1.2.1 1.2.0 ~master ~5.3 ~5.2 ~2.0