luax | like programming language for studying compiler | Interpreter library
kandi X-RAY | luax Summary
kandi X-RAY | luax Summary
Luax is a easy-to-learn, concise and powerful programming language. (Chinese Page). Luax provides full documentation(from the language itself to internal design), making it a perfect project for beginner to learn how to make a interpreter. Luax is distributed in source code, which contains the bytecode generator, luax virtual machine, standard library, a standalone executable interpreter, and full documentation.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of luax
luax Key Features
luax Examples and Code Snippets
Community Discussions
Trending Discussions on luax
QUESTION
I'm trying to write an external Lua module.
I work on Windows 8.1 and I use gcc as compiler.
My requirement is to build/compile everything all by myself without using pre-compiled files available online.
First of all, I build C source code of Lua 5.2.4 as follow:
gcc -c *.c
ren lua.o lua.obj
ren luac.o luac.obj
ar rcs luaX.X.X.lib *.o
gcc -shared -o luaX.X.X.dll *.o
gcc lua.c luaX.X.X.lib -o luaX.X.X.exe
gcc luac.c luaX.X.X.lib -o luacX.X.X.exe
del *.o *.obj
where X.X.X
is the source code revision.
Once I created my .exe, I write the C code of my module (let's call it LuaMath):
...ANSWER
Answered 2017-May-15 at 14:09Do not link the Lua library with your DLL. That's what the error message is telling you.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install luax
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page