LIVM/fraxinizator/freeform.lua
2022-04-16 01:22:30 +10:00

11 lines
No EOL
249 B
Lua

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
}