1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package.path = [[.\lua_lib\?.lua;]] .. package.path
package.cpath = [[.\lua_lib\?.dll;]] .. package.cpath
local 字集码互转库 = require("u8_to_a")
local u8 = 字集码互转库.u8_to_a
local f = require(u8("常用库"))
local d_2 = {}
d_2.目对 = {
["文件目"] = [[../single/]]
, ["文件类"] = ".lua"
, ["令行前缀"] = [[stylua --indent-type Spaces --indent-width 2 --collapse-simple-statement Never ]]
}
for o1, o2 in pairs(d_2.目对) do
d_2.目对[o1] = f.操类(o2, "string", u8)
end
f.用令行工具操文件(d_2.目对)
|
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package.path = [[.\lua_lib\?.lua;]] .. package.path
package.cpath = [[.\lua_lib\?.dll;]] .. package.cpath
local 字集码互转库 = require("u8_to_a")
local u8 = 字集码互转库.u8_to_a
local f = require(u8("常用库"))
local d_2 = {}
d_2.目对 = {
["文件目"] = [[../single/]]
, ["文件类"] = ".lua"
, ["令行前缀"] = [[stylua --indent-type Spaces --indent-width 2 --collapse-simple-statement Never ]]
}
for u1, u2 in pairs(d_2.目对) do
d_2.目对[u1] = f.操类(u2, "string", u8)
end
f.用令行工具操文件(d_2.目对)
|