|
AustinThanksAlso , at any point of time in same machine I might have 1000s of programs running and each program might be loading Lua Libs etc, will there be any performance constraints..Can somebody guide me if Lua is right choice.I have above string, I want to feed this string to Lua (or equivalent of above string that Lua understands) and can Lua evaluate count value and return to C code.I do not want to have script.lua and execute (same I can do with shell etc) by dofile load.Can we use Lua to determine the value of above block and return the value to C code.My whole project is in C. Now I need to evaluate above block and get the value.The above syntax is what I have thought of, I can change syntax if requiredreturn countcount = count * 2int count = 5I have a bunch of code as belowWe have very simple requirement. Before we start using Lua , we need to check if it is the right script language for our requirement.Dear AllI am quite new to Lua environment.