Code - Lua Script Editor


Code - Lua Script Editor
Download on the AppStore Click here to request a review of this app

  • App Store Info

Description

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()

What's New in Version 1.2.2

This update contains with remove depricated api

Screenshots

Screenshot 1 of 3 Screenshot 2 of 3 Screenshot 3 of 3