Skip to content

Instantly share code, notes, and snippets.

@rightfold
Created March 7, 2015 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rightfold/da77913fd8a4e5925b27 to your computer and use it in GitHub Desktop.
Save rightfold/da77913fd8a4e5925b27 to your computer and use it in GitHub Desktop.
goog.require("std");
goog.require("std.io");
goog.provide("main");
var __module = main;
__module.main = function(__p0, __continue) {
var __camefrom;
var __b20;
var __b19;
var __b7;
var __b6;
var __b18;
var __b1;
var __b5;
var __v33;
var __v34;
var __v26;
var __v27;
var __v28;
var __v29;
var __v30;
var __v31;
var __v32;
var __v35;
var __v36;
var __v37;
var __v38;
var __v17;
var __v21;
var __v22;
var __v23;
var __v24;
var __v25;
var __v2;
var __v3;
var __v4;
var __v8;
var __v9;
var __v10;
var __v11;
var __v12;
var __v13;
var __v14;
var __v15;
var __v16;
__b20 = function() {
__v33 = {
18: __v24,
19: __v31
}[__camefrom];
__camefrom = 20;
__b7();
};
__b19 = function() {
__v26 = std.unit;
__v27 = std.io;
__v28 = __v27.writeln;
__v29 = "Byebye, world!";
__v28(__v29, function(__c30) {
__v30 = __c30;
__v31 = "FALSE";
__camefrom = 19;
__b20();
});
};
__b7 = function() {
__v35 = {
5: __v15,
20: __v33
}[__camefrom];
__v4(__v35, function(__c36) {
__v36 = __c36;
__v37 = std.unit;
__continue(__v37);
});
};
__b6 = function() {
__v17 = std.unit;
__v21 = __p0;
__camefrom = 6;
(std.__forcebool(__v21) ? __b18 : __b19)();
};
__b18 = function() {
__v23 = std.unit;
throw "unreachable code reached";
__camefrom = 18;
__b20();
};
__b1 = function() {
__v2 = std.unit;
__v3 = std.io;
__v4 = __v3.writeln;
__v8 = __p0;
__camefrom = 1;
(std.__forcebool(__v8) ? __b5 : __b6)();
};
__b5 = function() {
__v10 = std.unit;
__v11 = std.io;
__v12 = __v11.writeln;
__v13 = "Hello, world!";
__v12(__v13, function(__c14) {
__v14 = __c14;
__v15 = "TRUE";
__camefrom = 5;
__b7();
});
};
__b1();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment