chore(boot): update
This commit is contained in:
parent
d3ba9ef7fa
commit
14052ff785
15 changed files with 25749 additions and 43425 deletions
|
|
@ -1237,97 +1237,89 @@ return x_0;
|
|||
obj* l_char_quote__core(uint32 x_0) {
|
||||
_start:
|
||||
{
|
||||
obj* x_1; uint32 x_3; uint8 x_4;
|
||||
x_3 = 10;
|
||||
uint32 x_1; uint8 x_2;
|
||||
x_1 = 10;
|
||||
x_2 = x_0 == x_1;
|
||||
if (x_2 == 0)
|
||||
{
|
||||
uint32 x_3; uint8 x_4;
|
||||
x_3 = 9;
|
||||
x_4 = x_0 == x_3;
|
||||
if (x_4 == 0)
|
||||
{
|
||||
uint32 x_5; uint8 x_6;
|
||||
x_5 = 9;
|
||||
x_5 = 92;
|
||||
x_6 = x_0 == x_5;
|
||||
if (x_6 == 0)
|
||||
{
|
||||
obj* x_7;
|
||||
x_7 = lean::box(0);
|
||||
x_1 = x_7;
|
||||
goto lbl_2;
|
||||
}
|
||||
else
|
||||
uint32 x_7; uint8 x_8;
|
||||
x_7 = 34;
|
||||
x_8 = x_0 == x_7;
|
||||
if (x_8 == 0)
|
||||
{
|
||||
obj* x_8;
|
||||
x_8 = l_char_quote__core___closed__4;
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_9;
|
||||
x_9 = l_char_quote__core___closed__5;
|
||||
return x_9;
|
||||
}
|
||||
lbl_2:
|
||||
{
|
||||
uint32 x_11; uint8 x_12;
|
||||
lean::dec(x_1);
|
||||
x_11 = 92;
|
||||
x_12 = x_0 == x_11;
|
||||
if (x_12 == 0)
|
||||
obj* x_9; obj* x_10; uint8 x_11;
|
||||
x_9 = lean::uint32_to_nat(x_0);
|
||||
x_10 = lean::mk_nat_obj(31u);
|
||||
x_11 = lean::nat_dec_le(x_9, x_10);
|
||||
lean::dec(x_9);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
uint32 x_13; uint8 x_14;
|
||||
x_13 = 34;
|
||||
x_13 = 127;
|
||||
x_14 = x_0 == x_13;
|
||||
if (x_14 == 0)
|
||||
{
|
||||
obj* x_15; obj* x_16; uint8 x_17;
|
||||
x_15 = lean::uint32_to_nat(x_0);
|
||||
x_16 = lean::mk_nat_obj(31u);
|
||||
x_17 = lean::nat_dec_le(x_15, x_16);
|
||||
lean::dec(x_15);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
uint32 x_19; uint8 x_20;
|
||||
x_19 = 127;
|
||||
x_20 = x_0 == x_19;
|
||||
if (x_20 == 0)
|
||||
{
|
||||
obj* x_21; obj* x_22;
|
||||
x_21 = l_string_iterator_extract___main___closed__1;
|
||||
x_22 = lean::string_push(x_21, x_0);
|
||||
return x_22;
|
||||
obj* x_15; obj* x_16;
|
||||
x_15 = l_string_iterator_extract___main___closed__1;
|
||||
x_16 = lean::string_push(x_15, x_0);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_23; obj* x_24; obj* x_25;
|
||||
x_23 = l_char__to__hex(x_0);
|
||||
x_24 = l_char_quote__core___closed__1;
|
||||
x_25 = lean::string_append(x_24, x_23);
|
||||
lean::dec(x_23);
|
||||
obj* x_17; obj* x_18; obj* x_19;
|
||||
x_17 = l_char__to__hex(x_0);
|
||||
x_18 = l_char_quote__core___closed__1;
|
||||
x_19 = lean::string_append(x_18, x_17);
|
||||
lean::dec(x_17);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_21; obj* x_22; obj* x_23;
|
||||
x_21 = l_char__to__hex(x_0);
|
||||
x_22 = l_char_quote__core___closed__1;
|
||||
x_23 = lean::string_append(x_22, x_21);
|
||||
lean::dec(x_21);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_25;
|
||||
x_25 = l_char_quote__core___closed__2;
|
||||
return x_25;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_27; obj* x_28; obj* x_29;
|
||||
x_27 = l_char__to__hex(x_0);
|
||||
x_28 = l_char_quote__core___closed__1;
|
||||
x_29 = lean::string_append(x_28, x_27);
|
||||
lean::dec(x_27);
|
||||
return x_29;
|
||||
obj* x_26;
|
||||
x_26 = l_char_quote__core___closed__3;
|
||||
return x_26;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_31;
|
||||
x_31 = l_char_quote__core___closed__2;
|
||||
return x_31;
|
||||
obj* x_27;
|
||||
x_27 = l_char_quote__core___closed__4;
|
||||
return x_27;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_32;
|
||||
x_32 = l_char_quote__core___closed__3;
|
||||
return x_32;
|
||||
}
|
||||
obj* x_28;
|
||||
x_28 = l_char_quote__core___closed__5;
|
||||
return x_28;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1901,107 +1901,98 @@ return x_3;
|
|||
obj* l_lean_compiler_fold__char__of__nat(uint8 x_0, obj* x_1) {
|
||||
_start:
|
||||
{
|
||||
obj* x_2;
|
||||
if (x_0 == 0)
|
||||
{
|
||||
obj* x_4;
|
||||
x_4 = lean::box(0);
|
||||
x_2 = x_4;
|
||||
goto lbl_3;
|
||||
obj* x_2;
|
||||
x_2 = l_lean_compiler_get__num__lit___main(x_1);
|
||||
if (lean::obj_tag(x_2) == 0)
|
||||
{
|
||||
obj* x_3;
|
||||
x_3 = lean::box(0);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_6;
|
||||
obj* x_4; obj* x_6; uint32 x_7; uint32 x_8; uint8 x_9;
|
||||
x_4 = lean::cnstr_get(x_2, 0);
|
||||
if (lean::is_exclusive(x_2)) {
|
||||
lean::cnstr_set(x_2, 0, lean::box(0));
|
||||
x_6 = x_2;
|
||||
} else {
|
||||
lean::inc(x_4);
|
||||
lean::dec(x_2);
|
||||
x_6 = lean::box(0);
|
||||
}
|
||||
x_7 = lean::uint32_of_nat(x_4);
|
||||
x_8 = 55296;
|
||||
x_9 = x_7 < x_8;
|
||||
if (x_9 == 0)
|
||||
{
|
||||
uint32 x_10; uint8 x_11;
|
||||
x_10 = 57343;
|
||||
x_11 = x_10 < x_7;
|
||||
if (x_11 == 0)
|
||||
{
|
||||
obj* x_14;
|
||||
lean::dec(x_6);
|
||||
lean::dec(x_4);
|
||||
x_14 = l_lean_compiler_fold__char__of__nat___closed__1;
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32 x_15; uint8 x_16;
|
||||
x_15 = 1114112;
|
||||
x_16 = x_7 < x_15;
|
||||
if (x_16 == 0)
|
||||
{
|
||||
obj* x_19;
|
||||
lean::dec(x_6);
|
||||
lean::dec(x_4);
|
||||
x_19 = l_lean_compiler_fold__char__of__nat___closed__1;
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_20; obj* x_21; obj* x_23;
|
||||
x_20 = l_lean_compiler_mk__uint32__lit___closed__1;
|
||||
x_21 = l_lean_compiler_mk__uint__lit(x_20, x_4);
|
||||
lean::dec(x_4);
|
||||
if (lean::is_scalar(x_6)) {
|
||||
x_23 = lean::alloc_cnstr(1, 1, 0);
|
||||
} else {
|
||||
x_23 = x_6;
|
||||
}
|
||||
lean::cnstr_set(x_23, 0, x_21);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_24; obj* x_25; obj* x_27;
|
||||
x_24 = l_lean_compiler_mk__uint32__lit___closed__1;
|
||||
x_25 = l_lean_compiler_mk__uint__lit(x_24, x_4);
|
||||
lean::dec(x_4);
|
||||
if (lean::is_scalar(x_6)) {
|
||||
x_27 = lean::alloc_cnstr(1, 1, 0);
|
||||
} else {
|
||||
x_27 = x_6;
|
||||
}
|
||||
lean::cnstr_set(x_27, 0, x_25);
|
||||
return x_27;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_29;
|
||||
lean::dec(x_1);
|
||||
x_6 = lean::box(0);
|
||||
return x_6;
|
||||
}
|
||||
lbl_3:
|
||||
{
|
||||
obj* x_8;
|
||||
lean::dec(x_2);
|
||||
x_8 = l_lean_compiler_get__num__lit___main(x_1);
|
||||
if (lean::obj_tag(x_8) == 0)
|
||||
{
|
||||
obj* x_9;
|
||||
x_9 = lean::box(0);
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_10; obj* x_12; uint32 x_13; uint32 x_14; uint8 x_15;
|
||||
x_10 = lean::cnstr_get(x_8, 0);
|
||||
if (lean::is_exclusive(x_8)) {
|
||||
lean::cnstr_set(x_8, 0, lean::box(0));
|
||||
x_12 = x_8;
|
||||
} else {
|
||||
lean::inc(x_10);
|
||||
lean::dec(x_8);
|
||||
x_12 = lean::box(0);
|
||||
}
|
||||
x_13 = lean::uint32_of_nat(x_10);
|
||||
x_14 = 55296;
|
||||
x_15 = x_13 < x_14;
|
||||
if (x_15 == 0)
|
||||
{
|
||||
uint32 x_16; uint8 x_17;
|
||||
x_16 = 57343;
|
||||
x_17 = x_16 < x_13;
|
||||
if (x_17 == 0)
|
||||
{
|
||||
obj* x_20;
|
||||
lean::dec(x_10);
|
||||
lean::dec(x_12);
|
||||
x_20 = l_lean_compiler_fold__char__of__nat___closed__1;
|
||||
return x_20;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32 x_21; uint8 x_22;
|
||||
x_21 = 1114112;
|
||||
x_22 = x_13 < x_21;
|
||||
if (x_22 == 0)
|
||||
{
|
||||
obj* x_25;
|
||||
lean::dec(x_10);
|
||||
lean::dec(x_12);
|
||||
x_25 = l_lean_compiler_fold__char__of__nat___closed__1;
|
||||
return x_25;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_26; obj* x_27; obj* x_29;
|
||||
x_26 = l_lean_compiler_mk__uint32__lit___closed__1;
|
||||
x_27 = l_lean_compiler_mk__uint__lit(x_26, x_10);
|
||||
lean::dec(x_10);
|
||||
if (lean::is_scalar(x_12)) {
|
||||
x_29 = lean::alloc_cnstr(1, 1, 0);
|
||||
} else {
|
||||
x_29 = x_12;
|
||||
}
|
||||
lean::cnstr_set(x_29, 0, x_27);
|
||||
x_29 = lean::box(0);
|
||||
return x_29;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_30; obj* x_31; obj* x_33;
|
||||
x_30 = l_lean_compiler_mk__uint32__lit___closed__1;
|
||||
x_31 = l_lean_compiler_mk__uint__lit(x_30, x_10);
|
||||
lean::dec(x_10);
|
||||
if (lean::is_scalar(x_12)) {
|
||||
x_33 = lean::alloc_cnstr(1, 1, 0);
|
||||
} else {
|
||||
x_33 = x_12;
|
||||
}
|
||||
lean::cnstr_set(x_33, 0, x_31);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
obj* l_lean_compiler_fold__char__of__nat___boxed(obj* x_0, obj* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -601,357 +601,308 @@ goto lbl_41;
|
|||
}
|
||||
else
|
||||
{
|
||||
uint32 x_47; uint32 x_48; uint8 x_49; uint8 x_51;
|
||||
uint32 x_47; uint32 x_48; uint8 x_49;
|
||||
x_47 = l_string_iterator_curr___main(x_0);
|
||||
x_48 = 97;
|
||||
x_51 = x_48 <= x_47;
|
||||
if (x_51 == 0)
|
||||
{
|
||||
obj* x_52; obj* x_53; obj* x_54; obj* x_56; obj* x_57; obj* x_58; obj* x_59;
|
||||
x_52 = l_char_quote__core(x_47);
|
||||
x_53 = l_char_has__repr___closed__1;
|
||||
x_54 = lean::string_append(x_53, x_52);
|
||||
lean::dec(x_52);
|
||||
x_56 = lean::string_append(x_54, x_53);
|
||||
x_57 = lean::box(0);
|
||||
x_58 = l_mjoin___rarg___closed__1;
|
||||
x_59 = l_lean_parser_monad__parsec_error___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__3___rarg(x_56, x_58, x_57, x_57, x_0);
|
||||
x_40 = x_59;
|
||||
goto lbl_41;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8 x_60;
|
||||
x_60 = 1;
|
||||
x_49 = x_60;
|
||||
goto lbl_50;
|
||||
}
|
||||
lbl_50:
|
||||
{
|
||||
uint32 x_61; uint8 x_62;
|
||||
x_61 = 102;
|
||||
x_62 = x_47 <= x_61;
|
||||
if (x_62 == 0)
|
||||
{
|
||||
obj* x_63; obj* x_64; obj* x_65; obj* x_67; obj* x_68; obj* x_69; obj* x_70;
|
||||
x_63 = l_char_quote__core(x_47);
|
||||
x_64 = l_char_has__repr___closed__1;
|
||||
x_65 = lean::string_append(x_64, x_63);
|
||||
lean::dec(x_63);
|
||||
x_67 = lean::string_append(x_65, x_64);
|
||||
x_68 = lean::box(0);
|
||||
x_69 = l_mjoin___rarg___closed__1;
|
||||
x_70 = l_lean_parser_monad__parsec_error___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__3___rarg(x_67, x_69, x_68, x_68, x_0);
|
||||
x_40 = x_70;
|
||||
goto lbl_41;
|
||||
}
|
||||
else
|
||||
{
|
||||
x_49 = x_48 <= x_47;
|
||||
if (x_49 == 0)
|
||||
{
|
||||
obj* x_71; obj* x_72; obj* x_73; obj* x_75; obj* x_76; obj* x_77; obj* x_78;
|
||||
x_71 = l_char_quote__core(x_47);
|
||||
x_72 = l_char_has__repr___closed__1;
|
||||
x_73 = lean::string_append(x_72, x_71);
|
||||
lean::dec(x_71);
|
||||
x_75 = lean::string_append(x_73, x_72);
|
||||
x_76 = lean::box(0);
|
||||
x_77 = l_mjoin___rarg___closed__1;
|
||||
x_78 = l_lean_parser_monad__parsec_error___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__3___rarg(x_75, x_77, x_76, x_76, x_0);
|
||||
x_40 = x_78;
|
||||
obj* x_50; obj* x_51; obj* x_52; obj* x_54; obj* x_55; obj* x_56; obj* x_57;
|
||||
x_50 = l_char_quote__core(x_47);
|
||||
x_51 = l_char_has__repr___closed__1;
|
||||
x_52 = lean::string_append(x_51, x_50);
|
||||
lean::dec(x_50);
|
||||
x_54 = lean::string_append(x_52, x_51);
|
||||
x_55 = lean::box(0);
|
||||
x_56 = l_mjoin___rarg___closed__1;
|
||||
x_57 = l_lean_parser_monad__parsec_error___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__3___rarg(x_54, x_56, x_55, x_55, x_0);
|
||||
x_40 = x_57;
|
||||
goto lbl_41;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_80; obj* x_81; obj* x_82; obj* x_83;
|
||||
lean::inc(x_0);
|
||||
x_80 = l_string_iterator_next___main(x_0);
|
||||
x_81 = lean::box(0);
|
||||
x_82 = lean::box_uint32(x_47);
|
||||
x_83 = lean::alloc_cnstr(0, 3, 0);
|
||||
lean::cnstr_set(x_83, 0, x_82);
|
||||
lean::cnstr_set(x_83, 1, x_80);
|
||||
lean::cnstr_set(x_83, 2, x_81);
|
||||
x_40 = x_83;
|
||||
uint32 x_58; uint8 x_59;
|
||||
x_58 = 102;
|
||||
x_59 = x_47 <= x_58;
|
||||
if (x_59 == 0)
|
||||
{
|
||||
obj* x_60; obj* x_61; obj* x_62; obj* x_64; obj* x_65; obj* x_66; obj* x_67;
|
||||
x_60 = l_char_quote__core(x_47);
|
||||
x_61 = l_char_has__repr___closed__1;
|
||||
x_62 = lean::string_append(x_61, x_60);
|
||||
lean::dec(x_60);
|
||||
x_64 = lean::string_append(x_62, x_61);
|
||||
x_65 = lean::box(0);
|
||||
x_66 = l_mjoin___rarg___closed__1;
|
||||
x_67 = l_lean_parser_monad__parsec_error___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__3___rarg(x_64, x_66, x_65, x_65, x_0);
|
||||
x_40 = x_67;
|
||||
goto lbl_41;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_69; obj* x_70; obj* x_71; obj* x_72;
|
||||
lean::inc(x_0);
|
||||
x_69 = l_string_iterator_next___main(x_0);
|
||||
x_70 = lean::box(0);
|
||||
x_71 = lean::box_uint32(x_47);
|
||||
x_72 = lean::alloc_cnstr(0, 3, 0);
|
||||
lean::cnstr_set(x_72, 0, x_71);
|
||||
lean::cnstr_set(x_72, 1, x_69);
|
||||
lean::cnstr_set(x_72, 2, x_70);
|
||||
x_40 = x_72;
|
||||
goto lbl_41;
|
||||
}
|
||||
}
|
||||
}
|
||||
lbl_41:
|
||||
{
|
||||
obj* x_84; obj* x_85;
|
||||
x_84 = l_lean_parser_parsec_result_mk__eps___rarg___closed__1;
|
||||
x_85 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_84, x_40);
|
||||
if (lean::obj_tag(x_85) == 0)
|
||||
obj* x_73; obj* x_74;
|
||||
x_73 = l_lean_parser_parsec_result_mk__eps___rarg___closed__1;
|
||||
x_74 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_73, x_40);
|
||||
if (lean::obj_tag(x_74) == 0)
|
||||
{
|
||||
obj* x_86; obj* x_88; obj* x_90; obj* x_92; uint32 x_93; obj* x_94; obj* x_95; obj* x_96; obj* x_98; obj* x_99; obj* x_101; obj* x_102;
|
||||
x_86 = lean::cnstr_get(x_85, 0);
|
||||
x_88 = lean::cnstr_get(x_85, 1);
|
||||
x_90 = lean::cnstr_get(x_85, 2);
|
||||
if (lean::is_exclusive(x_85)) {
|
||||
x_92 = x_85;
|
||||
obj* x_75; obj* x_77; obj* x_79; obj* x_81; uint32 x_82; obj* x_83; obj* x_84; obj* x_85; obj* x_87; obj* x_88; obj* x_90; obj* x_91;
|
||||
x_75 = lean::cnstr_get(x_74, 0);
|
||||
x_77 = lean::cnstr_get(x_74, 1);
|
||||
x_79 = lean::cnstr_get(x_74, 2);
|
||||
if (lean::is_exclusive(x_74)) {
|
||||
x_81 = x_74;
|
||||
} else {
|
||||
lean::inc(x_86);
|
||||
lean::inc(x_88);
|
||||
lean::inc(x_90);
|
||||
lean::dec(x_85);
|
||||
x_92 = lean::box(0);
|
||||
lean::inc(x_75);
|
||||
lean::inc(x_77);
|
||||
lean::inc(x_79);
|
||||
lean::dec(x_74);
|
||||
x_81 = lean::box(0);
|
||||
}
|
||||
x_93 = lean::unbox_uint32(x_86);
|
||||
x_94 = lean::uint32_to_nat(x_93);
|
||||
x_95 = l_lean_parser_parse__hex__digit___rarg___lambda__3___closed__1;
|
||||
x_96 = lean::nat_sub(x_94, x_95);
|
||||
lean::dec(x_94);
|
||||
x_98 = lean::mk_nat_obj(10u);
|
||||
x_99 = lean::nat_add(x_98, x_96);
|
||||
lean::dec(x_96);
|
||||
if (lean::is_scalar(x_92)) {
|
||||
x_101 = lean::alloc_cnstr(0, 3, 0);
|
||||
x_82 = lean::unbox_uint32(x_75);
|
||||
x_83 = lean::uint32_to_nat(x_82);
|
||||
x_84 = l_lean_parser_parse__hex__digit___rarg___lambda__3___closed__1;
|
||||
x_85 = lean::nat_sub(x_83, x_84);
|
||||
lean::dec(x_83);
|
||||
x_87 = lean::mk_nat_obj(10u);
|
||||
x_88 = lean::nat_add(x_87, x_85);
|
||||
lean::dec(x_85);
|
||||
if (lean::is_scalar(x_81)) {
|
||||
x_90 = lean::alloc_cnstr(0, 3, 0);
|
||||
} else {
|
||||
x_101 = x_92;
|
||||
x_90 = x_81;
|
||||
}
|
||||
lean::cnstr_set(x_101, 0, x_99);
|
||||
lean::cnstr_set(x_101, 1, x_88);
|
||||
lean::cnstr_set(x_101, 2, x_84);
|
||||
x_102 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_90, x_101);
|
||||
if (lean::obj_tag(x_102) == 0)
|
||||
lean::cnstr_set(x_90, 0, x_88);
|
||||
lean::cnstr_set(x_90, 1, x_77);
|
||||
lean::cnstr_set(x_90, 2, x_73);
|
||||
x_91 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_79, x_90);
|
||||
if (lean::obj_tag(x_91) == 0)
|
||||
{
|
||||
obj* x_104; obj* x_105; obj* x_106;
|
||||
obj* x_93; obj* x_94; obj* x_95;
|
||||
lean::dec(x_0);
|
||||
x_104 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_2, x_102);
|
||||
x_105 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2___closed__1;
|
||||
x_106 = l_lean_parser_parsec__t_labels__mk__res___rarg(x_104, x_105);
|
||||
return x_106;
|
||||
x_93 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_2, x_91);
|
||||
x_94 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2___closed__1;
|
||||
x_95 = l_lean_parser_parsec__t_labels__mk__res___rarg(x_93, x_94);
|
||||
return x_95;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_107; uint8 x_109;
|
||||
x_107 = lean::cnstr_get(x_102, 0);
|
||||
lean::inc(x_107);
|
||||
x_109 = lean::cnstr_get_scalar<uint8>(x_102, sizeof(void*)*1);
|
||||
x_35 = x_102;
|
||||
x_36 = x_107;
|
||||
x_37 = x_109;
|
||||
obj* x_96; uint8 x_98;
|
||||
x_96 = lean::cnstr_get(x_91, 0);
|
||||
lean::inc(x_96);
|
||||
x_98 = lean::cnstr_get_scalar<uint8>(x_91, sizeof(void*)*1);
|
||||
x_35 = x_91;
|
||||
x_36 = x_96;
|
||||
x_37 = x_98;
|
||||
goto lbl_38;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_110; uint8 x_112; obj* x_113; obj* x_115; obj* x_116;
|
||||
x_110 = lean::cnstr_get(x_85, 0);
|
||||
x_112 = lean::cnstr_get_scalar<uint8>(x_85, sizeof(void*)*1);
|
||||
if (lean::is_exclusive(x_85)) {
|
||||
x_113 = x_85;
|
||||
obj* x_99; uint8 x_101; obj* x_102; obj* x_104; obj* x_105;
|
||||
x_99 = lean::cnstr_get(x_74, 0);
|
||||
x_101 = lean::cnstr_get_scalar<uint8>(x_74, sizeof(void*)*1);
|
||||
if (lean::is_exclusive(x_74)) {
|
||||
x_102 = x_74;
|
||||
} else {
|
||||
lean::inc(x_110);
|
||||
lean::dec(x_85);
|
||||
x_113 = lean::box(0);
|
||||
lean::inc(x_99);
|
||||
lean::dec(x_74);
|
||||
x_102 = lean::box(0);
|
||||
}
|
||||
lean::inc(x_110);
|
||||
if (lean::is_scalar(x_113)) {
|
||||
x_115 = lean::alloc_cnstr(1, 1, 1);
|
||||
lean::inc(x_99);
|
||||
if (lean::is_scalar(x_102)) {
|
||||
x_104 = lean::alloc_cnstr(1, 1, 1);
|
||||
} else {
|
||||
x_115 = x_113;
|
||||
x_104 = x_102;
|
||||
}
|
||||
lean::cnstr_set(x_115, 0, x_110);
|
||||
lean::cnstr_set_scalar(x_115, sizeof(void*)*1, x_112);
|
||||
x_116 = x_115;
|
||||
x_35 = x_116;
|
||||
x_36 = x_110;
|
||||
x_37 = x_112;
|
||||
lean::cnstr_set(x_104, 0, x_99);
|
||||
lean::cnstr_set_scalar(x_104, sizeof(void*)*1, x_101);
|
||||
x_105 = x_104;
|
||||
x_35 = x_105;
|
||||
x_36 = x_99;
|
||||
x_37 = x_101;
|
||||
goto lbl_38;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_119; obj* x_120;
|
||||
obj* x_108; obj* x_109;
|
||||
lean::dec(x_0);
|
||||
lean::dec(x_2);
|
||||
x_119 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2___closed__1;
|
||||
x_120 = l_lean_parser_parsec__t_labels__mk__res___rarg(x_1, x_119);
|
||||
return x_120;
|
||||
x_108 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2___closed__1;
|
||||
x_109 = l_lean_parser_parsec__t_labels__mk__res___rarg(x_1, x_108);
|
||||
return x_109;
|
||||
}
|
||||
lbl_38:
|
||||
{
|
||||
if (x_37 == 0)
|
||||
{
|
||||
obj* x_122; uint8 x_124;
|
||||
obj* x_111; uint8 x_113;
|
||||
lean::dec(x_35);
|
||||
x_124 = l_string_iterator_has__next___main(x_0);
|
||||
if (x_124 == 0)
|
||||
x_113 = l_string_iterator_has__next___main(x_0);
|
||||
if (x_113 == 0)
|
||||
{
|
||||
obj* x_125; obj* x_126; obj* x_127; obj* x_128;
|
||||
x_125 = lean::box(0);
|
||||
x_126 = l_lean_parser_monad__parsec_eoi__error___rarg___closed__1;
|
||||
x_127 = l_mjoin___rarg___closed__1;
|
||||
x_128 = l_lean_parser_monad__parsec_error___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__3___rarg(x_126, x_127, x_125, x_125, x_0);
|
||||
obj* x_114; obj* x_115; obj* x_116; obj* x_117;
|
||||
x_114 = lean::box(0);
|
||||
x_115 = l_lean_parser_monad__parsec_eoi__error___rarg___closed__1;
|
||||
x_116 = l_mjoin___rarg___closed__1;
|
||||
x_117 = l_lean_parser_monad__parsec_error___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__3___rarg(x_115, x_116, x_114, x_114, x_0);
|
||||
lean::dec(x_0);
|
||||
x_122 = x_128;
|
||||
goto lbl_123;
|
||||
x_111 = x_117;
|
||||
goto lbl_112;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32 x_130; uint32 x_131; uint8 x_132; uint8 x_134;
|
||||
x_130 = l_string_iterator_curr___main(x_0);
|
||||
x_131 = 65;
|
||||
x_134 = x_131 <= x_130;
|
||||
if (x_134 == 0)
|
||||
uint32 x_119; uint32 x_120; uint8 x_121;
|
||||
x_119 = l_string_iterator_curr___main(x_0);
|
||||
x_120 = 65;
|
||||
x_121 = x_120 <= x_119;
|
||||
if (x_121 == 0)
|
||||
{
|
||||
obj* x_135; obj* x_136; obj* x_137; obj* x_139; obj* x_140; obj* x_141; obj* x_142;
|
||||
x_135 = l_char_quote__core(x_130);
|
||||
x_136 = l_char_has__repr___closed__1;
|
||||
x_137 = lean::string_append(x_136, x_135);
|
||||
lean::dec(x_135);
|
||||
x_139 = lean::string_append(x_137, x_136);
|
||||
x_140 = lean::box(0);
|
||||
x_141 = l_mjoin___rarg___closed__1;
|
||||
x_142 = l_lean_parser_monad__parsec_error___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__3___rarg(x_139, x_141, x_140, x_140, x_0);
|
||||
obj* x_122; obj* x_123; obj* x_124; obj* x_126; obj* x_127; obj* x_128; obj* x_129;
|
||||
x_122 = l_char_quote__core(x_119);
|
||||
x_123 = l_char_has__repr___closed__1;
|
||||
x_124 = lean::string_append(x_123, x_122);
|
||||
lean::dec(x_122);
|
||||
x_126 = lean::string_append(x_124, x_123);
|
||||
x_127 = lean::box(0);
|
||||
x_128 = l_mjoin___rarg___closed__1;
|
||||
x_129 = l_lean_parser_monad__parsec_error___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__3___rarg(x_126, x_128, x_127, x_127, x_0);
|
||||
lean::dec(x_0);
|
||||
x_122 = x_142;
|
||||
goto lbl_123;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8 x_144;
|
||||
x_144 = 1;
|
||||
x_132 = x_144;
|
||||
goto lbl_133;
|
||||
}
|
||||
lbl_133:
|
||||
{
|
||||
uint32 x_145; uint8 x_146;
|
||||
x_145 = 70;
|
||||
x_146 = x_130 <= x_145;
|
||||
if (x_146 == 0)
|
||||
{
|
||||
obj* x_147; obj* x_148; obj* x_149; obj* x_151; obj* x_152; obj* x_153; obj* x_154;
|
||||
x_147 = l_char_quote__core(x_130);
|
||||
x_148 = l_char_has__repr___closed__1;
|
||||
x_149 = lean::string_append(x_148, x_147);
|
||||
lean::dec(x_147);
|
||||
x_151 = lean::string_append(x_149, x_148);
|
||||
x_152 = lean::box(0);
|
||||
x_153 = l_mjoin___rarg___closed__1;
|
||||
x_154 = l_lean_parser_monad__parsec_error___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__3___rarg(x_151, x_153, x_152, x_152, x_0);
|
||||
lean::dec(x_0);
|
||||
x_122 = x_154;
|
||||
goto lbl_123;
|
||||
x_111 = x_129;
|
||||
goto lbl_112;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32 x_131; uint8 x_132;
|
||||
x_131 = 70;
|
||||
x_132 = x_119 <= x_131;
|
||||
if (x_132 == 0)
|
||||
{
|
||||
obj* x_156; obj* x_157; obj* x_158; obj* x_160; obj* x_161; obj* x_162; obj* x_163;
|
||||
x_156 = l_char_quote__core(x_130);
|
||||
x_157 = l_char_has__repr___closed__1;
|
||||
x_158 = lean::string_append(x_157, x_156);
|
||||
obj* x_133; obj* x_134; obj* x_135; obj* x_137; obj* x_138; obj* x_139; obj* x_140;
|
||||
x_133 = l_char_quote__core(x_119);
|
||||
x_134 = l_char_has__repr___closed__1;
|
||||
x_135 = lean::string_append(x_134, x_133);
|
||||
lean::dec(x_133);
|
||||
x_137 = lean::string_append(x_135, x_134);
|
||||
x_138 = lean::box(0);
|
||||
x_139 = l_mjoin___rarg___closed__1;
|
||||
x_140 = l_lean_parser_monad__parsec_error___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__3___rarg(x_137, x_139, x_138, x_138, x_0);
|
||||
lean::dec(x_0);
|
||||
x_111 = x_140;
|
||||
goto lbl_112;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_142; obj* x_143; obj* x_144; obj* x_145;
|
||||
x_142 = l_string_iterator_next___main(x_0);
|
||||
x_143 = lean::box(0);
|
||||
x_144 = lean::box_uint32(x_119);
|
||||
x_145 = lean::alloc_cnstr(0, 3, 0);
|
||||
lean::cnstr_set(x_145, 0, x_144);
|
||||
lean::cnstr_set(x_145, 1, x_142);
|
||||
lean::cnstr_set(x_145, 2, x_143);
|
||||
x_111 = x_145;
|
||||
goto lbl_112;
|
||||
}
|
||||
}
|
||||
}
|
||||
lbl_112:
|
||||
{
|
||||
obj* x_146; obj* x_147;
|
||||
x_146 = l_lean_parser_parsec_result_mk__eps___rarg___closed__1;
|
||||
x_147 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_146, x_111);
|
||||
if (lean::obj_tag(x_147) == 0)
|
||||
{
|
||||
obj* x_148; obj* x_150; obj* x_152; obj* x_154; uint32 x_155; obj* x_156; obj* x_157; obj* x_158; obj* x_160; obj* x_161; obj* x_163; obj* x_164; obj* x_165; obj* x_166; obj* x_167; obj* x_168;
|
||||
x_148 = lean::cnstr_get(x_147, 0);
|
||||
x_150 = lean::cnstr_get(x_147, 1);
|
||||
x_152 = lean::cnstr_get(x_147, 2);
|
||||
if (lean::is_exclusive(x_147)) {
|
||||
x_154 = x_147;
|
||||
} else {
|
||||
lean::inc(x_148);
|
||||
lean::inc(x_150);
|
||||
lean::inc(x_152);
|
||||
lean::dec(x_147);
|
||||
x_154 = lean::box(0);
|
||||
}
|
||||
x_155 = lean::unbox_uint32(x_148);
|
||||
x_156 = lean::uint32_to_nat(x_155);
|
||||
x_157 = l_lean_parser_parse__hex__digit___rarg___lambda__5___closed__1;
|
||||
x_158 = lean::nat_sub(x_156, x_157);
|
||||
lean::dec(x_156);
|
||||
x_160 = lean::string_append(x_158, x_157);
|
||||
x_161 = lean::box(0);
|
||||
x_162 = l_mjoin___rarg___closed__1;
|
||||
x_163 = l_lean_parser_monad__parsec_error___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__3___rarg(x_160, x_162, x_161, x_161, x_0);
|
||||
x_160 = lean::mk_nat_obj(10u);
|
||||
x_161 = lean::nat_add(x_160, x_158);
|
||||
lean::dec(x_158);
|
||||
if (lean::is_scalar(x_154)) {
|
||||
x_163 = lean::alloc_cnstr(0, 3, 0);
|
||||
} else {
|
||||
x_163 = x_154;
|
||||
}
|
||||
lean::cnstr_set(x_163, 0, x_161);
|
||||
lean::cnstr_set(x_163, 1, x_150);
|
||||
lean::cnstr_set(x_163, 2, x_146);
|
||||
x_164 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_152, x_163);
|
||||
x_165 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_36, x_164);
|
||||
x_166 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_2, x_165);
|
||||
x_167 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2___closed__1;
|
||||
x_168 = l_lean_parser_parsec__t_labels__mk__res___rarg(x_166, x_167);
|
||||
return x_168;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_169; uint8 x_171; obj* x_172; obj* x_173; obj* x_174; obj* x_175; obj* x_176; obj* x_177; obj* x_178;
|
||||
x_169 = lean::cnstr_get(x_147, 0);
|
||||
x_171 = lean::cnstr_get_scalar<uint8>(x_147, sizeof(void*)*1);
|
||||
if (lean::is_exclusive(x_147)) {
|
||||
x_172 = x_147;
|
||||
} else {
|
||||
lean::inc(x_169);
|
||||
lean::dec(x_147);
|
||||
x_172 = lean::box(0);
|
||||
}
|
||||
if (lean::is_scalar(x_172)) {
|
||||
x_173 = lean::alloc_cnstr(1, 1, 1);
|
||||
} else {
|
||||
x_173 = x_172;
|
||||
}
|
||||
lean::cnstr_set(x_173, 0, x_169);
|
||||
lean::cnstr_set_scalar(x_173, sizeof(void*)*1, x_171);
|
||||
x_174 = x_173;
|
||||
x_175 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_36, x_174);
|
||||
x_176 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_2, x_175);
|
||||
x_177 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2___closed__1;
|
||||
x_178 = l_lean_parser_parsec__t_labels__mk__res___rarg(x_176, x_177);
|
||||
return x_178;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_181; obj* x_182; obj* x_183;
|
||||
lean::dec(x_0);
|
||||
x_122 = x_163;
|
||||
goto lbl_123;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_165; obj* x_166; obj* x_167; obj* x_168;
|
||||
x_165 = l_string_iterator_next___main(x_0);
|
||||
x_166 = lean::box(0);
|
||||
x_167 = lean::box_uint32(x_130);
|
||||
x_168 = lean::alloc_cnstr(0, 3, 0);
|
||||
lean::cnstr_set(x_168, 0, x_167);
|
||||
lean::cnstr_set(x_168, 1, x_165);
|
||||
lean::cnstr_set(x_168, 2, x_166);
|
||||
x_122 = x_168;
|
||||
goto lbl_123;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lbl_123:
|
||||
{
|
||||
obj* x_169; obj* x_170;
|
||||
x_169 = l_lean_parser_parsec_result_mk__eps___rarg___closed__1;
|
||||
x_170 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_169, x_122);
|
||||
if (lean::obj_tag(x_170) == 0)
|
||||
{
|
||||
obj* x_171; obj* x_173; obj* x_175; obj* x_177; uint32 x_178; obj* x_179; obj* x_180; obj* x_181; obj* x_183; obj* x_184; obj* x_186; obj* x_187; obj* x_188; obj* x_189; obj* x_190; obj* x_191;
|
||||
x_171 = lean::cnstr_get(x_170, 0);
|
||||
x_173 = lean::cnstr_get(x_170, 1);
|
||||
x_175 = lean::cnstr_get(x_170, 2);
|
||||
if (lean::is_exclusive(x_170)) {
|
||||
x_177 = x_170;
|
||||
} else {
|
||||
lean::inc(x_171);
|
||||
lean::inc(x_173);
|
||||
lean::inc(x_175);
|
||||
lean::dec(x_170);
|
||||
x_177 = lean::box(0);
|
||||
}
|
||||
x_178 = lean::unbox_uint32(x_171);
|
||||
x_179 = lean::uint32_to_nat(x_178);
|
||||
x_180 = l_lean_parser_parse__hex__digit___rarg___lambda__5___closed__1;
|
||||
x_181 = lean::nat_sub(x_179, x_180);
|
||||
lean::dec(x_179);
|
||||
x_183 = lean::mk_nat_obj(10u);
|
||||
x_184 = lean::nat_add(x_183, x_181);
|
||||
lean::dec(x_181);
|
||||
if (lean::is_scalar(x_177)) {
|
||||
x_186 = lean::alloc_cnstr(0, 3, 0);
|
||||
} else {
|
||||
x_186 = x_177;
|
||||
}
|
||||
lean::cnstr_set(x_186, 0, x_184);
|
||||
lean::cnstr_set(x_186, 1, x_173);
|
||||
lean::cnstr_set(x_186, 2, x_169);
|
||||
x_187 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_175, x_186);
|
||||
x_188 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_36, x_187);
|
||||
x_189 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_2, x_188);
|
||||
x_190 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2___closed__1;
|
||||
x_191 = l_lean_parser_parsec__t_labels__mk__res___rarg(x_189, x_190);
|
||||
return x_191;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_192; uint8 x_194; obj* x_195; obj* x_196; obj* x_197; obj* x_198; obj* x_199; obj* x_200; obj* x_201;
|
||||
x_192 = lean::cnstr_get(x_170, 0);
|
||||
x_194 = lean::cnstr_get_scalar<uint8>(x_170, sizeof(void*)*1);
|
||||
if (lean::is_exclusive(x_170)) {
|
||||
x_195 = x_170;
|
||||
} else {
|
||||
lean::inc(x_192);
|
||||
lean::dec(x_170);
|
||||
x_195 = lean::box(0);
|
||||
}
|
||||
if (lean::is_scalar(x_195)) {
|
||||
x_196 = lean::alloc_cnstr(1, 1, 1);
|
||||
} else {
|
||||
x_196 = x_195;
|
||||
}
|
||||
lean::cnstr_set(x_196, 0, x_192);
|
||||
lean::cnstr_set_scalar(x_196, sizeof(void*)*1, x_194);
|
||||
x_197 = x_196;
|
||||
x_198 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_36, x_197);
|
||||
x_199 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_2, x_198);
|
||||
x_200 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2___closed__1;
|
||||
x_201 = l_lean_parser_parsec__t_labels__mk__res___rarg(x_199, x_200);
|
||||
return x_201;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_204; obj* x_205; obj* x_206;
|
||||
lean::dec(x_36);
|
||||
lean::dec(x_0);
|
||||
x_204 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_2, x_35);
|
||||
x_205 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2___closed__1;
|
||||
x_206 = l_lean_parser_parsec__t_labels__mk__res___rarg(x_204, x_205);
|
||||
return x_206;
|
||||
x_181 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_2, x_35);
|
||||
x_182 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2___closed__1;
|
||||
x_183 = l_lean_parser_parsec__t_labels__mk__res___rarg(x_181, x_182);
|
||||
return x_183;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -140,80 +140,55 @@ return x_9;
|
|||
}
|
||||
else
|
||||
{
|
||||
uint32 x_10; uint32 x_11; uint8 x_12; uint8 x_14;
|
||||
uint32 x_10; uint32 x_11; uint8 x_12;
|
||||
x_10 = l_string_iterator_curr___main(x_2);
|
||||
x_11 = 97;
|
||||
x_14 = x_11 <= x_10;
|
||||
if (x_14 == 0)
|
||||
{
|
||||
obj* x_17; obj* x_18; obj* x_19; obj* x_21; obj* x_22; obj* x_23; obj* x_24;
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_2);
|
||||
x_17 = l_char_quote__core(x_10);
|
||||
x_18 = l_char_has__repr___closed__1;
|
||||
x_19 = lean::string_append(x_18, x_17);
|
||||
lean::dec(x_17);
|
||||
x_21 = lean::string_append(x_19, x_18);
|
||||
x_22 = lean::box(0);
|
||||
x_23 = l_mjoin___rarg___closed__1;
|
||||
x_24 = l_lean_parser_monad__parsec_error___rarg(x_0, lean::box(0), x_21, x_23, x_22, x_22);
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8 x_25;
|
||||
x_25 = 1;
|
||||
x_12 = x_25;
|
||||
goto lbl_13;
|
||||
}
|
||||
lbl_13:
|
||||
{
|
||||
uint32 x_26; uint8 x_27;
|
||||
x_26 = 102;
|
||||
x_27 = x_10 <= x_26;
|
||||
if (x_27 == 0)
|
||||
{
|
||||
obj* x_30; obj* x_31; obj* x_32; obj* x_34; obj* x_35; obj* x_36; obj* x_37;
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_2);
|
||||
x_30 = l_char_quote__core(x_10);
|
||||
x_31 = l_char_has__repr___closed__1;
|
||||
x_32 = lean::string_append(x_31, x_30);
|
||||
lean::dec(x_30);
|
||||
x_34 = lean::string_append(x_32, x_31);
|
||||
x_35 = lean::box(0);
|
||||
x_36 = l_mjoin___rarg___closed__1;
|
||||
x_37 = l_lean_parser_monad__parsec_error___rarg(x_0, lean::box(0), x_34, x_36, x_35, x_35);
|
||||
return x_37;
|
||||
}
|
||||
else
|
||||
{
|
||||
x_12 = x_11 <= x_10;
|
||||
if (x_12 == 0)
|
||||
{
|
||||
obj* x_40; obj* x_41; obj* x_42; obj* x_44; obj* x_45; obj* x_46; obj* x_47;
|
||||
obj* x_15; obj* x_16; obj* x_17; obj* x_19; obj* x_20; obj* x_21; obj* x_22;
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_2);
|
||||
x_40 = l_char_quote__core(x_10);
|
||||
x_41 = l_char_has__repr___closed__1;
|
||||
x_42 = lean::string_append(x_41, x_40);
|
||||
lean::dec(x_40);
|
||||
x_44 = lean::string_append(x_42, x_41);
|
||||
x_45 = lean::box(0);
|
||||
x_46 = l_mjoin___rarg___closed__1;
|
||||
x_47 = l_lean_parser_monad__parsec_error___rarg(x_0, lean::box(0), x_44, x_46, x_45, x_45);
|
||||
return x_47;
|
||||
x_15 = l_char_quote__core(x_10);
|
||||
x_16 = l_char_has__repr___closed__1;
|
||||
x_17 = lean::string_append(x_16, x_15);
|
||||
lean::dec(x_15);
|
||||
x_19 = lean::string_append(x_17, x_16);
|
||||
x_20 = lean::box(0);
|
||||
x_21 = l_mjoin___rarg___closed__1;
|
||||
x_22 = l_lean_parser_monad__parsec_error___rarg(x_0, lean::box(0), x_19, x_21, x_20, x_20);
|
||||
return x_22;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_49; obj* x_50; obj* x_51;
|
||||
lean::dec(x_0);
|
||||
x_49 = lean::box_uint32(x_10);
|
||||
x_50 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_parser_monad__parsec_satisfy___rarg___lambda__1___boxed), 3, 2);
|
||||
lean::closure_set(x_50, 0, x_2);
|
||||
lean::closure_set(x_50, 1, x_49);
|
||||
x_51 = lean::apply_2(x_1, lean::box(0), x_50);
|
||||
return x_51;
|
||||
uint32 x_23; uint8 x_24;
|
||||
x_23 = 102;
|
||||
x_24 = x_10 <= x_23;
|
||||
if (x_24 == 0)
|
||||
{
|
||||
obj* x_27; obj* x_28; obj* x_29; obj* x_31; obj* x_32; obj* x_33; obj* x_34;
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_2);
|
||||
x_27 = l_char_quote__core(x_10);
|
||||
x_28 = l_char_has__repr___closed__1;
|
||||
x_29 = lean::string_append(x_28, x_27);
|
||||
lean::dec(x_27);
|
||||
x_31 = lean::string_append(x_29, x_28);
|
||||
x_32 = lean::box(0);
|
||||
x_33 = l_mjoin___rarg___closed__1;
|
||||
x_34 = l_lean_parser_monad__parsec_error___rarg(x_0, lean::box(0), x_31, x_33, x_32, x_32);
|
||||
return x_34;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_36; obj* x_37; obj* x_38;
|
||||
lean::dec(x_0);
|
||||
x_36 = lean::box_uint32(x_10);
|
||||
x_37 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_parser_monad__parsec_satisfy___rarg___lambda__1___boxed), 3, 2);
|
||||
lean::closure_set(x_37, 0, x_2);
|
||||
lean::closure_set(x_37, 1, x_36);
|
||||
x_38 = lean::apply_2(x_1, lean::box(0), x_37);
|
||||
return x_38;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -267,80 +242,55 @@ return x_9;
|
|||
}
|
||||
else
|
||||
{
|
||||
uint32 x_10; uint32 x_11; uint8 x_12; uint8 x_14;
|
||||
uint32 x_10; uint32 x_11; uint8 x_12;
|
||||
x_10 = l_string_iterator_curr___main(x_2);
|
||||
x_11 = 65;
|
||||
x_14 = x_11 <= x_10;
|
||||
if (x_14 == 0)
|
||||
{
|
||||
obj* x_17; obj* x_18; obj* x_19; obj* x_21; obj* x_22; obj* x_23; obj* x_24;
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_2);
|
||||
x_17 = l_char_quote__core(x_10);
|
||||
x_18 = l_char_has__repr___closed__1;
|
||||
x_19 = lean::string_append(x_18, x_17);
|
||||
lean::dec(x_17);
|
||||
x_21 = lean::string_append(x_19, x_18);
|
||||
x_22 = lean::box(0);
|
||||
x_23 = l_mjoin___rarg___closed__1;
|
||||
x_24 = l_lean_parser_monad__parsec_error___rarg(x_0, lean::box(0), x_21, x_23, x_22, x_22);
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8 x_25;
|
||||
x_25 = 1;
|
||||
x_12 = x_25;
|
||||
goto lbl_13;
|
||||
}
|
||||
lbl_13:
|
||||
{
|
||||
uint32 x_26; uint8 x_27;
|
||||
x_26 = 70;
|
||||
x_27 = x_10 <= x_26;
|
||||
if (x_27 == 0)
|
||||
{
|
||||
obj* x_30; obj* x_31; obj* x_32; obj* x_34; obj* x_35; obj* x_36; obj* x_37;
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_2);
|
||||
x_30 = l_char_quote__core(x_10);
|
||||
x_31 = l_char_has__repr___closed__1;
|
||||
x_32 = lean::string_append(x_31, x_30);
|
||||
lean::dec(x_30);
|
||||
x_34 = lean::string_append(x_32, x_31);
|
||||
x_35 = lean::box(0);
|
||||
x_36 = l_mjoin___rarg___closed__1;
|
||||
x_37 = l_lean_parser_monad__parsec_error___rarg(x_0, lean::box(0), x_34, x_36, x_35, x_35);
|
||||
return x_37;
|
||||
}
|
||||
else
|
||||
{
|
||||
x_12 = x_11 <= x_10;
|
||||
if (x_12 == 0)
|
||||
{
|
||||
obj* x_40; obj* x_41; obj* x_42; obj* x_44; obj* x_45; obj* x_46; obj* x_47;
|
||||
obj* x_15; obj* x_16; obj* x_17; obj* x_19; obj* x_20; obj* x_21; obj* x_22;
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_2);
|
||||
x_40 = l_char_quote__core(x_10);
|
||||
x_41 = l_char_has__repr___closed__1;
|
||||
x_42 = lean::string_append(x_41, x_40);
|
||||
lean::dec(x_40);
|
||||
x_44 = lean::string_append(x_42, x_41);
|
||||
x_45 = lean::box(0);
|
||||
x_46 = l_mjoin___rarg___closed__1;
|
||||
x_47 = l_lean_parser_monad__parsec_error___rarg(x_0, lean::box(0), x_44, x_46, x_45, x_45);
|
||||
return x_47;
|
||||
x_15 = l_char_quote__core(x_10);
|
||||
x_16 = l_char_has__repr___closed__1;
|
||||
x_17 = lean::string_append(x_16, x_15);
|
||||
lean::dec(x_15);
|
||||
x_19 = lean::string_append(x_17, x_16);
|
||||
x_20 = lean::box(0);
|
||||
x_21 = l_mjoin___rarg___closed__1;
|
||||
x_22 = l_lean_parser_monad__parsec_error___rarg(x_0, lean::box(0), x_19, x_21, x_20, x_20);
|
||||
return x_22;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_49; obj* x_50; obj* x_51;
|
||||
lean::dec(x_0);
|
||||
x_49 = lean::box_uint32(x_10);
|
||||
x_50 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_parser_monad__parsec_satisfy___rarg___lambda__1___boxed), 3, 2);
|
||||
lean::closure_set(x_50, 0, x_2);
|
||||
lean::closure_set(x_50, 1, x_49);
|
||||
x_51 = lean::apply_2(x_1, lean::box(0), x_50);
|
||||
return x_51;
|
||||
uint32 x_23; uint8 x_24;
|
||||
x_23 = 70;
|
||||
x_24 = x_10 <= x_23;
|
||||
if (x_24 == 0)
|
||||
{
|
||||
obj* x_27; obj* x_28; obj* x_29; obj* x_31; obj* x_32; obj* x_33; obj* x_34;
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_2);
|
||||
x_27 = l_char_quote__core(x_10);
|
||||
x_28 = l_char_has__repr___closed__1;
|
||||
x_29 = lean::string_append(x_28, x_27);
|
||||
lean::dec(x_27);
|
||||
x_31 = lean::string_append(x_29, x_28);
|
||||
x_32 = lean::box(0);
|
||||
x_33 = l_mjoin___rarg___closed__1;
|
||||
x_34 = l_lean_parser_monad__parsec_error___rarg(x_0, lean::box(0), x_31, x_33, x_32, x_32);
|
||||
return x_34;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_36; obj* x_37; obj* x_38;
|
||||
lean::dec(x_0);
|
||||
x_36 = lean::box_uint32(x_10);
|
||||
x_37 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_parser_monad__parsec_satisfy___rarg___lambda__1___boxed), 3, 2);
|
||||
lean::closure_set(x_37, 0, x_2);
|
||||
lean::closure_set(x_37, 1, x_36);
|
||||
x_38 = lean::apply_2(x_1, lean::box(0), x_37);
|
||||
return x_38;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -602,157 +552,152 @@ return x_0;
|
|||
obj* l_lean_parser_parse__quoted__char___rarg___lambda__7(obj* x_0, obj* x_1, obj* x_2, obj* x_3, obj* x_4, uint32 x_5) {
|
||||
_start:
|
||||
{
|
||||
obj* x_6; obj* x_8; obj* x_10; uint32 x_12; uint8 x_13;
|
||||
x_12 = 92;
|
||||
uint32 x_6; uint8 x_7;
|
||||
x_6 = 92;
|
||||
x_7 = x_5 == x_6;
|
||||
if (x_7 == 0)
|
||||
{
|
||||
uint32 x_8; uint8 x_9;
|
||||
x_8 = 34;
|
||||
x_9 = x_5 == x_8;
|
||||
if (x_9 == 0)
|
||||
{
|
||||
uint32 x_10; uint8 x_11;
|
||||
x_10 = 39;
|
||||
x_11 = x_5 == x_10;
|
||||
if (x_11 == 0)
|
||||
{
|
||||
uint32 x_12; uint8 x_13;
|
||||
x_12 = 110;
|
||||
x_13 = x_5 == x_12;
|
||||
if (x_13 == 0)
|
||||
{
|
||||
obj* x_14;
|
||||
x_14 = lean::box(0);
|
||||
x_10 = x_14;
|
||||
goto lbl_11;
|
||||
uint32 x_14; uint8 x_15;
|
||||
x_14 = 116;
|
||||
x_15 = x_5 == x_14;
|
||||
if (x_15 == 0)
|
||||
{
|
||||
uint32 x_16; uint8 x_17;
|
||||
x_16 = 120;
|
||||
x_17 = x_5 == x_16;
|
||||
if (x_17 == 0)
|
||||
{
|
||||
uint32 x_18; uint8 x_19;
|
||||
x_18 = 117;
|
||||
x_19 = x_5 == x_18;
|
||||
if (x_19 == 0)
|
||||
{
|
||||
obj* x_23; obj* x_24;
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_3);
|
||||
lean::dec(x_2);
|
||||
x_23 = l_lean_parser_parse__quoted__char___rarg___lambda__7___closed__1;
|
||||
x_24 = l_lean_parser_monad__parsec_unexpected__at___rarg(x_0, lean::box(0), x_23, x_1);
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_19; obj* x_22; obj* x_25; obj* x_26;
|
||||
obj* x_27; obj* x_30; obj* x_31;
|
||||
lean::dec(x_1);
|
||||
lean::inc(x_3);
|
||||
x_27 = l_lean_parser_parse__hex__digit___rarg(x_2, x_0, x_3);
|
||||
lean::inc(x_27);
|
||||
lean::inc(x_4);
|
||||
x_30 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_parser_parse__quoted__char___rarg___lambda__4), 4, 3);
|
||||
lean::closure_set(x_30, 0, x_3);
|
||||
lean::closure_set(x_30, 1, x_4);
|
||||
lean::closure_set(x_30, 2, x_27);
|
||||
x_31 = lean::apply_4(x_4, lean::box(0), lean::box(0), x_27, x_30);
|
||||
return x_31;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_34; obj* x_37; obj* x_38;
|
||||
lean::dec(x_1);
|
||||
lean::inc(x_3);
|
||||
x_34 = l_lean_parser_parse__hex__digit___rarg(x_2, x_0, x_3);
|
||||
lean::inc(x_34);
|
||||
lean::inc(x_4);
|
||||
x_37 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_parser_parse__quoted__char___rarg___lambda__6), 4, 3);
|
||||
lean::closure_set(x_37, 0, x_3);
|
||||
lean::closure_set(x_37, 1, x_4);
|
||||
lean::closure_set(x_37, 2, x_34);
|
||||
x_38 = lean::apply_4(x_4, lean::box(0), lean::box(0), x_34, x_37);
|
||||
return x_38;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_43; obj* x_46; uint32 x_49; obj* x_50; obj* x_51;
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_0);
|
||||
lean::dec(x_2);
|
||||
x_19 = lean::cnstr_get(x_3, 0);
|
||||
lean::inc(x_19);
|
||||
x_43 = lean::cnstr_get(x_3, 0);
|
||||
lean::inc(x_43);
|
||||
lean::dec(x_3);
|
||||
x_22 = lean::cnstr_get(x_19, 1);
|
||||
lean::inc(x_22);
|
||||
lean::dec(x_19);
|
||||
x_25 = lean::box_uint32(x_12);
|
||||
x_26 = lean::apply_2(x_22, lean::box(0), x_25);
|
||||
return x_26;
|
||||
}
|
||||
lbl_7:
|
||||
{
|
||||
uint32 x_28; uint8 x_29;
|
||||
lean::dec(x_6);
|
||||
x_28 = 117;
|
||||
x_29 = x_5 == x_28;
|
||||
if (x_29 == 0)
|
||||
{
|
||||
obj* x_33; obj* x_34;
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_3);
|
||||
lean::dec(x_2);
|
||||
x_33 = l_lean_parser_parse__quoted__char___rarg___lambda__7___closed__1;
|
||||
x_34 = l_lean_parser_monad__parsec_unexpected__at___rarg(x_0, lean::box(0), x_33, x_1);
|
||||
return x_34;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_37; obj* x_40; obj* x_41;
|
||||
lean::dec(x_1);
|
||||
lean::inc(x_3);
|
||||
x_37 = l_lean_parser_parse__hex__digit___rarg(x_2, x_0, x_3);
|
||||
lean::inc(x_37);
|
||||
lean::inc(x_4);
|
||||
x_40 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_parser_parse__quoted__char___rarg___lambda__4), 4, 3);
|
||||
lean::closure_set(x_40, 0, x_3);
|
||||
lean::closure_set(x_40, 1, x_4);
|
||||
lean::closure_set(x_40, 2, x_37);
|
||||
x_41 = lean::apply_4(x_4, lean::box(0), lean::box(0), x_37, x_40);
|
||||
return x_41;
|
||||
}
|
||||
}
|
||||
lbl_9:
|
||||
{
|
||||
uint32 x_43; uint8 x_44;
|
||||
lean::dec(x_8);
|
||||
x_43 = 116;
|
||||
x_44 = x_5 == x_43;
|
||||
if (x_44 == 0)
|
||||
{
|
||||
uint32 x_45; uint8 x_46;
|
||||
x_45 = 120;
|
||||
x_46 = x_5 == x_45;
|
||||
if (x_46 == 0)
|
||||
{
|
||||
obj* x_47;
|
||||
x_47 = lean::box(0);
|
||||
x_6 = x_47;
|
||||
goto lbl_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_50; obj* x_53; obj* x_54;
|
||||
lean::dec(x_1);
|
||||
lean::inc(x_3);
|
||||
x_50 = l_lean_parser_parse__hex__digit___rarg(x_2, x_0, x_3);
|
||||
lean::inc(x_50);
|
||||
lean::inc(x_4);
|
||||
x_53 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_parser_parse__quoted__char___rarg___lambda__6), 4, 3);
|
||||
lean::closure_set(x_53, 0, x_3);
|
||||
lean::closure_set(x_53, 1, x_4);
|
||||
lean::closure_set(x_53, 2, x_50);
|
||||
x_54 = lean::apply_4(x_4, lean::box(0), lean::box(0), x_50, x_53);
|
||||
return x_54;
|
||||
x_46 = lean::cnstr_get(x_43, 1);
|
||||
lean::inc(x_46);
|
||||
lean::dec(x_43);
|
||||
x_49 = 9;
|
||||
x_50 = lean::box_uint32(x_49);
|
||||
x_51 = lean::apply_2(x_46, lean::box(0), x_50);
|
||||
return x_51;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_59; obj* x_62; uint32 x_65; obj* x_66; obj* x_67;
|
||||
obj* x_56; obj* x_59; uint32 x_62; obj* x_63; obj* x_64;
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_0);
|
||||
lean::dec(x_2);
|
||||
x_59 = lean::cnstr_get(x_3, 0);
|
||||
x_56 = lean::cnstr_get(x_3, 0);
|
||||
lean::inc(x_56);
|
||||
lean::dec(x_3);
|
||||
x_59 = lean::cnstr_get(x_56, 1);
|
||||
lean::inc(x_59);
|
||||
lean::dec(x_3);
|
||||
x_62 = lean::cnstr_get(x_59, 1);
|
||||
lean::inc(x_62);
|
||||
lean::dec(x_59);
|
||||
x_65 = 9;
|
||||
x_66 = lean::box_uint32(x_65);
|
||||
x_67 = lean::apply_2(x_62, lean::box(0), x_66);
|
||||
return x_67;
|
||||
lean::dec(x_56);
|
||||
x_62 = 10;
|
||||
x_63 = lean::box_uint32(x_62);
|
||||
x_64 = lean::apply_2(x_59, lean::box(0), x_63);
|
||||
return x_64;
|
||||
}
|
||||
}
|
||||
lbl_11:
|
||||
{
|
||||
uint32 x_69; uint8 x_70;
|
||||
lean::dec(x_10);
|
||||
x_69 = 34;
|
||||
x_70 = x_5 == x_69;
|
||||
if (x_70 == 0)
|
||||
{
|
||||
uint32 x_71; uint8 x_72;
|
||||
x_71 = 39;
|
||||
x_72 = x_5 == x_71;
|
||||
if (x_72 == 0)
|
||||
{
|
||||
uint32 x_73; uint8 x_74;
|
||||
x_73 = 110;
|
||||
x_74 = x_5 == x_73;
|
||||
if (x_74 == 0)
|
||||
{
|
||||
obj* x_75;
|
||||
x_75 = lean::box(0);
|
||||
x_8 = x_75;
|
||||
goto lbl_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_80; obj* x_83; uint32 x_86; obj* x_87; obj* x_88;
|
||||
obj* x_69; obj* x_72; obj* x_75; obj* x_76;
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_0);
|
||||
lean::dec(x_2);
|
||||
x_80 = lean::cnstr_get(x_3, 0);
|
||||
lean::inc(x_80);
|
||||
x_69 = lean::cnstr_get(x_3, 0);
|
||||
lean::inc(x_69);
|
||||
lean::dec(x_3);
|
||||
x_83 = lean::cnstr_get(x_80, 1);
|
||||
lean::inc(x_83);
|
||||
lean::dec(x_80);
|
||||
x_86 = 10;
|
||||
x_87 = lean::box_uint32(x_86);
|
||||
x_88 = lean::apply_2(x_83, lean::box(0), x_87);
|
||||
x_72 = lean::cnstr_get(x_69, 1);
|
||||
lean::inc(x_72);
|
||||
lean::dec(x_69);
|
||||
x_75 = lean::box_uint32(x_10);
|
||||
x_76 = lean::apply_2(x_72, lean::box(0), x_75);
|
||||
return x_76;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_81; obj* x_84; obj* x_87; obj* x_88;
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_0);
|
||||
lean::dec(x_2);
|
||||
x_81 = lean::cnstr_get(x_3, 0);
|
||||
lean::inc(x_81);
|
||||
lean::dec(x_3);
|
||||
x_84 = lean::cnstr_get(x_81, 1);
|
||||
lean::inc(x_84);
|
||||
lean::dec(x_81);
|
||||
x_87 = lean::box_uint32(x_8);
|
||||
x_88 = lean::apply_2(x_84, lean::box(0), x_87);
|
||||
return x_88;
|
||||
}
|
||||
}
|
||||
|
|
@ -769,30 +714,11 @@ lean::dec(x_3);
|
|||
x_96 = lean::cnstr_get(x_93, 1);
|
||||
lean::inc(x_96);
|
||||
lean::dec(x_93);
|
||||
x_99 = lean::box_uint32(x_71);
|
||||
x_99 = lean::box_uint32(x_6);
|
||||
x_100 = lean::apply_2(x_96, lean::box(0), x_99);
|
||||
return x_100;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_105; obj* x_108; obj* x_111; obj* x_112;
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_0);
|
||||
lean::dec(x_2);
|
||||
x_105 = lean::cnstr_get(x_3, 0);
|
||||
lean::inc(x_105);
|
||||
lean::dec(x_3);
|
||||
x_108 = lean::cnstr_get(x_105, 1);
|
||||
lean::inc(x_108);
|
||||
lean::dec(x_105);
|
||||
x_111 = lean::box_uint32(x_69);
|
||||
x_112 = lean::apply_2(x_108, lean::box(0), x_111);
|
||||
return x_112;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
obj* l_lean_parser_parse__quoted__char___rarg___lambda__8(obj* x_0, obj* x_1, obj* x_2, obj* x_3, obj* x_4) {
|
||||
_start:
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -660,7 +660,7 @@ return x_13;
|
|||
obj* l_lean_trace_lean_trace_monad__tracer___rarg___lambda__4(obj* x_0, obj* x_1, obj* x_2, obj* x_3, obj* x_4, obj* x_5, obj* x_6) {
|
||||
_start:
|
||||
{
|
||||
obj* x_7; obj* x_9; obj* x_11; obj* x_12; obj* x_14; obj* x_17;
|
||||
obj* x_7; obj* x_9; obj* x_11; obj* x_12; obj* x_15;
|
||||
x_7 = lean::cnstr_get(x_6, 0);
|
||||
x_9 = lean::cnstr_get(x_6, 1);
|
||||
if (lean::is_exclusive(x_6)) {
|
||||
|
|
@ -673,88 +673,91 @@ if (lean::is_exclusive(x_6)) {
|
|||
lean::dec(x_6);
|
||||
x_11 = lean::box(0);
|
||||
}
|
||||
x_14 = lean::cnstr_get(x_7, 0);
|
||||
lean::inc(x_14);
|
||||
x_12 = lean::cnstr_get(x_7, 0);
|
||||
lean::inc(x_12);
|
||||
lean::dec(x_7);
|
||||
x_17 = l_lean_kvmap_get__bool(x_14, x_5);
|
||||
if (lean::obj_tag(x_17) == 0)
|
||||
x_15 = l_lean_kvmap_get__bool(x_12, x_0);
|
||||
if (lean::obj_tag(x_15) == 0)
|
||||
{
|
||||
obj* x_23; obj* x_25;
|
||||
obj* x_21; obj* x_23;
|
||||
lean::dec(x_5);
|
||||
lean::dec(x_11);
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_3);
|
||||
lean::dec(x_0);
|
||||
x_23 = lean::thunk_get(x_2);
|
||||
lean::dec(x_2);
|
||||
x_25 = lean::apply_1(x_23, x_9);
|
||||
return x_25;
|
||||
x_21 = lean::thunk_get(x_1);
|
||||
lean::dec(x_1);
|
||||
x_23 = lean::apply_1(x_21, x_9);
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_26; uint8 x_29;
|
||||
x_26 = lean::cnstr_get(x_17, 0);
|
||||
lean::inc(x_26);
|
||||
lean::dec(x_17);
|
||||
x_29 = lean::unbox(x_26);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
obj* x_35; obj* x_37;
|
||||
lean::dec(x_11);
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_3);
|
||||
lean::dec(x_0);
|
||||
x_35 = lean::thunk_get(x_2);
|
||||
lean::dec(x_2);
|
||||
x_37 = lean::apply_1(x_35, x_9);
|
||||
return x_37;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_38;
|
||||
x_38 = lean::box(0);
|
||||
x_12 = x_38;
|
||||
goto lbl_13;
|
||||
}
|
||||
}
|
||||
lbl_13:
|
||||
{
|
||||
obj* x_40; obj* x_42; obj* x_46; obj* x_47; obj* x_48; obj* x_49; obj* x_50; obj* x_52; obj* x_54; obj* x_55;
|
||||
lean::dec(x_12);
|
||||
x_40 = lean::cnstr_get(x_9, 0);
|
||||
lean::inc(x_40);
|
||||
x_42 = lean::cnstr_get(x_9, 1);
|
||||
lean::inc(x_42);
|
||||
lean::dec(x_9);
|
||||
lean::inc(x_0);
|
||||
x_46 = lean::alloc_cnstr(1, 1, 0);
|
||||
lean::cnstr_set(x_46, 0, x_0);
|
||||
x_47 = lean::box(0);
|
||||
x_48 = lean::alloc_cnstr(0, 4, 0);
|
||||
lean::cnstr_set(x_48, 0, x_40);
|
||||
lean::cnstr_set(x_48, 1, x_42);
|
||||
lean::cnstr_set(x_48, 2, x_46);
|
||||
lean::cnstr_set(x_48, 3, x_47);
|
||||
x_49 = lean::box(0);
|
||||
if (lean::is_scalar(x_11)) {
|
||||
x_50 = lean::alloc_cnstr(0, 2, 0);
|
||||
obj* x_24; obj* x_26; uint8 x_27;
|
||||
x_24 = lean::cnstr_get(x_15, 0);
|
||||
if (lean::is_exclusive(x_15)) {
|
||||
lean::cnstr_set(x_15, 0, lean::box(0));
|
||||
x_26 = x_15;
|
||||
} else {
|
||||
x_50 = x_11;
|
||||
lean::inc(x_24);
|
||||
lean::dec(x_15);
|
||||
x_26 = lean::box(0);
|
||||
}
|
||||
x_27 = lean::unbox(x_24);
|
||||
if (x_27 == 0)
|
||||
{
|
||||
obj* x_34; obj* x_36;
|
||||
lean::dec(x_5);
|
||||
lean::dec(x_11);
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_3);
|
||||
lean::dec(x_2);
|
||||
lean::dec(x_26);
|
||||
x_34 = lean::thunk_get(x_1);
|
||||
lean::dec(x_1);
|
||||
x_36 = lean::apply_1(x_34, x_9);
|
||||
return x_36;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_37; obj* x_39; obj* x_43; obj* x_44; obj* x_45; obj* x_46; obj* x_47; obj* x_49; obj* x_51; obj* x_52;
|
||||
x_37 = lean::cnstr_get(x_9, 0);
|
||||
lean::inc(x_37);
|
||||
x_39 = lean::cnstr_get(x_9, 1);
|
||||
lean::inc(x_39);
|
||||
lean::dec(x_9);
|
||||
lean::inc(x_2);
|
||||
if (lean::is_scalar(x_26)) {
|
||||
x_43 = lean::alloc_cnstr(1, 1, 0);
|
||||
} else {
|
||||
x_43 = x_26;
|
||||
}
|
||||
lean::cnstr_set(x_43, 0, x_2);
|
||||
x_44 = lean::box(0);
|
||||
x_45 = lean::alloc_cnstr(0, 4, 0);
|
||||
lean::cnstr_set(x_45, 0, x_37);
|
||||
lean::cnstr_set(x_45, 1, x_39);
|
||||
lean::cnstr_set(x_45, 2, x_43);
|
||||
lean::cnstr_set(x_45, 3, x_44);
|
||||
x_46 = lean::box(0);
|
||||
if (lean::is_scalar(x_11)) {
|
||||
x_47 = lean::alloc_cnstr(0, 2, 0);
|
||||
} else {
|
||||
x_47 = x_11;
|
||||
}
|
||||
lean::cnstr_set(x_47, 0, x_46);
|
||||
lean::cnstr_set(x_47, 1, x_45);
|
||||
lean::inc(x_3);
|
||||
x_49 = lean::apply_2(x_3, lean::box(0), x_47);
|
||||
lean::inc(x_5);
|
||||
x_51 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_trace_lean_trace_monad__tracer___rarg___lambda__3___boxed), 6, 5);
|
||||
lean::closure_set(x_51, 0, x_1);
|
||||
lean::closure_set(x_51, 1, x_4);
|
||||
lean::closure_set(x_51, 2, x_2);
|
||||
lean::closure_set(x_51, 3, x_3);
|
||||
lean::closure_set(x_51, 4, x_5);
|
||||
x_52 = lean::apply_4(x_5, lean::box(0), lean::box(0), x_49, x_51);
|
||||
return x_52;
|
||||
}
|
||||
lean::cnstr_set(x_50, 0, x_49);
|
||||
lean::cnstr_set(x_50, 1, x_48);
|
||||
lean::inc(x_1);
|
||||
x_52 = lean::apply_2(x_1, lean::box(0), x_50);
|
||||
lean::inc(x_4);
|
||||
x_54 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_trace_lean_trace_monad__tracer___rarg___lambda__3___boxed), 6, 5);
|
||||
lean::closure_set(x_54, 0, x_2);
|
||||
lean::closure_set(x_54, 1, x_3);
|
||||
lean::closure_set(x_54, 2, x_0);
|
||||
lean::closure_set(x_54, 3, x_1);
|
||||
lean::closure_set(x_54, 4, x_4);
|
||||
x_55 = lean::apply_4(x_4, lean::box(0), lean::box(0), x_52, x_54);
|
||||
return x_55;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -778,12 +781,12 @@ lean::inc(x_12);
|
|||
x_18 = lean::apply_2(x_12, lean::box(0), x_16);
|
||||
lean::inc(x_7);
|
||||
x_20 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_trace_lean_trace_monad__tracer___rarg___lambda__4___boxed), 7, 6);
|
||||
lean::closure_set(x_20, 0, x_2);
|
||||
lean::closure_set(x_20, 1, x_12);
|
||||
lean::closure_set(x_20, 2, x_5);
|
||||
lean::closure_set(x_20, 3, x_4);
|
||||
lean::closure_set(x_20, 4, x_7);
|
||||
lean::closure_set(x_20, 5, x_3);
|
||||
lean::closure_set(x_20, 0, x_3);
|
||||
lean::closure_set(x_20, 1, x_5);
|
||||
lean::closure_set(x_20, 2, x_2);
|
||||
lean::closure_set(x_20, 3, x_12);
|
||||
lean::closure_set(x_20, 4, x_4);
|
||||
lean::closure_set(x_20, 5, x_7);
|
||||
x_21 = lean::apply_4(x_7, lean::box(0), lean::box(0), x_18, x_20);
|
||||
return x_21;
|
||||
}
|
||||
|
|
@ -910,7 +913,7 @@ if (lean::obj_tag(x_9) == 0)
|
|||
{
|
||||
obj* x_17; obj* x_20; obj* x_22;
|
||||
lean::dec(x_5);
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_7);
|
||||
lean::dec(x_1);
|
||||
lean::dec(x_6);
|
||||
lean::dec(x_3);
|
||||
|
|
@ -925,7 +928,7 @@ return x_22;
|
|||
}
|
||||
else
|
||||
{
|
||||
obj* x_24; obj* x_26; obj* x_27; obj* x_29; obj* x_31; obj* x_34;
|
||||
obj* x_24; obj* x_26; obj* x_27; obj* x_29; obj* x_32;
|
||||
lean::dec(x_9);
|
||||
x_24 = lean::cnstr_get(x_8, 1);
|
||||
if (lean::is_exclusive(x_8)) {
|
||||
|
|
@ -940,92 +943,84 @@ if (lean::is_exclusive(x_8)) {
|
|||
x_27 = lean::cnstr_get(x_1, 0);
|
||||
lean::inc(x_27);
|
||||
lean::inc(x_27);
|
||||
x_34 = l_lean_kvmap_get__bool(x_27, x_7);
|
||||
if (lean::obj_tag(x_34) == 0)
|
||||
x_32 = l_lean_kvmap_get__bool(x_27, x_4);
|
||||
if (lean::obj_tag(x_32) == 0)
|
||||
{
|
||||
obj* x_39;
|
||||
obj* x_37;
|
||||
lean::dec(x_5);
|
||||
lean::dec(x_26);
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_7);
|
||||
lean::dec(x_6);
|
||||
x_39 = lean::box(0);
|
||||
x_29 = x_39;
|
||||
x_37 = lean::box(0);
|
||||
x_29 = x_37;
|
||||
goto lbl_30;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_40; uint8 x_43;
|
||||
x_40 = lean::cnstr_get(x_34, 0);
|
||||
lean::inc(x_40);
|
||||
lean::dec(x_34);
|
||||
x_43 = lean::unbox(x_40);
|
||||
if (x_43 == 0)
|
||||
obj* x_38; uint8 x_41;
|
||||
x_38 = lean::cnstr_get(x_32, 0);
|
||||
lean::inc(x_38);
|
||||
lean::dec(x_32);
|
||||
x_41 = lean::unbox(x_38);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
obj* x_48;
|
||||
obj* x_46;
|
||||
lean::dec(x_5);
|
||||
lean::dec(x_26);
|
||||
lean::dec(x_4);
|
||||
lean::dec(x_7);
|
||||
lean::dec(x_6);
|
||||
x_48 = lean::box(0);
|
||||
x_29 = x_48;
|
||||
x_46 = lean::box(0);
|
||||
x_29 = x_46;
|
||||
goto lbl_30;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj* x_51;
|
||||
obj* x_49; obj* x_51; obj* x_52; obj* x_53; obj* x_54; obj* x_56; obj* x_58; obj* x_59;
|
||||
lean::dec(x_3);
|
||||
lean::dec(x_24);
|
||||
x_49 = lean::cnstr_get(x_1, 1);
|
||||
lean::inc(x_49);
|
||||
x_51 = lean::box(0);
|
||||
x_31 = x_51;
|
||||
goto lbl_32;
|
||||
x_52 = lean::alloc_cnstr(0, 4, 0);
|
||||
lean::cnstr_set(x_52, 0, x_27);
|
||||
lean::cnstr_set(x_52, 1, x_49);
|
||||
lean::cnstr_set(x_52, 2, x_2);
|
||||
lean::cnstr_set(x_52, 3, x_51);
|
||||
x_53 = lean::box(0);
|
||||
if (lean::is_scalar(x_26)) {
|
||||
x_54 = lean::alloc_cnstr(0, 2, 0);
|
||||
} else {
|
||||
x_54 = x_26;
|
||||
}
|
||||
lean::cnstr_set(x_54, 0, x_53);
|
||||
lean::cnstr_set(x_54, 1, x_52);
|
||||
lean::inc(x_5);
|
||||
x_56 = lean::apply_2(x_5, lean::box(0), x_54);
|
||||
lean::inc(x_7);
|
||||
x_58 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_trace_lean_trace_monad__tracer___rarg___lambda__9___boxed), 7, 6);
|
||||
lean::closure_set(x_58, 0, x_0);
|
||||
lean::closure_set(x_58, 1, x_1);
|
||||
lean::closure_set(x_58, 2, x_6);
|
||||
lean::closure_set(x_58, 3, x_51);
|
||||
lean::closure_set(x_58, 4, x_5);
|
||||
lean::closure_set(x_58, 5, x_7);
|
||||
x_59 = lean::apply_4(x_7, lean::box(0), lean::box(0), x_56, x_58);
|
||||
return x_59;
|
||||
}
|
||||
}
|
||||
lbl_30:
|
||||
{
|
||||
obj* x_53; obj* x_54; obj* x_55; obj* x_57;
|
||||
obj* x_61; obj* x_62; obj* x_63; obj* x_65;
|
||||
lean::dec(x_29);
|
||||
x_53 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_trace_lean_trace_monad__tracer___rarg___lambda__6___boxed), 3, 2);
|
||||
lean::closure_set(x_53, 0, x_1);
|
||||
lean::closure_set(x_53, 1, x_27);
|
||||
x_54 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_trace_lean_trace_monad__tracer___rarg___lambda__7), 2, 1);
|
||||
lean::closure_set(x_54, 0, x_2);
|
||||
x_55 = lean::thunk_get(x_0);
|
||||
x_61 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_trace_lean_trace_monad__tracer___rarg___lambda__6___boxed), 3, 2);
|
||||
lean::closure_set(x_61, 0, x_1);
|
||||
lean::closure_set(x_61, 1, x_27);
|
||||
x_62 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_trace_lean_trace_monad__tracer___rarg___lambda__7), 2, 1);
|
||||
lean::closure_set(x_62, 0, x_2);
|
||||
x_63 = lean::thunk_get(x_0);
|
||||
lean::dec(x_0);
|
||||
x_57 = l_monad__state__adapter_adapt__state_x_27___at_lean_trace_lean_trace_monad__tracer___spec__4___rarg(x_3, lean::box(0), x_53, x_54, x_55, x_24);
|
||||
return x_57;
|
||||
}
|
||||
lbl_32:
|
||||
{
|
||||
obj* x_59; obj* x_61; obj* x_62; obj* x_63; obj* x_64; obj* x_66; obj* x_68; obj* x_69;
|
||||
lean::dec(x_31);
|
||||
x_59 = lean::cnstr_get(x_1, 1);
|
||||
lean::inc(x_59);
|
||||
x_61 = lean::box(0);
|
||||
x_62 = lean::alloc_cnstr(0, 4, 0);
|
||||
lean::cnstr_set(x_62, 0, x_27);
|
||||
lean::cnstr_set(x_62, 1, x_59);
|
||||
lean::cnstr_set(x_62, 2, x_2);
|
||||
lean::cnstr_set(x_62, 3, x_61);
|
||||
x_63 = lean::box(0);
|
||||
if (lean::is_scalar(x_26)) {
|
||||
x_64 = lean::alloc_cnstr(0, 2, 0);
|
||||
} else {
|
||||
x_64 = x_26;
|
||||
}
|
||||
lean::cnstr_set(x_64, 0, x_63);
|
||||
lean::cnstr_set(x_64, 1, x_62);
|
||||
lean::inc(x_4);
|
||||
x_66 = lean::apply_2(x_4, lean::box(0), x_64);
|
||||
lean::inc(x_6);
|
||||
x_68 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_trace_lean_trace_monad__tracer___rarg___lambda__9___boxed), 7, 6);
|
||||
lean::closure_set(x_68, 0, x_0);
|
||||
lean::closure_set(x_68, 1, x_1);
|
||||
lean::closure_set(x_68, 2, x_5);
|
||||
lean::closure_set(x_68, 3, x_61);
|
||||
lean::closure_set(x_68, 4, x_4);
|
||||
lean::closure_set(x_68, 5, x_6);
|
||||
x_69 = lean::apply_4(x_6, lean::box(0), lean::box(0), x_66, x_68);
|
||||
return x_69;
|
||||
x_65 = l_monad__state__adapter_adapt__state_x_27___at_lean_trace_lean_trace_monad__tracer___spec__4___rarg(x_3, lean::box(0), x_61, x_62, x_63, x_24);
|
||||
return x_65;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1056,17 +1051,17 @@ lean::cnstr_set(x_15, 0, x_12);
|
|||
lean::cnstr_set(x_15, 1, x_9);
|
||||
lean::inc(x_0);
|
||||
x_17 = lean::apply_2(x_0, lean::box(0), x_15);
|
||||
lean::inc(x_4);
|
||||
lean::inc(x_5);
|
||||
x_19 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_trace_lean_trace_monad__tracer___rarg___lambda__10___boxed), 9, 8);
|
||||
lean::closure_set(x_19, 0, x_1);
|
||||
lean::closure_set(x_19, 1, x_7);
|
||||
lean::closure_set(x_19, 2, x_12);
|
||||
lean::closure_set(x_19, 3, x_2);
|
||||
lean::closure_set(x_19, 4, x_0);
|
||||
lean::closure_set(x_19, 5, x_3);
|
||||
lean::closure_set(x_19, 4, x_3);
|
||||
lean::closure_set(x_19, 5, x_0);
|
||||
lean::closure_set(x_19, 6, x_4);
|
||||
lean::closure_set(x_19, 7, x_5);
|
||||
x_20 = lean::apply_4(x_4, lean::box(0), lean::box(0), x_17, x_19);
|
||||
x_20 = lean::apply_4(x_5, lean::box(0), lean::box(0), x_17, x_19);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
|
|
@ -1092,9 +1087,9 @@ x_18 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_trace_lean_trace_monad
|
|||
lean::closure_set(x_18, 0, x_10);
|
||||
lean::closure_set(x_18, 1, x_4);
|
||||
lean::closure_set(x_18, 2, x_0);
|
||||
lean::closure_set(x_18, 3, x_3);
|
||||
lean::closure_set(x_18, 4, x_6);
|
||||
lean::closure_set(x_18, 5, x_2);
|
||||
lean::closure_set(x_18, 3, x_2);
|
||||
lean::closure_set(x_18, 4, x_3);
|
||||
lean::closure_set(x_18, 5, x_6);
|
||||
x_19 = lean::apply_4(x_6, lean::box(0), lean::box(0), x_16, x_18);
|
||||
return x_19;
|
||||
}
|
||||
|
|
@ -1154,7 +1149,7 @@ _start:
|
|||
{
|
||||
obj* x_7;
|
||||
x_7 = l_lean_trace_lean_trace_monad__tracer___rarg___lambda__4(x_0, x_1, x_2, x_3, x_4, x_5, x_6);
|
||||
lean::dec(x_5);
|
||||
lean::dec(x_0);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
|
|
@ -1190,7 +1185,7 @@ _start:
|
|||
{
|
||||
obj* x_9;
|
||||
x_9 = l_lean_trace_lean_trace_monad__tracer___rarg___lambda__10(x_0, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean::dec(x_7);
|
||||
lean::dec(x_4);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue