2010-10-04から1日間の記事一覧
現実逃避したかったので、tinyvm.cなるプログラム(http://pastebin.com/f22e2c91)をpythonに移植した。 class Ins(object): def __init__(self, op, *arg): self.op, self.arg = op, arg def __repr__(self): return "%s(%s)" % (self.op.__name__, ','.join…
現実逃避したかったので、tinyvm.cなるプログラム(http://pastebin.com/f22e2c91)をpythonに移植した。 class Ins(object): def __init__(self, op, *arg): self.op, self.arg = op, arg def __repr__(self): return "%s(%s)" % (self.op.__name__, ','.join…