Content deleted Content added
test: debug |
improve: code, remove: debug code |
||
Line 61:
local result = {}
for arg_k, arg_v in pairs(args) do
local arg_k_trim =
if
local key =
result[key] = as_key_content_function(
end
end
Line 79:
local content = ""
for line_number, line in ipairs(
if
-- finish result
for index, category in ipairs(context) do
Line 94:
-- change context
context = {}
for category in
table.insert(context, category)
end
Line 125:
as_key_content_function = function(text)
local function func(content)
end
return func
Line 136 ⟶ 134:
as_value_content_function = function(text)
local function func(category)
return
end
return func
Line 146 ⟶ 144:
local function func(left, right)
-- some improvements could be made here
return
end
return func
Line 153 ⟶ 151:
-- escapes replacement, replace '%' with '%%'
escape_replacement = function(text)
return
end
|