mame/quine-relay · error
Ante exception: #{message} on line #{@line} (pc:#{@pc})
Error message
Ante exception: #{message} on line #{@line} (pc:#{@pc}) What it means
Error "Ante exception: #{message} on line #{@line} (pc:#{@pc})" thrown in mame/quine-relay.
Source
Thrown at vendor/ante.rb:151
rank = instance_variable_get("@#{suit}") if rank == "A"
case suit
when "♦" then initial += rank
when "♥" then initial *= rank
when "♠" then initial -= rank
when "♣" then
if rank != 0
initial /= rank
else
exception("division by zero")
end
end
end
instance_variable_set("@#{target}", initial)
# dump_registers
end
def exception(message)
abort("Ante exception: #{message} on line #{@line} (pc:#{@pc})")
end
def dump_registers
instance_variables.each do |i|
puts " #{i}: " + instance_variable_get("#{i}").to_s if i.size == 2
end
end
end
if ARGV[0]
Ante.new.run(IO.read(ARGV[0], encoding: "UTF-8"))
else
puts "usage: ante filename.ante"
end
View on GitHub (pinned to c2aa5098d3)
When it happens
Trigger: Thrown at vendor/ante.rb:151 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/4cf4f526877a0420.
Report an issue: GitHub.