游戏王残局简化版

Annotation For 残局文料/用命令行工具排版lua文件.lua
Login

Annotation For 残局文料/用命令行工具排版lua文件.lua

Origin for each line in 残局文料/用命令行工具排版lua文件.lua from check-in 4727371128:

ebd6d74a8f 2024-01-31  顽雨沉风: package.path = [[.\lua_lib\?.lua;]] .. package.path
ebd6d74a8f 2024-01-31  顽雨沉风: package.cpath = [[.\lua_lib\?.dll;]] .. package.cpath
ebd6d74a8f 2024-01-31  顽雨沉风: local 字集码互转库 = require("u8_to_a")
4f76259610 2024-02-02  顽雨沉风: local u8 = 字集码互转库.u8_to_a
4f76259610 2024-02-02  顽雨沉风: local f = require(u8("常用库"))
ebd6d74a8f 2024-01-31  顽雨沉风: local k1 = 字集码互转库.u8_to_a("计算机_系统_窗口群_命令行_无窗口")
ebd6d74a8f 2024-01-31  顽雨沉风: local 令行库 = require(k1)
ebd6d74a8f 2024-01-31  顽雨沉风: local 简单文件系统库 = require("lfs")
ebd6d74a8f 2024-01-31  顽雨沉风: local k1 = 字集码互转库.u8_to_a("程序语言_月_基础类型_字串_逐一")
ebd6d74a8f 2024-01-31  顽雨沉风: local 历文库 = require(k1)
ebd6d74a8f 2024-01-31  顽雨沉风: local k1 = 字集码互转库.u8_to_a("程序语言_月_基础类型_序排_逐一")
ebd6d74a8f 2024-01-31  顽雨沉风: local 历排库 = require(k1)
ebd6d74a8f 2024-01-31  顽雨沉风: local k1 = 字集码互转库.u8_to_a("程序语言_月_基础类型_字串_前缀与后缀")
ebd6d74a8f 2024-01-31  顽雨沉风: local 前后缀库 = require(k1)
ebd6d74a8f 2024-01-31  顽雨沉风: local k1 = 字集码互转库.u8_to_a("程序语言_月_基础类型_字串_全筛")
ebd6d74a8f 2024-01-31  顽雨沉风: local 全筛文库 = require(k1)
ebd6d74a8f 2024-01-31  顽雨沉风: local d_2 = {}
1a5876d58d 2024-01-31  顽雨沉风: function d_2.用命令行工具排版lua文件(o1, o2)
ebd6d74a8f 2024-01-31  顽雨沉风:   local k1
ebd6d74a8f 2024-01-31  顽雨沉风:   local k1_9
ebd6d74a8f 2024-01-31  顽雨沉风:   k1_9 = 历文库.处理后返回新排(o1, 简单文件系统库.dir)
ebd6d74a8f 2024-01-31  顽雨沉风:   k1_9 = 历排库.处理后返回新排(k1_9, 前后缀库.加前缀, o1 .. "/")
ebd6d74a8f 2024-01-31  顽雨沉风:   k1 = ".lua"
ebd6d74a8f 2024-01-31  顽雨沉风:   k1_9 = 历排库.处理后返回新排(k1_9, 全筛文库.找字, k1, -#k1, true)
ebd6d74a8f 2024-01-31  顽雨沉风:   k1_9 = 历排库.处理后返回新排(k1_9, 前后缀库.加前缀, [["]])
ebd6d74a8f 2024-01-31  顽雨沉风:   k1_9 = 历排库.处理后返回新排(k1_9, 前后缀库.加后缀, [["]])
ebd6d74a8f 2024-01-31  顽雨沉风:   k1_9 = 历排库.处理后返回新排(k1_9, 前后缀库.加前缀, o2)
ebd6d74a8f 2024-01-31  顽雨沉风:   历排库.处理后返回新排(k1_9, 令行库.执行命令)
ebd6d74a8f 2024-01-31  顽雨沉风:   end
ebd6d74a8f 2024-01-31  顽雨沉风: local k1 = 字集码互转库.u8_to_a([[../single]])
ebd6d74a8f 2024-01-31  顽雨沉风: local k2 = 字集码互转库.u8_to_a([[stylua --indent-type Spaces  --indent-width 2 --collapse-simple-statement Never ]])
ebd6d74a8f 2024-01-31  顽雨沉风: --~ 若不传命令行参数,则后果未必如愿。例如,我想用空格做缩进符,它却用制表符。
1a5876d58d 2024-01-31  顽雨沉风: d_2.用命令行工具排版lua文件(k1, k2)
e934cb8977 2024-02-03  顽雨沉风: d_2.目表 = {
2fe4cafc95 2024-02-03  顽雨沉风:   ["文件目"] = [[../single]]
9114eea757 2024-02-03  顽雨沉风:   ["文件类"] = ".lua"
9114eea757 2024-02-03  顽雨沉风:   ["令行前缀"] = [[stylua --indent-type Spaces  --indent-width 2 --collapse-simple-statement Never ]]
478a27fedc 2024-02-02  顽雨沉风:   }
640a509a90 2024-02-03  顽雨沉风: for _, o1 in pairs(d_2.目表) do
4727371128 2024-02-03  顽雨沉风:   d_2.目表[_] = f.操类(o1, "string", u8)
640a509a90 2024-02-03  顽雨沉风:   end