GolfScript by Ilmari Karonen
:a;
:b;
"#{
def lookup(name)
eval('$_' + ($var_lookup[name] - 3).to_s).val
end
gpush Gint.new(lookup('a') + lookup('b'))
}";
I have no idea why I need the - 3
, but I do.
:a;
:b;
"#{
def lookup(name)
eval('$_' + ($var_lookup[name] - 3).to_s).val
end
gpush Gint.new(lookup('a') + lookup('b'))
}";
I have no idea why I need the - 3
, but I do.