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