Overview
| Comment: | (/ω\) |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
6cde949a2c3ab2a09606047a858de202 |
| User & Date: | 顽雨沉风 on 2024-01-23 08:26:17.603 |
| Other Links: | manifest | tags |
Context
|
2024-01-23
| ||
| 08:32 | (/ω\) check-in: 54cfae3e62 user: 顽雨沉风 tags: trunk | |
| 08:26 | (/ω\) check-in: 6cde949a2c user: 顽雨沉风 tags: trunk | |
| 06:07 | (/ω\) check-in: c009936a2e user: 顽雨沉风 tags: trunk | |
Changes
Modified 残局文料/lib_lua/ipml_mj_ysaf.lua
from [1281cfc192]
to [7a4d07ae26].
|
| | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
local 字集码互转库 = require("u8_to_a")
local d_5 = {}
local 简件系库 = require("lfs")
function _G.require_u8(modname)
return require(字集码互转库.u8_to_a(modname))
end
do
local k1 = 0
function _G.递增示()
k1 = k1 + 1
print(k1)
end
end
--~ do
--~ local k1 = os.execute
--~ function _G.os.execute(command)
--~ return k1(字集码互转库.u2a(command))
--~ end
--~ end
function d_5.读件(o1, o2)
local k1
local k1_3
k1_3 = io.open(o1, o2 or "r")
k1 = k1_3:read("a")
|
| ︙ | ︙ | |||
48 49 50 51 52 53 54 |
end
d_5.写件(o1, k1, o2)
end
function d_5.删注释_lua_多行注释(o1)
return o1:gsub("%-%-%[%[.-%]%]", "")
end
function d_5.删注释_lua_单行注释(o1)
| | | 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
end
d_5.写件(o1, k1, o2)
end
function d_5.删注释_lua_多行注释(o1)
return o1:gsub("%-%-%[%[.-%]%]", "")
end
function d_5.删注释_lua_单行注释(o1)
return o1:gsub("%-%-[^\n]+", "")
end
function d_5.删注释_lua(o1)
o1 = d_5.删注释_lua_多行注释(o1)
return d_5.删注释_lua_单行注释(o1)
end
function d_5.筛排(o1_9, o1, o2, o3)
local k1_8
|
| ︙ | ︙ |
Modified 残局文料/产常量件.lua
from [fed24418a8]
to [5763319aa9].
1 2 3 |
package.path = [[.\lib_lua\?.lua;]] .. package.path
package.cpath = [[.\lib_dll\?.dll;]] .. package.cpath
_G.常用库 = require("ipml_mj_ysaf")
| | | > > > > > > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
package.path = [[.\lib_lua\?.lua;]] .. package.path
package.cpath = [[.\lib_dll\?.dll;]] .. package.cpath
_G.常用库 = require("ipml_mj_ysaf")
local 字集码互转库 = require("u8_to_a")
local d_2 = {}
function d_2.产常量件(o1)
local k1
k1 = 常用库.读件(o1 .. "/script/constant.lua", "rb")
k1 = 常用库.删注释_lua(k1)
--~ print(k1:gsub("\n", "\r\n"))
k1 = k1:gsub("\t", "")
print(k1)
--[==[
--[]
--~ 888
--]=]
end
function d_2.筛凡常量()
end
function d_2.筛字段量()
end
d_2.产常量件(字集码互转库.u8_to_a([[D:\install\YGOPro]]))
|
Modified 残局文料/齐月程语件.lua
from [c800f2931b]
to [1fe5b29b29].
1 2 3 |
package.path = [[.\lib_lua\?.lua;]] .. package.path
package.cpath = [[.\lib_dll\?.dll;]] .. package.cpath
_G.常用库 = require("ipml_mj_ysaf")
| | | | 1 2 3 4 5 6 7 8 9 10 11 12 |
package.path = [[.\lib_lua\?.lua;]] .. package.path
package.cpath = [[.\lib_dll\?.dll;]] .. package.cpath
_G.常用库 = require("ipml_mj_ysaf")
local 字集码互转库 = require("u8_to_a")
local d_2 = {}
function d_2.齐月程语件(o1)
local k1_9
k1_9 = 常用库.筛件径(o1, "%.lua$")
k1_9 = 常用库.筛排(k1_9, 常用库.加前缀与后缀, [[stylua "]], [["]])
常用库.筛排(k1_9, 常用库.办并说)
end
d_2.齐月程语件(字集码互转库.u8_to_a([[../single]]))
|