<s> """<STR_LIT>""" <EOL> import sys <EOL> from pypy . lang . js . interpreter import * <EOL> from pypy . lang . js . jsobj import ExecutionReturned <EOL> interp = Interpreter ( ) <EOL> def entry_point ( argv ) : <EOL> if len ( argv ) == <NUM_LIT:2> : <EOL> t = load_file ( argv [ <NUM_LIT:1> ] ) <EOL> interp . run ( t ) <EOL> return <NUM_LIT:0> <EOL> elif argv [ <NUM_LIT:0> ] == '<STR_LIT:foo>' : <EOL> raise ExecutionReturned ( None ) <EOL> else : <EOL> print "<STR_LIT>" % argv [ <NUM_LIT:0> ] <EOL> return <NUM_LIT:1> <EOL> def target ( driver , args ) : <EOL> driver . exe_name = '<STR_LIT>' <EOL> return entry_point , None <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> entry_point ( sys . argv ) </s>
