/usr/bin/exec-apoo is in apoo 2.2-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/usr/bin/python
import sys
sys.path.append('/usr/lib/apoo')
from vpu import *
v = Vpu(32,{50000:("pass","print '%c'%(val%256),"),
50001:("val = raw_input()","print val,"),
50010:('print ','print ')})
if len(sys.argv) != 2:
print "execapoo apoo_program"
sys.exit(0)
a = ReadProgram(sys.argv[1])
v.load(a)
try: v.run()
except EndOfProgram:
pass
|