Code - Lua Script Editor icon

Code - Lua Script Editor

胜明 韩
$0.99
3.0 out of 5

About Code - Lua Script Editor

Code is Lua Editor for iOS. This app is very usefull to edit lua script, and run lua code immediately.

Feature
√ Support Lua code highlight
√ Support run lua code immediately
√ It is very usefull to run some code on mobile phone

Lua Config:
lua 5.4.4
luasocket 3.1.0
LuaSec 1.2.0
json-lua 0.1-4
Lua-cURLv3

Lua-cURLv3 example

local curl = require("cURL")
local json = require("JSON")

local PATH = PATH or ".."
local SSL_CERT_FILE = SSL_CERT_FILE or "/usr/local/share/cacert.pem"

-- HTTP Post
curl.easy()
:setopt_url('https://httpbin.org/post')
:setopt_writefunction(
function(str)
print(str)
local decode = json:decode(str )
print(decode)
end
)
:setopt_httppost(curl.form() -- Lua-cURL guarantee that form will be alive
:add_content("test_content", "some data", {
"MyHeader: SomeValue"
})
)
:setopt{
use_ssl = curl.USESSL_ALL,
cainfo = SSL_CERT_FILE,
}
:perform()
:close()

Code - Lua Script Editor Screenshots