B:BD[
4.371] → [
4.371:440]
B:BD[
4.440] → [
2.1151:1207]
∅:D[
2.1207] → [
4.440:465]
B:BD[
4.440] → [
4.440:465]
local subject, object = line:match('^%s*(%S+)%s+beat%s+(%S+)%s*$')
table.insert(Global_state.results, {subject, object})
if subject == nil then
local _ = -- turn rest of loop (a single giant expr) into a statement to satisfy the Lua parser
do_if_match(line, '^%s*(%S+)%s+beat%s+(%S+)%s*$', function(subject, object)
table.insert(Global_state.results, {subject, object})
if results[subject] == nil then
results[subject] = {}
end
results[subject][object] = 2
if results[object] == nil then
results[object] = {}
end
results[object][subject] = 0
end)
or