mame/quine-relay · error · RuntimeError

Reached EOF

Error message

Reached EOF

What it means

Error "Reached EOF" thrown in mame/quine-relay.

Source

Thrown at vendor/whitespace.rb:82

  when :pop   then stack.pop
  when :add   then n = stack.pop; stack << stack.pop + n
  when :sub   then n = stack.pop; stack << stack.pop - n
  when :mul   then n = stack.pop; stack << stack.pop * n
  when :div   then n = stack.pop; stack << stack.pop / n
  when :mod   then n = stack.pop; stack << stack.pop % n
  when :set   then n = stack.pop; heap[stack.pop] = n
  when :get   then stack << heap[stack.pop]
  when :outc  then putc stack.pop
  when :readc then heap[stack.pop] = $stdin.getc.ord
  when :outn  then print stack.pop
  when :readn then heap[stack.pop] = read_int
  when :call  then call << pc; pc = labels[arg]
  when :jump  then pc = labels[arg]
  when :jz    then pc = labels[arg] if stack.pop == 0
  when :jn    then pc = labels[arg] if stack.pop <  0
  when :ret   then pc = call.pop
  when :end   then break
  when :eof   then raise("Reached EOF")
  end
end

View on GitHub (pinned to c2aa5098d3)

When it happens

Trigger: Thrown at vendor/whitespace.rb:82 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/cdab3daf248720dd. Report an issue: GitHub.