Description

Lua API for D language

Package Information

Version0.0.1 (2015-Jan-16)
Homepagehttps://github.com/maisvendoo/lua_d_api
Repositoryhttps://github.com/maisvendoo/lua_d_api
LicenseGPL-2.0
AuthorsDmitry Pritykin
Registered byDmitry Pritykin
Dependencies

lua

Installation

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

dub.json
dub.sdl

Readme

Lua API for D language

D language modules for access to Lua API functions

Usage

  1. Clone this project by git clone https://github.com/maisvendoo/luadapi.git
  2. Copy all *.d files in your project foldel
  3. Import required libraris in your code
  4. Link programm with key '-llua'

For example:

module	main;

import	lua;
import	lualib;
import	lauxlib;

void main()
{
	lua_State *L = lauL_newstate();

	 

	lua_close(L);
}


You can use Lua API functions in your D program (same as in Lua C API)

Available versions

0.0.1 ~master