Extract variable names from Lua file