Sha256: 8dce2855259fd605be18bf45c2c49f922e9ee8fe43a36d8b73eb15e112a92842
Contents?: true
Size: 523 Bytes
Versions: 115
Compression:
Stored size: 523 Bytes
Contents
(function(program, execJS) { execJS(program) })(function(module, exports, require) { #{source} }, function(program) { var output, print = function(string) { process.stdout.write('' + string); }; try { result = program(); if (typeof result == 'undefined' && result !== null) { print('["ok"]'); } else { try { print(JSON.stringify(['ok', result])); } catch (err) { print('["err"]'); } } } catch (err) { print(JSON.stringify(['err', '' + err])); } });
Version data entries
115 entries across 69 versions & 5 rubygems