mame/quine-relay · error · RuntimeError

Ook? Ook? Ook?

Error message

Ook? Ook? Ook?

What it means

Error "Ook? Ook? Ook?" thrown in mame/quine-relay.

Source

Thrown at vendor/ook-to-bf.rb:24

  ".." => "+",
  "!!" => "-",
  ".!" => ",",
  "!." => ".",
  "!?" => "[",
  "?!" => "]",
}

if $*.size != 2
  $stderr.puts "usage: #$0 in.ook out.bf"
  exit 1
end

c = ""
File.read($*[0]).scan(RE) do
  if $~[:c1]
    c << T[$~[:c1] + $~[:c2]]
  elsif $~[:error]
    raise "Ook? Ook? Ook?"
  end
end
File.write($*[1], c)

View on GitHub (pinned to c2aa5098d3)

When it happens

Trigger: Thrown at vendor/ook-to-bf.rb:24 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of mame/quine-relay@c2aa5098d3 (2026-08-21). Data as JSON: /api/errors/d6659a53b44d4540. Report an issue: GitHub.