On Thursday, 21 February 2013 at 01:50:27 UTC, 1100110 wrote:
I was playing with LuaD (https://github.com/JakobOvrum/LuaD) and was disappointed to learn that the only way to call D functions from Lua is for the lua code to be 'inside' a D module. (string l = "lua goes here"; or similar)
I don't understand "inside a D module"
void someFun(string content) { ... }
lua["someFun"] = &someFun;
lua.doFile("SomeFileName.lua");
