var op = {};
exports.op = op;

op.print = function(arg) {
  process.stdout.write(arg);
};
op.say = function(arg) {
  process.stdout.write(arg);
  process.stdout.write('\n');
};

exports.to_str = function(arg) {
  if (typeof arg == 'number') {
    return arg.toString();
  } else if (typeof arg == 'string') {
    return arg;
  } else {
    throw "Can't convert to string";
  }
};

// Placeholder
exports.top_context = function() {
    return null;
}

@@ -374,16 +374,69 @@
   %7D%0A%7D;%0A%0A
+exports.named = function(named) %7B%0A  return named;%0A%7D%0A%0A
 // Place
@@ -473,26 +473,24 @@
 unction() %7B%0A
-  
   return nul

Add missing nqp.named, fix indentation.