mame/quine-relay · error · Grass::RuntimeError
app undefined
Error message
app undefined
What it means
Error "app undefined" thrown in mame/quine-relay.
Source
Thrown at vendor/grass.rb:56
require 'pp'
class Grass
RELEASE_DATE = '2007-10-02'
class Error < StandardError ; end
class RuntimeError < Error ; end
class IllegalState < Error ; end
Machine = Struct.new(:code, :env, :dump)
class Value
def char_code
raise RuntimeError, "not a char"
end
def app(m, arg)
raise RuntimeError, "app undefined"
end
end
class Insn
end
class App < Insn
def initialize(m, n)
@m, @n = m, n
end
def eval(m)
f, v = m.env[-@m], m.env[-@n]
raise "out of bound" unless f and v
f.app m, v
end
def pretty_print(q)View on GitHub (pinned to c2aa5098d3)
When it happens
Trigger: Thrown at vendor/grass.rb:56 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/2c2d370a24809cf8.
Report an issue: GitHub.