mirror of
https://github.com/emptyynes/LIVM.git
synced 2025-01-06 16:42:25 +03:00
11 lines
249 B
Lua
11 lines
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
|
||
|
}
|