I want to pass a Lua script (code that a Lua interpreter can interpret) from C ++ and return the result.
I looked online, but could not find a single example that would help me. I can call the Lua function from C ++, but this requires creating a file with the Lua function.
source share