LIVM/fraxinizator/freeform.lua

11 lines
249 B
Lua
Raw Normal View History

2022-04-15 18:22:30 +03:00
return {
source = function(source)
return source:gsub("\n", "")
end,
any_line = function(line)
return line:trim():gsub("%s+", " "):gsub("%s+=%s+", "=")
end,
line = function(line)
return line:gsub(",", " "):gsub("%s+", " "):split" "
end
}