Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maisvendoo/lua_d_api
Lua API for D language
https://github.com/maisvendoo/lua_d_api
Last synced: 3 months ago
JSON representation
Lua API for D language
- Host: GitHub
- URL: https://github.com/maisvendoo/lua_d_api
- Owner: maisvendoo
- Created: 2015-01-16T21:28:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-05T20:02:37.000Z (almost 10 years ago)
- Last Synced: 2024-07-19T22:44:11.498Z (4 months ago)
- Language: D
- Homepage:
- Size: 176 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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/lua_d_api.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();/* Write here your code for work with Lua */
lua_close(L);
}You can use Lua API functions in your D program (same as in Lua C API)