LUA strings in my C program...

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
SephZero
Posts: 5
Joined: Sat Apr 29, 2006 10:23 pm

LUA strings in my C program...

Post by SephZero »

Hi dudes..you're master..so i hope u can help me..

i have to do something like this..

i've written a program in C language..
now..if i press X i would to run the code of a .lua file that i have..how could i do it?
User avatar
dot_blank
Posts: 498
Joined: Wed Sep 28, 2005 8:47 am
Location: Brasil

Post by dot_blank »

more description is one thing you could do :P
10011011 00101010 11010111 10001001 10111010
Gary13579
Posts: 93
Joined: Mon Aug 15, 2005 7:43 am

Post by Gary13579 »

Grab the LuaPlayer source code, make sure you can compile that, add all of the libs into your Makefile, copy over the source folder and rename it to "lua" in your project, and just find the function that runs Lua programs. Edit that to load a file from the MS, and take the filename from a C source.
Should be semi-easy.
Post Reply