Files
cell/boot/bootstrap.cm.mcode

1827 lines
53 KiB
Plaintext

{
"name": ".cell/packages/core/internal/bootstrap.cm",
"functions": [
{
"disruption_pc": 0,
"nr_slots": 7,
"nr_close_slots": 0,
"instructions": [
["access", 2, "js_core_", 6, 24],
"_nop_tc_1",
"_nop_tc_2",
["is_text", 3, 1, 6, 37],
["jump_false", 3, "add_cn_1", 6, 37],
["concat", 4, 2, 1, 6, 37],
["jump", "add_done_0", 6, 37],
"add_cn_1",
"_nop_tc_3",
["jump", "add_err_2", 6, 37],
["is_num", 3, 1, 6, 37],
["jump_false", 3, "add_err_2", 6, 37],
["add", 4, 2, 1, 6, 37],
["jump", "add_done_0", 6, 37],
"add_err_2",
[
"access",
2,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
6,
37
],
["access", 3, "error", 6, 37],
["access", 5, "cannot apply '+': operands must both be text or both be numbers", 6, 37],
["array", 6, 0, 6, 37],
["push", 6, 5, 6, 37],
["frame", 5, 2, 2, 6, 37],
["null", 2, 6, 37],
["setarg", 5, 0, 2, 6, 37],
["setarg", 5, 1, 3, 6, 37],
["setarg", 5, 2, 6, 6, 37],
["invoke", 5, 2, 6, 37],
["disrupt", 6, 37],
"add_done_0",
["access", 2, "_use", 6, 44],
["is_text", 3, 4, 6, 44],
["jump_false", 3, "add_cn_4", 6, 44],
"_nop_tc_4",
"_nop_tc_5",
["concat", 5, 4, 2, 6, 44],
["jump", "add_done_3", 6, 44],
"add_cn_4",
["is_num", 3, 4, 6, 44],
["jump_false", 3, "add_err_5", 6, 44],
"_nop_tc_6",
["jump", "add_err_5", 6, 44],
["add", 5, 4, 2, 6, 44],
["jump", "add_done_3", 6, 44],
"add_err_5",
[
"access",
2,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
6,
44
],
["access", 3, "error", 6, 44],
["access", 4, "cannot apply '+': operands must both be text or both be numbers", 6, 44],
["array", 6, 0, 6, 44],
["push", 6, 4, 6, 44],
["frame", 4, 2, 2, 6, 44],
["null", 2, 6, 44],
["setarg", 4, 0, 2, 6, 44],
["setarg", 4, 1, 3, 6, 44],
["setarg", 4, 2, 6, 6, 44],
["invoke", 4, 2, 6, 44],
["disrupt", 6, 44],
"add_done_3",
["get", 2, 1, 1, 6, 10],
["frame", 3, 2, 1, 6, 10],
["null", 2, 6, 10],
["setarg", 3, 0, 2, 6, 10],
["setarg", 3, 1, 5, 6, 10],
["tail_invoke", 3, 2, 6, 10],
["return", 2, 6, 10],
"_nop_ur_1",
"_nop_ur_2"
],
"name": "use_embed",
"filename": ".cell/packages/core/internal/bootstrap.cm",
"nr_args": 1
},
{
"disruption_pc": 0,
"nr_slots": 8,
"nr_close_slots": 0,
"instructions": [
["move", 2, 1, 14, 14],
[
"access",
3,
{
"name": "is_blob",
"kind": "name",
"make": "intrinsic"
},
15,
8
],
["frame", 4, 3, 1, 15, 8],
["null", 3, 15, 8],
["setarg", 4, 0, 3, 15, 8],
["setarg", 4, 1, 2, 15, 8],
["invoke", 4, 3, 15, 8],
"_nop_bl_1",
["jump_true", 3, "if_else_6", 15, 8],
[
"access",
3,
{
"name": "text",
"kind": "name",
"make": "intrinsic"
},
15,
41
],
["frame", 4, 3, 1, 15, 41],
["null", 3, 15, 41],
["setarg", 4, 0, 3, 15, 41],
["setarg", 4, 1, 2, 15, 41],
["invoke", 4, 3, 15, 41],
[
"access",
4,
{
"name": "blob",
"kind": "name",
"make": "intrinsic"
},
15,
36
],
["frame", 5, 4, 1, 15, 36],
["null", 4, 15, 36],
["setarg", 5, 0, 4, 15, 36],
["setarg", 5, 1, 3, 15, 36],
["invoke", 5, 3, 15, 36],
[
"access",
4,
{
"name": "stone",
"kind": "name",
"make": "intrinsic"
},
15,
30
],
["frame", 5, 4, 1, 15, 30],
["null", 4, 15, 30],
["setarg", 5, 0, 4, 15, 30],
["setarg", 5, 1, 3, 15, 30],
["invoke", 5, 3, 15, 30],
["move", 2, 3, 15, 30],
["jump", "if_end_7", 15, 30],
"if_else_6",
"if_end_7",
["get", 3, 12, 1, 16, 15],
["is_proxy", 4, 3, 16, 15],
["jump_false", 4, "record_path_8", 16, 15],
["null", 4, 16, 15],
["access", 5, "blake2", 16, 15],
["array", 6, 0, 16, 15],
["push", 6, 2, 16, 15],
["frame", 7, 3, 2, 16, 15],
["setarg", 7, 0, 4, 16, 15],
["setarg", 7, 1, 5, 16, 15],
["setarg", 7, 2, 6, 16, 15],
["invoke", 7, 4, 16, 15],
["jump", "call_done_9", 16, 15],
"record_path_8",
["load_field", 5, 3, "blake2", 16, 15],
["frame", 6, 5, 1, 16, 15],
["setarg", 6, 0, 3, 16, 15],
["setarg", 6, 1, 2, 16, 15],
["invoke", 6, 4, 16, 15],
"call_done_9",
["access", 2, "h", 16, 36],
[
"access",
3,
{
"name": "text",
"kind": "name",
"make": "intrinsic"
},
16,
10
],
["frame", 5, 3, 2, 16, 10],
["null", 3, 16, 10],
["setarg", 5, 0, 3, 16, 10],
["setarg", 5, 1, 4, 16, 10],
["setarg", 5, 2, 2, 16, 10],
["tail_invoke", 5, 2, 16, 10],
["return", 2, 16, 10],
"_nop_ur_1",
"_nop_ur_2"
],
"name": "content_hash",
"filename": ".cell/packages/core/internal/bootstrap.cm",
"nr_args": 1
},
{
"disruption_pc": 0,
"nr_slots": 7,
"nr_close_slots": 0,
"instructions": [
[
"access",
2,
{
"name": "shop_path",
"kind": "name",
"make": "intrinsic"
},
20,
8
],
"_nop_bl_1",
["jump_true", 2, "if_else_10", 20, 8],
["null", 2, 20, 26],
["return", 2, 20, 26],
"_nop_ur_1",
"if_else_10",
"if_end_11",
[
"access",
2,
{
"name": "shop_path",
"kind": "name",
"make": "intrinsic"
},
21,
10
],
["access", 3, "/build/", 21, 22],
["is_text", 4, 2, 21, 22],
["jump_false", 4, "add_cn_13", 21, 22],
"_nop_tc_1",
"_nop_tc_2",
["concat", 5, 2, 3, 21, 22],
["jump", "add_done_12", 21, 22],
"add_cn_13",
["is_num", 4, 2, 21, 22],
["jump_false", 4, "add_err_14", 21, 22],
"_nop_tc_3",
["jump", "add_err_14", 21, 22],
["add", 5, 2, 3, 21, 22],
["jump", "add_done_12", 21, 22],
"add_err_14",
[
"access",
2,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
21,
22
],
["access", 3, "error", 21, 22],
["access", 4, "cannot apply '+': operands must both be text or both be numbers", 21, 22],
["array", 6, 0, 21, 22],
["push", 6, 4, 21, 22],
["frame", 4, 2, 2, 21, 22],
["null", 2, 21, 22],
["setarg", 4, 0, 2, 21, 22],
["setarg", 4, 1, 3, 21, 22],
["setarg", 4, 2, 6, 21, 22],
["invoke", 4, 2, 21, 22],
["disrupt", 21, 22],
"add_done_12",
["is_text", 2, 5, 21, 34],
["jump_false", 2, "add_cn_16", 21, 34],
["is_text", 3, 1, 21, 34],
["jump_false", 3, "add_cn_16", 21, 34],
["concat", 4, 5, 1, 21, 34],
["jump", "add_done_15", 21, 34],
"add_cn_16",
["is_num", 2, 5, 21, 34],
["jump_false", 2, "add_err_17", 21, 34],
["is_num", 3, 1, 21, 34],
["jump_false", 3, "add_err_17", 21, 34],
["add", 4, 5, 1, 21, 34],
["jump", "add_done_15", 21, 34],
"add_err_17",
[
"access",
2,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
21,
34
],
["access", 3, "error", 21, 34],
["access", 5, "cannot apply '+': operands must both be text or both be numbers", 21, 34],
["array", 6, 0, 21, 34],
["push", 6, 5, 21, 34],
["frame", 5, 2, 2, 21, 34],
["null", 2, 21, 34],
["setarg", 5, 0, 2, 21, 34],
["setarg", 5, 1, 3, 21, 34],
["setarg", 5, 2, 6, 21, 34],
["invoke", 5, 2, 21, 34],
["disrupt", 21, 34],
"add_done_15",
["return", 4, 21, 34],
"_nop_ur_2",
"_nop_ur_3"
],
"name": "cache_path",
"filename": ".cell/packages/core/internal/bootstrap.cm",
"nr_args": 1
},
{
"disruption_pc": 0,
"nr_slots": 7,
"nr_close_slots": 0,
"instructions": [
[
"access",
1,
{
"name": "shop_path",
"kind": "name",
"make": "intrinsic"
},
25,
8
],
"_nop_bl_1",
["jump_true", 1, "if_else_18", 25, 8],
["null", 1, 25, 26],
["return", 1, 25, 26],
"_nop_ur_1",
"if_else_18",
"if_end_19",
[
"access",
1,
{
"name": "shop_path",
"kind": "name",
"make": "intrinsic"
},
26,
13
],
["access", 2, "/build", 26, 25],
["is_text", 3, 1, 26, 25],
["jump_false", 3, "add_cn_21", 26, 25],
"_nop_tc_1",
"_nop_tc_2",
["concat", 4, 1, 2, 26, 25],
["jump", "add_done_20", 26, 25],
"add_cn_21",
["is_num", 3, 1, 26, 25],
["jump_false", 3, "add_err_22", 26, 25],
"_nop_tc_3",
["jump", "add_err_22", 26, 25],
["add", 4, 1, 2, 26, 25],
["jump", "add_done_20", 26, 25],
"add_err_22",
[
"access",
1,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
26,
25
],
["access", 2, "error", 26, 25],
["access", 3, "cannot apply '+': operands must both be text or both be numbers", 26, 25],
["array", 5, 0, 26, 25],
["push", 5, 3, 26, 25],
["frame", 3, 1, 2, 26, 25],
["null", 1, 26, 25],
["setarg", 3, 0, 1, 26, 25],
["setarg", 3, 1, 2, 26, 25],
["setarg", 3, 2, 5, 26, 25],
["invoke", 3, 1, 26, 25],
["disrupt", 26, 25],
"add_done_20",
["move", 1, 4, 26, 25],
["get", 2, 10, 1, 27, 8],
["is_proxy", 3, 2, 27, 8],
["jump_false", 3, "record_path_25", 27, 8],
["null", 3, 27, 8],
["access", 4, "is_dir", 27, 8],
["array", 5, 0, 27, 8],
["push", 5, 1, 27, 8],
["frame", 6, 2, 2, 27, 8],
["setarg", 6, 0, 3, 27, 8],
["setarg", 6, 1, 4, 27, 8],
["setarg", 6, 2, 5, 27, 8],
["invoke", 6, 3, 27, 8],
["jump", "call_done_26", 27, 8],
"record_path_25",
["load_field", 4, 2, "is_dir", 27, 8],
["frame", 5, 4, 1, 27, 8],
["setarg", 5, 0, 2, 27, 8],
["setarg", 5, 1, 1, 27, 8],
["invoke", 5, 3, 27, 8],
"call_done_26",
"_nop_bl_2",
["jump_true", 3, "if_else_23", 27, 8],
["get", 2, 10, 1, 27, 24],
["is_proxy", 3, 2, 27, 24],
["jump_false", 3, "record_path_27", 27, 24],
["null", 3, 27, 24],
["access", 4, "mkdir", 27, 24],
["array", 5, 0, 27, 24],
["push", 5, 1, 27, 24],
["frame", 6, 2, 2, 27, 24],
["setarg", 6, 0, 3, 27, 24],
["setarg", 6, 1, 4, 27, 24],
["setarg", 6, 2, 5, 27, 24],
["invoke", 6, 3, 27, 24],
["jump", "call_done_28", 27, 24],
"record_path_27",
["load_field", 4, 2, "mkdir", 27, 24],
["frame", 5, 4, 1, 27, 24],
["setarg", 5, 0, 2, 27, 24],
["setarg", 5, 1, 1, 27, 24],
["invoke", 5, 3, 27, 24],
"call_done_28",
["jump", "if_end_24", 27, 24],
"if_else_23",
"if_end_24",
["return", 1, 28, 10],
"_nop_ur_2",
"_nop_ur_3"
],
"name": "ensure_build_dir",
"filename": ".cell/packages/core/internal/bootstrap.cm",
"nr_args": 0
},
{
"disruption_pc": 0,
"nr_slots": 11,
"nr_close_slots": 0,
"instructions": [
[
"access",
2,
{
"name": "core_path",
"kind": "name",
"make": "intrinsic"
},
33,
20
],
["access", 3, "/boot/", 33, 32],
["is_text", 4, 2, 33, 32],
["jump_false", 4, "add_cn_30", 33, 32],
"_nop_tc_1",
"_nop_tc_2",
["concat", 5, 2, 3, 33, 32],
["jump", "add_done_29", 33, 32],
"add_cn_30",
["is_num", 4, 2, 33, 32],
["jump_false", 4, "add_err_31", 33, 32],
"_nop_tc_3",
["jump", "add_err_31", 33, 32],
["add", 5, 2, 3, 33, 32],
["jump", "add_done_29", 33, 32],
"add_err_31",
[
"access",
2,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
33,
32
],
["access", 3, "error", 33, 32],
["access", 4, "cannot apply '+': operands must both be text or both be numbers", 33, 32],
["array", 6, 0, 33, 32],
["push", 6, 4, 33, 32],
["frame", 4, 2, 2, 33, 32],
["null", 2, 33, 32],
["setarg", 4, 0, 2, 33, 32],
["setarg", 4, 1, 3, 33, 32],
["setarg", 4, 2, 6, 33, 32],
["invoke", 4, 2, 33, 32],
["disrupt", 33, 32],
"add_done_29",
["is_text", 2, 5, 33, 43],
["jump_false", 2, "add_cn_33", 33, 43],
["is_text", 3, 1, 33, 43],
["jump_false", 3, "add_cn_33", 33, 43],
["concat", 4, 5, 1, 33, 43],
["jump", "add_done_32", 33, 43],
"add_cn_33",
["is_num", 2, 5, 33, 43],
["jump_false", 2, "add_err_34", 33, 43],
["is_num", 3, 1, 33, 43],
["jump_false", 3, "add_err_34", 33, 43],
["add", 4, 5, 1, 33, 43],
["jump", "add_done_32", 33, 43],
"add_err_34",
[
"access",
2,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
33,
43
],
["access", 3, "error", 33, 43],
["access", 5, "cannot apply '+': operands must both be text or both be numbers", 33, 43],
["array", 6, 0, 33, 43],
["push", 6, 5, 33, 43],
["frame", 5, 2, 2, 33, 43],
["null", 2, 33, 43],
["setarg", 5, 0, 2, 33, 43],
["setarg", 5, 1, 3, 33, 43],
["setarg", 5, 2, 6, 33, 43],
["invoke", 5, 2, 33, 43],
["disrupt", 33, 43],
"add_done_32",
["access", 2, ".cm.mcode", 33, 50],
["is_text", 3, 4, 33, 50],
["jump_false", 3, "add_cn_36", 33, 50],
"_nop_tc_4",
"_nop_tc_5",
["concat", 5, 4, 2, 33, 50],
["jump", "add_done_35", 33, 50],
"add_cn_36",
["is_num", 3, 4, 33, 50],
["jump_false", 3, "add_err_37", 33, 50],
"_nop_tc_6",
["jump", "add_err_37", 33, 50],
["add", 5, 4, 2, 33, 50],
["jump", "add_done_35", 33, 50],
"add_err_37",
[
"access",
2,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
33,
50
],
["access", 3, "error", 33, 50],
["access", 4, "cannot apply '+': operands must both be text or both be numbers", 33, 50],
["array", 6, 0, 33, 50],
["push", 6, 4, 33, 50],
["frame", 4, 2, 2, 33, 50],
["null", 2, 33, 50],
["setarg", 4, 0, 2, 33, 50],
["setarg", 4, 1, 3, 33, 50],
["setarg", 4, 2, 6, 33, 50],
["invoke", 4, 2, 33, 50],
["disrupt", 33, 50],
"add_done_35",
["move", 2, 5, 33, 50],
["null", 3, 34, 20],
["null", 4, 35, 19],
["get", 5, 10, 1, 36, 8],
["is_proxy", 6, 5, 36, 8],
["jump_false", 6, "record_path_40", 36, 8],
["null", 6, 36, 8],
["access", 7, "is_file", 36, 8],
["array", 8, 0, 36, 8],
["push", 8, 2, 36, 8],
["frame", 9, 5, 2, 36, 8],
["setarg", 9, 0, 6, 36, 8],
["setarg", 9, 1, 7, 36, 8],
["setarg", 9, 2, 8, 36, 8],
["invoke", 9, 6, 36, 8],
["jump", "call_done_41", 36, 8],
"record_path_40",
["load_field", 7, 5, "is_file", 36, 8],
["frame", 8, 7, 1, 36, 8],
["setarg", 8, 0, 5, 36, 8],
["setarg", 8, 1, 2, 36, 8],
["invoke", 8, 6, 36, 8],
"call_done_41",
"_nop_bl_1",
["jump_true", 6, "if_else_38", 36, 8],
["access", 5, "error: missing seed: ", 37, 14],
"_nop_tc_7",
"_nop_tc_8",
["is_text", 6, 1, 37, 40],
["jump_false", 6, "add_cn_43", 37, 40],
["concat", 7, 5, 1, 37, 40],
["jump", "add_done_42", 37, 40],
"add_cn_43",
"_nop_tc_9",
["jump", "add_err_44", 37, 40],
["is_num", 6, 1, 37, 40],
["jump_false", 6, "add_err_44", 37, 40],
["add", 7, 5, 1, 37, 40],
["jump", "add_done_42", 37, 40],
"add_err_44",
[
"access",
5,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
37,
40
],
["access", 6, "error", 37, 40],
["access", 8, "cannot apply '+': operands must both be text or both be numbers", 37, 40],
["array", 9, 0, 37, 40],
["push", 9, 8, 37, 40],
["frame", 8, 5, 2, 37, 40],
["null", 5, 37, 40],
["setarg", 8, 0, 5, 37, 40],
["setarg", 8, 1, 6, 37, 40],
["setarg", 8, 2, 9, 37, 40],
["invoke", 8, 5, 37, 40],
["disrupt", 37, 40],
"add_done_42",
["access", 5, "\n", 37, 47],
["is_text", 6, 7, 37, 47],
["jump_false", 6, "add_cn_46", 37, 47],
"_nop_tc_10",
"_nop_tc_11",
["concat", 8, 7, 5, 37, 47],
["jump", "add_done_45", 37, 47],
"add_cn_46",
["is_num", 6, 7, 37, 47],
["jump_false", 6, "add_err_47", 37, 47],
"_nop_tc_12",
["jump", "add_err_47", 37, 47],
["add", 8, 7, 5, 37, 47],
["jump", "add_done_45", 37, 47],
"add_err_47",
[
"access",
5,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
37,
47
],
["access", 6, "error", 37, 47],
["access", 7, "cannot apply '+': operands must both be text or both be numbers", 37, 47],
["array", 9, 0, 37, 47],
["push", 9, 7, 37, 47],
["frame", 7, 5, 2, 37, 47],
["null", 5, 37, 47],
["setarg", 7, 0, 5, 37, 47],
["setarg", 7, 1, 6, 37, 47],
["setarg", 7, 2, 9, 37, 47],
["invoke", 7, 5, 37, 47],
["disrupt", 37, 47],
"add_done_45",
[
"access",
5,
{
"name": "os",
"kind": "name",
"make": "intrinsic"
},
37,
5
],
["is_proxy", 6, 5, 37, 5],
["jump_false", 6, "record_path_48", 37, 5],
["null", 6, 37, 5],
["access", 7, "print", 37, 5],
["array", 9, 0, 37, 5],
["push", 9, 8, 37, 5],
["frame", 10, 5, 2, 37, 5],
["setarg", 10, 0, 6, 37, 5],
["setarg", 10, 1, 7, 37, 5],
["setarg", 10, 2, 9, 37, 5],
["invoke", 10, 6, 37, 5],
["jump", "call_done_49", 37, 5],
"record_path_48",
["load_field", 7, 5, "print", 37, 5],
["frame", 9, 7, 1, 37, 5],
["setarg", 9, 0, 5, 37, 5],
["setarg", 9, 1, 8, 37, 5],
["invoke", 9, 6, 37, 5],
"call_done_49",
["disrupt", 38, 5],
["jump", "if_end_39", 38, 5],
"if_else_38",
"if_end_39",
["get", 5, 10, 1, 40, 16],
["is_proxy", 6, 5, 40, 16],
["jump_false", 6, "record_path_50", 40, 16],
["null", 6, 40, 16],
["access", 7, "slurp", 40, 16],
["array", 8, 0, 40, 16],
["push", 8, 2, 40, 16],
["frame", 9, 5, 2, 40, 16],
["setarg", 9, 0, 6, 40, 16],
["setarg", 9, 1, 7, 40, 16],
["setarg", 9, 2, 8, 40, 16],
["invoke", 9, 6, 40, 16],
["jump", "call_done_51", 40, 16],
"record_path_50",
["load_field", 7, 5, "slurp", 40, 16],
["frame", 8, 7, 1, 40, 16],
["setarg", 8, 0, 5, 40, 16],
["setarg", 8, 1, 2, 40, 16],
["invoke", 8, 6, 40, 16],
"call_done_51",
["move", 3, 6, 40, 16],
[
"access",
2,
{
"name": "text",
"kind": "name",
"make": "intrinsic"
},
41,
44
],
["frame", 5, 2, 1, 41, 44],
["null", 2, 41, 44],
["setarg", 5, 0, 2, 41, 44],
["setarg", 5, 1, 3, 41, 44],
["invoke", 5, 2, 41, 44],
[
"access",
3,
{
"name": "mach_compile_mcode_bin",
"kind": "name",
"make": "intrinsic"
},
41,
15
],
["frame", 5, 3, 2, 41, 15],
["null", 3, 41, 15],
["setarg", 5, 0, 3, 41, 15],
["setarg", 5, 1, 1, 41, 15],
["setarg", 5, 2, 2, 41, 15],
["invoke", 5, 2, 41, 15],
["move", 4, 2, 41, 15],
["record", 2, 1],
["get", 3, 2, 1, 42, 43],
["store_field", 2, 3, "use", 42, 43],
[
"access",
3,
{
"name": "stone",
"kind": "name",
"make": "intrinsic"
},
42,
31
],
["frame", 5, 3, 1, 42, 31],
["null", 3, 42, 31],
["setarg", 5, 0, 3, 42, 31],
["setarg", 5, 1, 2, 42, 31],
["invoke", 5, 2, 42, 31],
[
"access",
3,
{
"name": "mach_load",
"kind": "name",
"make": "intrinsic"
},
42,
10
],
["frame", 5, 3, 2, 42, 10],
["null", 3, 42, 10],
["setarg", 5, 0, 3, 42, 10],
["setarg", 5, 1, 4, 42, 10],
["setarg", 5, 2, 2, 42, 10],
["tail_invoke", 5, 2, 42, 10],
["return", 2, 42, 10],
"_nop_ur_1",
"_nop_ur_2"
],
"name": "boot_load",
"filename": ".cell/packages/core/internal/bootstrap.cm",
"nr_args": 1
},
{
"disruption_pc": 0,
"nr_slots": 13,
"nr_close_slots": 0,
"instructions": [
["get", 3, 13, 1, 52, 20],
["frame", 4, 3, 2, 52, 20],
["null", 3, 52, 20],
["setarg", 4, 0, 3, 52, 20],
["setarg", 4, 1, 1, 52, 20],
["setarg", 4, 2, 2, 52, 20],
["invoke", 4, 3, 52, 20],
["move", 4, 3, 52, 20],
["load_field", 3, 4, "tokens", 53, 23],
["get", 4, 13, 1, 53, 57],
["get", 5, 14, 1, 53, 13],
["frame", 6, 5, 4, 53, 13],
["null", 5, 53, 13],
["setarg", 6, 0, 5, 53, 13],
["setarg", 6, 1, 3, 53, 13],
["setarg", 6, 2, 1, 53, 13],
["setarg", 6, 3, 2, 53, 13],
["setarg", 6, 4, 4, 53, 13],
["invoke", 6, 3, 53, 13],
["move", 4, 3, 53, 13],
["access", 3, 0, 54, 12],
["null", 5, 55, 11],
["null", 6, 56, 13],
["load_field", 7, 4, "errors", 57, 20],
["null", 8, 57, 34],
["is_identical", 9, 7, 8, 57, 34],
["jump_true", 9, "ne_nid_54", 57, 34],
["jump", "ne_ni_55", 57, 34],
"ne_nid_54",
["false", 9, 57, 34],
["jump", "ne_done_53", 57, 34],
"ne_ni_55",
["is_int", 10, 7, 57, 34],
["jump_false", 10, "ne_nn_56", 57, 34],
"_nop_tc_1",
["jump", "ne_nn_56", 57, 34],
["ne_int", 9, 7, 8, 57, 34],
["jump", "ne_done_53", 57, 34],
"ne_nn_56",
["is_num", 10, 7, 57, 34],
["jump_false", 10, "ne_nt_57", 57, 34],
"_nop_tc_2",
["jump", "ne_nt_57", 57, 34],
["ne_float", 9, 7, 8, 57, 34],
["jump", "ne_done_53", 57, 34],
"ne_nt_57",
["is_text", 10, 7, 57, 34],
["jump_false", 10, "ne_nnl_58", 57, 34],
"_nop_tc_3",
["jump", "ne_nnl_58", 57, 34],
["ne_text", 9, 7, 8, 57, 34],
["jump", "ne_done_53", 57, 34],
"ne_nnl_58",
["is_null", 10, 7, 57, 34],
["jump_false", 10, "ne_nb_59", 57, 34],
"_nop_tc_4",
"_nop_tc_5",
["false", 9, 57, 34],
["jump", "ne_done_53", 57, 34],
"ne_nb_59",
["is_bool", 10, 7, 57, 34],
["jump_false", 10, "ne_mis_60", 57, 34],
"_nop_tc_6",
["jump", "ne_mis_60", 57, 34],
["ne_bool", 9, 7, 8, 57, 34],
["jump", "ne_done_53", 57, 34],
"ne_mis_60",
["true", 9, 57, 34],
"ne_done_53",
["move", 7, 9, 57, 34],
["jump_false", 7, "and_end_52", 57, 34],
["load_field", 8, 4, "errors", 57, 49],
["length", 9, 8, 57, 49],
["access", 8, 0, 57, 63],
"_nop_tc_7",
"_nop_tc_8",
"_nop_tc_9",
"_nop_tc_10",
["gt_int", 10, 9, 8, 57, 63],
["jump", "rel_done_63", 57, 63],
"rel_ni_61",
"_nop_tc_11",
"_nop_tc_12",
"_nop_tc_13",
"_nop_tc_14",
["gt_float", 10, 9, 8, 57, 63],
["jump", "rel_done_63", 57, 63],
"rel_nn_62",
"_nop_tc_15",
["jump", "rel_err_64", 57, 63],
"_nop_tc_16",
["jump", "rel_err_64", 57, 63],
["gt_text", 10, 9, 8, 57, 63],
["jump", "rel_done_63", 57, 63],
"rel_err_64",
[
"access",
8,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
57,
63
],
["access", 9, "error", 57, 63],
["access", 11, "cannot compare with '>': operands must be same type", 57, 63],
["array", 12, 0, 57, 63],
["push", 12, 11, 57, 63],
["frame", 11, 8, 2, 57, 63],
["null", 8, 57, 63],
["setarg", 11, 0, 8, 57, 63],
["setarg", 11, 1, 9, 57, 63],
["setarg", 11, 2, 12, 57, 63],
["invoke", 11, 8, 57, 63],
["disrupt", 57, 63],
"rel_done_63",
["move", 7, 10, 57, 63],
"and_end_52",
["move", 8, 7, 57, 63],
["jump_false", 8, "if_else_65", 58, 7],
"while_start_67",
["load_field", 7, 4, "errors", 59, 24],
["length", 8, 7, 59, 24],
["is_int", 7, 3, 59, 24],
["jump_false", 7, "rel_ni_69", 59, 24],
"_nop_tc_17",
"_nop_tc_18",
["lt_int", 7, 3, 8, 59, 24],
["jump", "rel_done_71", 59, 24],
"rel_ni_69",
"_nop_tc_19",
"_nop_tc_20",
"_nop_tc_21",
"_nop_tc_22",
["lt_float", 7, 3, 8, 59, 24],
["jump", "rel_done_71", 59, 24],
"rel_nn_70",
"_nop_tc_23",
["jump", "rel_err_72", 59, 24],
"_nop_tc_24",
["jump", "rel_err_72", 59, 24],
["lt_text", 7, 3, 8, 59, 24],
["jump", "rel_done_71", 59, 24],
"rel_err_72",
[
"access",
8,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
59,
24
],
["access", 9, "error", 59, 24],
["access", 10, "cannot compare with '<': operands must be same type", 59, 24],
["array", 11, 0, 59, 24],
["push", 11, 10, 59, 24],
["frame", 10, 8, 2, 59, 24],
["null", 8, 59, 24],
["setarg", 10, 0, 8, 59, 24],
["setarg", 10, 1, 9, 59, 24],
["setarg", 10, 2, 11, 59, 24],
["invoke", 10, 8, 59, 24],
["disrupt", 59, 24],
"rel_done_71",
["jump_false", 7, "while_end_68", 59, 24],
["load_field", 7, 4, "errors", 60, 11],
["load_dynamic", 8, 7, 3, 60, 22],
["move", 5, 8, 60, 22],
["load_field", 7, 5, "message", 61, 13],
["move", 6, 7, 61, 13],
["load_field", 7, 5, "line", 62, 11],
["null", 8, 62, 21],
["is_identical", 9, 7, 8, 62, 21],
["jump_true", 9, "ne_nid_77", 62, 21],
["jump", "ne_ni_78", 62, 21],
"ne_nid_77",
["false", 9, 62, 21],
["jump", "ne_done_76", 62, 21],
"ne_ni_78",
["is_int", 10, 7, 62, 21],
["jump_false", 10, "ne_nn_79", 62, 21],
"_nop_tc_25",
["jump", "ne_nn_79", 62, 21],
["ne_int", 9, 7, 8, 62, 21],
["jump", "ne_done_76", 62, 21],
"ne_nn_79",
["is_num", 10, 7, 62, 21],
["jump_false", 10, "ne_nt_80", 62, 21],
"_nop_tc_26",
["jump", "ne_nt_80", 62, 21],
["ne_float", 9, 7, 8, 62, 21],
["jump", "ne_done_76", 62, 21],
"ne_nt_80",
["is_text", 10, 7, 62, 21],
["jump_false", 10, "ne_nnl_81", 62, 21],
"_nop_tc_27",
["jump", "ne_nnl_81", 62, 21],
["ne_text", 9, 7, 8, 62, 21],
["jump", "ne_done_76", 62, 21],
"ne_nnl_81",
["is_null", 10, 7, 62, 21],
["jump_false", 10, "ne_nb_82", 62, 21],
"_nop_tc_28",
"_nop_tc_29",
["false", 9, 62, 21],
["jump", "ne_done_76", 62, 21],
"ne_nb_82",
["is_bool", 10, 7, 62, 21],
["jump_false", 10, "ne_mis_83", 62, 21],
"_nop_tc_30",
["jump", "ne_mis_83", 62, 21],
["ne_bool", 9, 7, 8, 62, 21],
["jump", "ne_done_76", 62, 21],
"ne_mis_83",
["true", 9, 62, 21],
"ne_done_76",
["move", 7, 9, 62, 21],
["jump_false", 7, "and_end_75", 62, 21],
["load_field", 8, 5, "column", 62, 29],
["null", 9, 62, 41],
["is_identical", 10, 8, 9, 62, 41],
["jump_true", 10, "ne_nid_85", 62, 41],
["jump", "ne_ni_86", 62, 41],
"ne_nid_85",
["false", 10, 62, 41],
["jump", "ne_done_84", 62, 41],
"ne_ni_86",
["is_int", 11, 8, 62, 41],
["jump_false", 11, "ne_nn_87", 62, 41],
"_nop_tc_31",
["jump", "ne_nn_87", 62, 41],
["ne_int", 10, 8, 9, 62, 41],
["jump", "ne_done_84", 62, 41],
"ne_nn_87",
["is_num", 11, 8, 62, 41],
["jump_false", 11, "ne_nt_88", 62, 41],
"_nop_tc_32",
["jump", "ne_nt_88", 62, 41],
["ne_float", 10, 8, 9, 62, 41],
["jump", "ne_done_84", 62, 41],
"ne_nt_88",
["is_text", 11, 8, 62, 41],
["jump_false", 11, "ne_nnl_89", 62, 41],
"_nop_tc_33",
["jump", "ne_nnl_89", 62, 41],
["ne_text", 10, 8, 9, 62, 41],
["jump", "ne_done_84", 62, 41],
"ne_nnl_89",
["is_null", 11, 8, 62, 41],
["jump_false", 11, "ne_nb_90", 62, 41],
"_nop_tc_34",
"_nop_tc_35",
["false", 10, 62, 41],
["jump", "ne_done_84", 62, 41],
"ne_nb_90",
["is_bool", 11, 8, 62, 41],
["jump_false", 11, "ne_mis_91", 62, 41],
"_nop_tc_36",
["jump", "ne_mis_91", 62, 41],
["ne_bool", 10, 8, 9, 62, 41],
["jump", "ne_done_84", 62, 41],
"ne_mis_91",
["true", 10, 62, 41],
"ne_done_84",
["move", 7, 10, 62, 41],
"and_end_75",
["jump_false", 7, "if_else_73", 62, 41],
["load_field", 7, 5, "line", 1, 6],
[
"access",
8,
{
"name": "text",
"kind": "name",
"make": "intrinsic"
},
1,
1
],
["frame", 9, 8, 1, 1, 1],
["null", 8, 1, 1],
["setarg", 9, 0, 8, 1, 1],
["setarg", 9, 1, 7, 1, 1],
["invoke", 9, 7, 1, 1],
["load_field", 8, 5, "column", 1, 6],
[
"access",
9,
{
"name": "text",
"kind": "name",
"make": "intrinsic"
},
1,
1
],
["frame", 10, 9, 1, 1, 1],
["null", 9, 1, 1],
["setarg", 10, 0, 9, 1, 1],
["setarg", 10, 1, 8, 1, 1],
["invoke", 10, 8, 1, 1],
["array", 9, 0, 1, 1],
["push", 9, 2, 1, 1],
["push", 9, 7, 1, 1],
["push", 9, 8, 1, 1],
["push", 9, 6, 1, 1],
[
"access",
7,
{
"name": "format",
"kind": "name",
"make": "intrinsic"
},
1,
1
],
["access", 8, "{0}:{1}:{2}: error: {3}\n", 1, 1],
["frame", 10, 7, 2, 1, 1],
["null", 7, 1, 1],
["setarg", 10, 0, 7, 1, 1],
["setarg", 10, 1, 8, 1, 1],
["setarg", 10, 2, 9, 1, 1],
["invoke", 10, 7, 1, 1],
[
"access",
8,
{
"name": "os",
"kind": "name",
"make": "intrinsic"
},
63,
9
],
["is_proxy", 9, 8, 63, 9],
["jump_false", 9, "record_path_92", 63, 9],
["null", 9, 63, 9],
["access", 10, "print", 63, 9],
["array", 11, 0, 63, 9],
["push", 11, 7, 63, 9],
["frame", 12, 8, 2, 63, 9],
["setarg", 12, 0, 9, 63, 9],
["setarg", 12, 1, 10, 63, 9],
["setarg", 12, 2, 11, 63, 9],
["invoke", 12, 9, 63, 9],
["jump", "call_done_93", 63, 9],
"record_path_92",
["load_field", 10, 8, "print", 63, 9],
["frame", 11, 10, 1, 63, 9],
["setarg", 11, 0, 8, 63, 9],
["setarg", 11, 1, 7, 63, 9],
["invoke", 11, 9, 63, 9],
"call_done_93",
["jump", "if_end_74", 63, 9],
"if_else_73",
["array", 7, 0, 1, 1],
["push", 7, 2, 1, 1],
["push", 7, 6, 1, 1],
[
"access",
8,
{
"name": "format",
"kind": "name",
"make": "intrinsic"
},
1,
1
],
["access", 9, "{0}: error: {1}\n", 1, 1],
["frame", 10, 8, 2, 1, 1],
["null", 8, 1, 1],
["setarg", 10, 0, 8, 1, 1],
["setarg", 10, 1, 9, 1, 1],
["setarg", 10, 2, 7, 1, 1],
["invoke", 10, 7, 1, 1],
[
"access",
8,
{
"name": "os",
"kind": "name",
"make": "intrinsic"
},
65,
9
],
["is_proxy", 9, 8, 65, 9],
["jump_false", 9, "record_path_94", 65, 9],
["null", 9, 65, 9],
["access", 10, "print", 65, 9],
["array", 11, 0, 65, 9],
["push", 11, 7, 65, 9],
["frame", 12, 8, 2, 65, 9],
["setarg", 12, 0, 9, 65, 9],
["setarg", 12, 1, 10, 65, 9],
["setarg", 12, 2, 11, 65, 9],
["invoke", 12, 9, 65, 9],
["jump", "call_done_95", 65, 9],
"record_path_94",
["load_field", 10, 8, "print", 65, 9],
["frame", 11, 10, 1, 65, 9],
["setarg", 11, 0, 8, 65, 9],
["setarg", 11, 1, 7, 65, 9],
["invoke", 11, 9, 65, 9],
"call_done_95",
"if_end_74",
["access", 7, 1, 66, 17],
"_nop_tc_37",
"_nop_tc_38",
"_nop_tc_39",
"_nop_tc_40",
["add", 8, 3, 7, 66, 17],
["jump", "num_done_97", 66, 17],
"num_err_96",
[
"access",
7,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
66,
17
],
["access", 9, "error", 66, 17],
["access", 10, "cannot apply '+': operands must be numbers", 66, 17],
["array", 11, 0, 66, 17],
["push", 11, 10, 66, 17],
["frame", 10, 7, 2, 66, 17],
["null", 7, 66, 17],
["setarg", 10, 0, 7, 66, 17],
["setarg", 10, 1, 9, 66, 17],
["setarg", 10, 2, 11, 66, 17],
["invoke", 10, 7, 66, 17],
["disrupt", 66, 17],
"num_done_97",
["move", 3, 8, 66, 17],
["jump", "while_start_67", 66, 17],
"while_end_68",
["disrupt", 68, 5],
["jump", "if_end_66", 68, 5],
"if_else_65",
"if_end_66",
["get", 3, 15, 1, 70, 10],
["frame", 5, 3, 1, 70, 10],
["null", 3, 70, 10],
["setarg", 5, 0, 3, 70, 10],
["setarg", 5, 1, 4, 70, 10],
["tail_invoke", 5, 3, 70, 10],
["return", 3, 70, 10],
"_nop_ur_1",
"_nop_ur_2"
],
"name": "analyze",
"filename": ".cell/packages/core/internal/bootstrap.cm",
"nr_args": 2
},
{
"disruption_pc": 0,
"nr_slots": 15,
"nr_close_slots": 0,
"instructions": [
["get", 3, 10, 1, 74, 21],
["is_proxy", 4, 3, 74, 21],
["jump_false", 4, "record_path_98", 74, 21],
["null", 4, 74, 21],
["access", 5, "slurp", 74, 21],
["array", 6, 0, 74, 21],
["push", 6, 2, 74, 21],
["frame", 7, 3, 2, 74, 21],
["setarg", 7, 0, 4, 74, 21],
["setarg", 7, 1, 5, 74, 21],
["setarg", 7, 2, 6, 74, 21],
["invoke", 7, 4, 74, 21],
["jump", "call_done_99", 74, 21],
"record_path_98",
["load_field", 5, 3, "slurp", 74, 21],
["frame", 6, 5, 1, 74, 21],
["setarg", 6, 0, 3, 74, 21],
["setarg", 6, 1, 2, 74, 21],
["invoke", 6, 4, 74, 21],
"call_done_99",
["move", 3, 4, 74, 21],
["get", 4, 3, 1, 75, 14],
["frame", 5, 4, 1, 75, 14],
["null", 4, 75, 14],
["setarg", 5, 0, 4, 75, 14],
["setarg", 5, 1, 3, 75, 14],
["invoke", 5, 4, 75, 14],
["move", 5, 4, 75, 14],
["get", 4, 4, 1, 76, 16],
["frame", 6, 4, 1, 76, 16],
["null", 4, 76, 16],
["setarg", 6, 0, 4, 76, 16],
["setarg", 6, 1, 5, 76, 16],
["invoke", 6, 4, 76, 16],
["move", 5, 4, 76, 16],
["null", 4, 77, 13],
["null", 6, 78, 18],
["null", 7, 79, 20],
["null", 8, 80, 19],
["move", 9, 5, 81, 7],
["jump_false", 9, "and_end_102", 81, 7],
["get", 10, 10, 1, 81, 17],
["is_proxy", 11, 10, 81, 17],
["jump_false", 11, "record_path_103", 81, 17],
["null", 11, 81, 17],
["access", 12, "is_file", 81, 17],
["array", 13, 0, 81, 17],
["push", 13, 5, 81, 17],
["frame", 14, 10, 2, 81, 17],
["setarg", 14, 0, 11, 81, 17],
["setarg", 14, 1, 12, 81, 17],
["setarg", 14, 2, 13, 81, 17],
["invoke", 14, 11, 81, 17],
["jump", "call_done_104", 81, 17],
"record_path_103",
["load_field", 12, 10, "is_file", 81, 17],
["frame", 13, 12, 1, 81, 17],
["setarg", 13, 0, 10, 81, 17],
["setarg", 13, 1, 5, 81, 17],
["invoke", 13, 11, 81, 17],
"call_done_104",
["move", 9, 11, 81, 17],
"and_end_102",
["jump_false", 9, "if_else_100", 81, 17],
["null", 9, 81, 37],
["return", 9, 81, 37],
"_nop_ur_1",
"if_else_100",
"if_end_101",
[
"access",
9,
{
"name": "text",
"kind": "name",
"make": "intrinsic"
},
82,
17
],
["frame", 10, 9, 1, 82, 17],
["null", 9, 82, 17],
["setarg", 10, 0, 9, 82, 17],
["setarg", 10, 1, 3, 82, 17],
["invoke", 10, 3, 82, 17],
["get", 9, 7, 1, 82, 9],
["frame", 10, 9, 2, 82, 9],
["null", 9, 82, 9],
["setarg", 10, 0, 9, 82, 9],
["setarg", 10, 1, 3, 82, 9],
["setarg", 10, 2, 2, 82, 9],
["invoke", 10, 3, 82, 9],
["move", 4, 3, 82, 9],
["get", 3, 16, 1, 83, 29],
["frame", 9, 3, 1, 83, 29],
["null", 3, 83, 29],
["setarg", 9, 0, 3, 83, 29],
["setarg", 9, 1, 4, 83, 29],
["invoke", 9, 3, 83, 29],
["get", 4, 9, 1, 83, 14],
["frame", 9, 4, 1, 83, 14],
["null", 4, 83, 14],
["setarg", 9, 0, 4, 83, 14],
["setarg", 9, 1, 3, 83, 14],
["invoke", 9, 3, 83, 14],
["move", 6, 3, 83, 14],
["get", 3, 11, 1, 84, 16],
["is_proxy", 4, 3, 84, 16],
["jump_false", 4, "record_path_105", 84, 16],
["null", 4, 84, 16],
["access", 9, "encode", 84, 16],
["array", 10, 0, 84, 16],
["push", 10, 6, 84, 16],
["frame", 11, 3, 2, 84, 16],
["setarg", 11, 0, 4, 84, 16],
["setarg", 11, 1, 9, 84, 16],
["setarg", 11, 2, 10, 84, 16],
["invoke", 11, 4, 84, 16],
["jump", "call_done_106", 84, 16],
"record_path_105",
["load_field", 9, 3, "encode", 84, 16],
["frame", 10, 9, 1, 84, 16],
["setarg", 10, 0, 3, 84, 16],
["setarg", 10, 1, 6, 84, 16],
["invoke", 10, 4, 84, 16],
"call_done_106",
["move", 7, 4, 84, 16],
[
"access",
3,
{
"name": "mach_compile_mcode_bin",
"kind": "name",
"make": "intrinsic"
},
85,
15
],
["frame", 4, 3, 2, 85, 15],
["null", 3, 85, 15],
["setarg", 4, 0, 3, 85, 15],
["setarg", 4, 1, 1, 85, 15],
["setarg", 4, 2, 7, 85, 15],
["invoke", 4, 3, 85, 15],
["move", 8, 3, 85, 15],
["jump_false", 5, "if_else_107", 86, 7],
["get", 3, 5, 1, 87, 5],
["frame", 4, 3, 0, 87, 5],
["null", 3, 87, 5],
["setarg", 4, 0, 3, 87, 5],
["invoke", 4, 3, 87, 5],
["get", 3, 10, 1, 88, 5],
["is_proxy", 4, 3, 88, 5],
["jump_false", 4, "record_path_109", 88, 5],
["null", 4, 88, 5],
["access", 6, "slurpwrite", 88, 5],
["array", 7, 0, 88, 5],
["push", 7, 5, 88, 5],
["push", 7, 8, 88, 5],
["frame", 9, 3, 2, 88, 5],
["setarg", 9, 0, 4, 88, 5],
["setarg", 9, 1, 6, 88, 5],
["setarg", 9, 2, 7, 88, 5],
["invoke", 9, 4, 88, 5],
["jump", "call_done_110", 88, 5],
"record_path_109",
["load_field", 6, 3, "slurpwrite", 88, 5],
["frame", 7, 6, 2, 88, 5],
["setarg", 7, 0, 3, 88, 5],
["setarg", 7, 1, 5, 88, 5],
["setarg", 7, 2, 8, 88, 5],
["invoke", 7, 4, 88, 5],
"call_done_110",
["jump", "if_end_108", 88, 5],
"if_else_107",
"if_end_108",
["null", 3, 88, 5],
["return", 3, 88, 5]
],
"name": "compile_and_cache",
"filename": ".cell/packages/core/internal/bootstrap.cm",
"nr_args": 2
}
],
"main": {
"nr_slots": 25,
"nr_close_slots": 0,
"instructions": [
["function", 1, 0, 0, 0],
["move", 2, 1, 0, 0],
["function", 1, 1, 0, 0],
["move", 3, 1, 0, 0],
["function", 1, 2, 0, 0],
["move", 4, 1, 0, 0],
["function", 1, 3, 0, 0],
["move", 5, 1, 0, 0],
["function", 1, 4, 0, 0],
["move", 6, 1, 0, 0],
["function", 1, 5, 0, 0],
["move", 7, 1, 0, 0],
["function", 1, 6, 0, 0],
["move", 8, 1, 0, 0],
[
"access",
1,
{
"name": "os",
"kind": "name",
"make": "intrinsic"
},
4,
21
],
["load_field", 9, 1, "load_internal", 4, 21],
["move", 1, 9, 4, 21],
["access", 9, "internal_fd", 9, 20],
["frame", 10, 2, 1, 9, 10],
["null", 11, 9, 10],
["setarg", 10, 0, 11, 9, 10],
["setarg", 10, 1, 9, 9, 10],
["invoke", 10, 9, 9, 10],
["move", 10, 9, 9, 10],
["access", 9, "json", 10, 26],
["frame", 11, 2, 1, 10, 16],
["null", 12, 10, 16],
["setarg", 11, 0, 12, 10, 16],
["setarg", 11, 1, 9, 10, 16],
["invoke", 11, 9, 10, 16],
["move", 11, 9, 10, 16],
["access", 9, "internal_crypto", 11, 24],
["frame", 12, 2, 1, 11, 14],
["null", 13, 11, 14],
["setarg", 12, 0, 13, 11, 14],
["setarg", 12, 1, 9, 11, 14],
["invoke", 12, 9, 11, 14],
["move", 12, 9, 11, 14],
["access", 9, "tokenize", 45, 30],
["frame", 13, 6, 1, 45, 20],
["null", 14, 45, 20],
["setarg", 13, 0, 14, 45, 20],
["setarg", 13, 1, 9, 45, 20],
["invoke", 13, 9, 45, 20],
["move", 13, 9, 45, 20],
["access", 9, "parse", 46, 27],
["frame", 14, 6, 1, 46, 17],
["null", 15, 46, 17],
["setarg", 14, 0, 15, 46, 17],
["setarg", 14, 1, 9, 46, 17],
["invoke", 14, 9, 46, 17],
["move", 14, 9, 46, 17],
["access", 9, "fold", 47, 26],
["frame", 15, 6, 1, 47, 16],
["null", 16, 47, 16],
["setarg", 15, 0, 16, 47, 16],
["setarg", 15, 1, 9, 47, 16],
["invoke", 15, 9, 47, 16],
["move", 15, 9, 47, 16],
["access", 9, "mcode", 48, 27],
["frame", 16, 6, 1, 48, 17],
["null", 17, 48, 17],
["setarg", 16, 0, 17, 48, 17],
["setarg", 16, 1, 9, 48, 17],
["invoke", 16, 9, 48, 17],
["move", 16, 9, 48, 17],
["access", 9, "streamline", 49, 32],
["frame", 17, 6, 1, 49, 22],
["null", 6, 49, 22],
["setarg", 17, 0, 6, 49, 22],
["setarg", 17, 1, 9, 49, 22],
["invoke", 17, 6, 49, 22],
["move", 9, 6, 49, 22],
["record", 6, 2],
["access", 17, "tokenize", 94, 10],
["store_field", 6, 17, "name", 94, 10],
["access", 17, "tokenize.cm", 94, 28],
["store_field", 6, 17, "path", 94, 28],
["record", 17, 2],
["access", 18, "parse", 95, 10],
["store_field", 17, 18, "name", 95, 10],
["access", 18, "parse.cm", 95, 25],
["store_field", 17, 18, "path", 95, 25],
["record", 18, 2],
["access", 19, "fold", 96, 10],
["store_field", 18, 19, "name", 96, 10],
["access", 19, "fold.cm", 96, 24],
["store_field", 18, 19, "path", 96, 24],
["record", 19, 2],
["access", 20, "mcode", 97, 10],
["store_field", 19, 20, "name", 97, 10],
["access", 20, "mcode.cm", 97, 25],
["store_field", 19, 20, "path", 97, 25],
["record", 20, 2],
["access", 21, "streamline", 98, 10],
["store_field", 20, 21, "name", 98, 10],
["access", 21, "streamline.cm", 98, 30],
["store_field", 20, 21, "path", 98, 30],
["record", 21, 2],
["access", 22, "engine", 99, 10],
["store_field", 21, 22, "name", 99, 10],
["access", 22, "internal/engine.cm", 99, 26],
["store_field", 21, 22, "path", 99, 26],
["array", 22, 6, 99, 26],
["push", 22, 6, 99, 26],
["push", 22, 17, 99, 26],
["push", 22, 18, 99, 26],
["push", 22, 19, 99, 26],
["push", 22, 20, 99, 26],
["push", 22, 21, 99, 26],
["move", 6, 22, 99, 26],
["access", 17, 0, 101, 10],
["null", 18, 102, 13],
"while_start_111",
["length", 19, 6, 103, 20],
["is_int", 20, 17, 103, 20],
["jump_false", 20, "rel_ni_113", 103, 20],
"_nop_tc_1",
"_nop_tc_2",
["lt_int", 20, 17, 19, 103, 20],
["jump", "rel_done_115", 103, 20],
"rel_ni_113",
"_nop_tc_3",
"_nop_tc_4",
"_nop_tc_5",
"_nop_tc_6",
["lt_float", 20, 17, 19, 103, 20],
["jump", "rel_done_115", 103, 20],
"rel_nn_114",
"_nop_tc_7",
["jump", "rel_err_116", 103, 20],
"_nop_tc_8",
["jump", "rel_err_116", 103, 20],
["lt_text", 20, 17, 19, 103, 20],
["jump", "rel_done_115", 103, 20],
"rel_err_116",
[
"access",
19,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
103,
20
],
["access", 21, "error", 103, 20],
["access", 22, "cannot compare with '<': operands must be same type", 103, 20],
["array", 23, 0, 103, 20],
["push", 23, 22, 103, 20],
["frame", 22, 19, 2, 103, 20],
["null", 19, 103, 20],
["setarg", 22, 0, 19, 103, 20],
["setarg", 22, 1, 21, 103, 20],
["setarg", 22, 2, 23, 103, 20],
["invoke", 22, 19, 103, 20],
["disrupt", 103, 20],
"rel_done_115",
["jump_false", 20, "while_end_112", 103, 20],
["load_dynamic", 19, 6, 17, 104, 22],
["move", 18, 19, 104, 22],
["load_field", 19, 18, "name", 105, 21],
[
"access",
20,
{
"name": "core_path",
"kind": "name",
"make": "intrinsic"
},
105,
33
],
["access", 21, "/", 105, 45],
["is_text", 22, 20, 105, 45],
["jump_false", 22, "add_cn_118", 105, 45],
"_nop_tc_9",
"_nop_tc_10",
["concat", 23, 20, 21, 105, 45],
["jump", "add_done_117", 105, 45],
"add_cn_118",
["is_num", 22, 20, 105, 45],
["jump_false", 22, "add_err_119", 105, 45],
"_nop_tc_11",
["jump", "add_err_119", 105, 45],
["add", 23, 20, 21, 105, 45],
["jump", "add_done_117", 105, 45],
"add_err_119",
[
"access",
20,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
105,
45
],
["access", 21, "error", 105, 45],
["access", 22, "cannot apply '+': operands must both be text or both be numbers", 105, 45],
["array", 24, 0, 105, 45],
["push", 24, 22, 105, 45],
["frame", 22, 20, 2, 105, 45],
["null", 20, 105, 45],
["setarg", 22, 0, 20, 105, 45],
["setarg", 22, 1, 21, 105, 45],
["setarg", 22, 2, 24, 105, 45],
["invoke", 22, 20, 105, 45],
["disrupt", 105, 45],
"add_done_117",
["load_field", 20, 18, "path", 105, 51],
["is_text", 21, 23, 105, 51],
["jump_false", 21, "add_cn_121", 105, 51],
["is_text", 22, 20, 105, 51],
["jump_false", 22, "add_cn_121", 105, 51],
["concat", 24, 23, 20, 105, 51],
["jump", "add_done_120", 105, 51],
"add_cn_121",
["is_num", 21, 23, 105, 51],
["jump_false", 21, "add_err_122", 105, 51],
["is_num", 22, 20, 105, 51],
["jump_false", 22, "add_err_122", 105, 51],
["add", 24, 23, 20, 105, 51],
["jump", "add_done_120", 105, 51],
"add_err_122",
[
"access",
20,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
105,
51
],
["access", 21, "error", 105, 51],
["access", 22, "cannot apply '+': operands must both be text or both be numbers", 105, 51],
["array", 23, 0, 105, 51],
["push", 23, 22, 105, 51],
["frame", 22, 20, 2, 105, 51],
["null", 20, 105, 51],
["setarg", 22, 0, 20, 105, 51],
["setarg", 22, 1, 21, 105, 51],
["setarg", 22, 2, 23, 105, 51],
["invoke", 22, 20, 105, 51],
["disrupt", 105, 51],
"add_done_120",
["frame", 20, 8, 2, 105, 3],
["null", 21, 105, 3],
["setarg", 20, 0, 21, 105, 3],
["setarg", 20, 1, 19, 105, 3],
["setarg", 20, 2, 24, 105, 3],
["invoke", 20, 19, 105, 3],
["access", 19, 1, 106, 13],
"_nop_tc_12",
"_nop_tc_13",
"_nop_tc_14",
"_nop_tc_15",
["add", 20, 17, 19, 106, 13],
["jump", "num_done_124", 106, 13],
"num_err_123",
[
"access",
19,
{
"name": "log",
"kind": "name",
"make": "intrinsic"
},
106,
13
],
["access", 21, "error", 106, 13],
["access", 22, "cannot apply '+': operands must be numbers", 106, 13],
["array", 23, 0, 106, 13],
["push", 23, 22, 106, 13],
["frame", 22, 19, 2, 106, 13],
["null", 19, 106, 13],
["setarg", 22, 0, 19, 106, 13],
["setarg", 22, 1, 21, 106, 13],
["setarg", 22, 2, 23, 106, 13],
["invoke", 22, 19, 106, 13],
["disrupt", 106, 13],
"num_done_124",
["move", 17, 20, 106, 13],
["jump", "while_start_111", 106, 13],
"while_end_112",
["access", 6, "bootstrap: cache seeded\n", 108, 10],
[
"access",
8,
{
"name": "os",
"kind": "name",
"make": "intrinsic"
},
108,
1
],
["is_proxy", 17, 8, 108, 1],
["jump_false", 17, "record_path_125", 108, 1],
["null", 17, 108, 1],
["access", 18, "print", 108, 1],
["array", 19, 0, 108, 1],
["push", 19, 6, 108, 1],
["frame", 20, 8, 2, 108, 1],
["setarg", 20, 0, 17, 108, 1],
["setarg", 20, 1, 18, 108, 1],
["setarg", 20, 2, 19, 108, 1],
["invoke", 20, 17, 108, 1],
["jump", "call_done_126", 108, 1],
"record_path_125",
["load_field", 18, 8, "print", 108, 1],
["frame", 19, 18, 1, 108, 1],
["setarg", 19, 0, 8, 108, 1],
["setarg", 19, 1, 6, 108, 1],
["invoke", 19, 17, 108, 1],
"call_done_126",
["return", 17, 108, 1]
],
"nr_args": 0
},
"filename": ".cell/packages/core/internal/bootstrap.cm",
"data": {}
}