chore: update stage0
This commit is contained in:
parent
7987b795bb
commit
d5348dfac8
42 changed files with 10961 additions and 9783 deletions
2
stage0/stdlib/Init/Conv.c
generated
2
stage0/stdlib/Init/Conv.c
generated
|
|
@ -752,7 +752,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_quot___closed__10() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("`(conv|", 7);
|
||||
x_1 = lean_mk_string_from_bytes("`(conv| ", 8);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
42
stage0/stdlib/Init/Core.c
generated
42
stage0/stdlib/Init/Core.c
generated
|
|
@ -36,6 +36,7 @@ LEAN_EXPORT lean_object* l_Quotient_rec___boxed(lean_object*, lean_object*, lean
|
|||
LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__PSum__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_term___u2295_____closed__3;
|
||||
LEAN_EXPORT lean_object* l_instInhabitedTask(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_iteInduction___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Task_pure___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_term___x3c_x2d_x3e_____closed__7;
|
||||
static lean_object* l_term___x3c_x2d_x3e_____closed__9;
|
||||
|
|
@ -48,6 +49,7 @@ LEAN_EXPORT lean_object* l_Eq_ndrecOn___boxed(lean_object*, lean_object*, lean_o
|
|||
LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__PSum__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___aux__Init__Core______macroRules__term___u2295_x27____1___closed__7;
|
||||
LEAN_EXPORT lean_object* l_instHasEquiv___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_iteInduction(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instDecidableEqSum___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_reduceBool(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_instDecidableEqProd(lean_object*, lean_object*);
|
||||
|
|
@ -213,6 +215,7 @@ LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2194____1(
|
|||
static lean_object* l_term___u2248_____closed__4;
|
||||
static lean_object* l_term___u2295_x27_____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Quot_indep(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_iteInduction___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___aux__Init__Core______macroRules__term___u2260____1___closed__1;
|
||||
lean_object* lean_task_get_own(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Sum_inhabitedRight___rarg(lean_object*);
|
||||
|
|
@ -4181,6 +4184,45 @@ x_6 = lean_box(x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_iteInduction___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
if (x_1 == 0)
|
||||
{
|
||||
lean_object* x_7;
|
||||
lean_dec(x_5);
|
||||
x_7 = lean_apply_1(x_6, lean_box(0));
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8;
|
||||
lean_dec(x_6);
|
||||
x_8 = lean_apply_1(x_5, lean_box(0));
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_iteInduction(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_iteInduction___rarg___boxed), 6, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_iteInduction___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_7; lean_object* x_8;
|
||||
x_7 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_8 = l_iteInduction___rarg(x_7, x_2, x_3, x_4, x_5, x_6);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_instDecidableIteProp___rarg(uint8_t x_1, uint8_t x_2, uint8_t x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
241
stage0/stdlib/Init/Data/Repr.c
generated
241
stage0/stdlib/Init/Data/Repr.c
generated
|
|
@ -16,30 +16,29 @@ extern "C" {
|
|||
LEAN_EXPORT lean_object* l_Prod_repr(lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_format_pretty(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311_(lean_object*, lean_object*);
|
||||
static lean_object* l_instReprPUnit___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Char_quoteCore_smallCharToHex___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprPos___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_List_repr___rarg___closed__1;
|
||||
static lean_object* l_instReprUnit___closed__2;
|
||||
LEAN_EXPORT lean_object* l_instReprTuple___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__1;
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_toDigitsCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_repr___rarg___closed__4;
|
||||
static lean_object* l_Char_quoteCore___closed__2;
|
||||
static lean_object* l_Sum_repr___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_instReprSigma___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317_(lean_object*, lean_object*);
|
||||
lean_object* lean_uint32_to_nat(uint32_t);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__12;
|
||||
LEAN_EXPORT lean_object* l_instReprUInt8___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_reprStr(lean_object*);
|
||||
static lean_object* l_instReprPos___closed__1;
|
||||
static lean_object* l_instReprDecidable___rarg___closed__1;
|
||||
static lean_object* l_instReprSigma___rarg___closed__1;
|
||||
static lean_object* l_Char_quoteCore___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprPUnit(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprId___rarg___boxed(lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__10;
|
||||
LEAN_EXPORT lean_object* l_instReprList__1(lean_object*);
|
||||
static lean_object* l_instReprSigma___rarg___closed__6;
|
||||
LEAN_EXPORT lean_object* l_instReprULift___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -52,9 +51,10 @@ static lean_object* l_instReprPos___closed__2;
|
|||
static lean_object* l_Sum_repr___rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_instReprULift(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at_Prod_repr___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__7;
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__8;
|
||||
static lean_object* l_instReprPos___closed__3;
|
||||
static lean_object* l_instReprBool___closed__2;
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__11;
|
||||
LEAN_EXPORT lean_object* l_List_repr_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprSum(lean_object*, lean_object*);
|
||||
static lean_object* l_instReprPUnit___closed__1;
|
||||
|
|
@ -71,30 +71,29 @@ LEAN_EXPORT lean_object* l_instReprUInt8(uint8_t, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_instReprPos(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprChar(uint32_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprUSize___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__2;
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at_List_repr_x27___spec__2(lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__5;
|
||||
LEAN_EXPORT lean_object* l_instReprList(lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__12;
|
||||
static lean_object* l_Sum_repr___rarg___closed__4;
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Sum_repr___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__13;
|
||||
lean_object* lean_string_push(lean_object*, uint32_t);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__7;
|
||||
LEAN_EXPORT lean_object* l_instReprSigma(lean_object*, lean_object*);
|
||||
static lean_object* l_instReprULift___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Nat_toDigits___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_instReprIterator___closed__1;
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__6;
|
||||
static lean_object* l_Repr_addAppParen___closed__2;
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at_List_repr___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_instReprPos___closed__4;
|
||||
uint8_t l_String_isEmpty(lean_object*);
|
||||
lean_object* l_String_foldlAux_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Repr_addAppParen___closed__3;
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__8;
|
||||
LEAN_EXPORT lean_object* l_List_repr___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_repr(lean_object*);
|
||||
static lean_object* l_List_repr___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_instReprDecidable___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
||||
static lean_object* l_Sum_repr___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_instReprSubstring(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Sum_repr___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -111,20 +110,20 @@ static lean_object* l_Repr_addAppParen___closed__1;
|
|||
static lean_object* l_instReprSigma___rarg___closed__7;
|
||||
LEAN_EXPORT lean_object* l_instReprUnit(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprUInt64(uint64_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_quote___lambda__1(lean_object*, uint32_t);
|
||||
lean_object* lean_string_mk(lean_object*);
|
||||
static lean_object* l_String_quote___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Nat_toDigitsCore(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_uint64_to_nat(uint64_t);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__14;
|
||||
LEAN_EXPORT lean_object* l_instReprTupleProd(lean_object*, lean_object*);
|
||||
static lean_object* l_Prod_repr___rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Sum_repr(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprId(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_reprArg___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprBool(uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_digitChar___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at_Prod_repr___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__9;
|
||||
static lean_object* l_Repr_addAppParen___closed__4;
|
||||
static lean_object* l_instReprIterator___closed__3;
|
||||
LEAN_EXPORT uint32_t l_Nat_superDigitChar(lean_object*);
|
||||
|
|
@ -145,8 +144,6 @@ LEAN_EXPORT lean_object* l_instReprUSize(size_t, lean_object*);
|
|||
static lean_object* l_instReprBool___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_List_repr_x27___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprTuple(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_quote___lambda__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__5;
|
||||
static lean_object* l_List_repr___rarg___closed__5;
|
||||
static lean_object* l_instReprDecidable___rarg___closed__4;
|
||||
LEAN_EXPORT lean_object* l_List_repr_x27___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -183,6 +180,7 @@ LEAN_EXPORT lean_object* l_Prod_repr___rarg___boxed(lean_object*, lean_object*,
|
|||
LEAN_EXPORT lean_object* l_Nat_superDigitChar___boxed(lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprSigma___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_Char_quoteCore___closed__3;
|
||||
lean_object* lean_nat_mod(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprAtomBool;
|
||||
|
|
@ -192,17 +190,17 @@ static lean_object* l_Int_repr___closed__2;
|
|||
LEAN_EXPORT lean_object* l_repr___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprIterator(lean_object*, lean_object*);
|
||||
static lean_object* l_instReprUnit___closed__1;
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_String_quote___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_hexDigitRepr___closed__1;
|
||||
LEAN_EXPORT lean_object* l_instReprSourceInfo;
|
||||
LEAN_EXPORT lean_object* l_instReprPUnit___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprInt(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_instReprSigma___rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_instReprAtomChar;
|
||||
LEAN_EXPORT lean_object* l_instReprUnit___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__6;
|
||||
static lean_object* l_Option_repr___rarg___closed__1;
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Nat_toSuperDigitsAux(lean_object*, lean_object*);
|
||||
static lean_object* l_List_repr___rarg___closed__3;
|
||||
lean_object* lean_uint16_to_nat(uint16_t);
|
||||
|
|
@ -211,12 +209,16 @@ LEAN_EXPORT lean_object* l_instReprAtomNat;
|
|||
uint8_t lean_int_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprAtomUInt8;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_List_repr___spec__1(lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__3;
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__11;
|
||||
static lean_object* l_instReprDecidable___rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_instReprOption(lean_object*);
|
||||
static lean_object* l_Option_repr___rarg___closed__2;
|
||||
static lean_object* l_Char_quote___closed__1;
|
||||
LEAN_EXPORT lean_object* l_instReprSum___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_String_quote___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_repr___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_instReprIterator___closed__2;
|
||||
LEAN_EXPORT lean_object* l_instReprUInt32(uint32_t, lean_object*);
|
||||
|
|
@ -230,12 +232,12 @@ LEAN_EXPORT lean_object* l_instReprFin(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_instReprProd___rarg(lean_object*, lean_object*);
|
||||
lean_object* lean_uint8_to_nat(uint8_t);
|
||||
static lean_object* l_String_quote___closed__2;
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__4;
|
||||
LEAN_EXPORT lean_object* l_instReprList__1___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_instReprSourceInfo___closed__1;
|
||||
LEAN_EXPORT lean_object* l_reprArg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Char_repr___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at_List_repr_x27___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__13;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprList___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprOption___rarg(lean_object*);
|
||||
|
|
@ -251,17 +253,16 @@ LEAN_EXPORT lean_object* l_instReprString(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_instReprUInt16(uint16_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_repr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprUInt16___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_String_quote___closed__3;
|
||||
static lean_object* l_instReprDecidable___rarg___closed__2;
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__9;
|
||||
static lean_object* l_List_repr___rarg___closed__6;
|
||||
LEAN_EXPORT lean_object* l_instReprIdType___rarg___boxed(lean_object*);
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__10;
|
||||
static lean_object* l_instReprIterator___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Nat_repr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprTupleProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Char_quoteCore___closed__4;
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__3;
|
||||
LEAN_EXPORT lean_object* l_instReprAtomString;
|
||||
static lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__1;
|
||||
LEAN_EXPORT lean_object* l_repr___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2137,33 +2138,40 @@ x_3 = l_Char_repr(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_quote___lambda__1(lean_object* x_1, uint32_t x_2) {
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_String_quote___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Char_quoteCore(x_2);
|
||||
x_4 = lean_string_append(x_1, x_3);
|
||||
uint8_t x_5;
|
||||
x_5 = lean_nat_dec_lt(x_3, x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; uint32_t x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_6 = lean_string_utf8_next(x_1, x_3);
|
||||
x_7 = lean_string_utf8_get(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_8 = l_Char_quoteCore(x_7);
|
||||
x_9 = lean_string_append(x_4, x_8);
|
||||
lean_dec(x_8);
|
||||
x_3 = x_6;
|
||||
x_4 = x_9;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_String_quote___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_String_quote___lambda__1___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_String_quote___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("\"", 1);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_String_quote___closed__3() {
|
||||
static lean_object* _init_l_String_quote___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2178,32 +2186,31 @@ uint8_t x_2;
|
|||
x_2 = l_String_isEmpty(x_1);
|
||||
if (x_2 == 0)
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_3 = lean_string_utf8_byte_size(x_1);
|
||||
x_4 = l_String_quote___closed__1;
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = l_String_quote___closed__2;
|
||||
x_7 = l_String_foldlAux_loop___rarg(x_4, x_1, x_3, x_5, x_6);
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = l_String_quote___closed__1;
|
||||
x_6 = l_String_foldlAux___at_String_quote___spec__1(x_1, x_3, x_4, x_5);
|
||||
lean_dec(x_3);
|
||||
x_8 = lean_string_append(x_7, x_6);
|
||||
return x_8;
|
||||
x_7 = lean_string_append(x_6, x_5);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9;
|
||||
x_9 = l_String_quote___closed__3;
|
||||
return x_9;
|
||||
lean_object* x_8;
|
||||
x_8 = l_String_quote___closed__2;
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_quote___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_String_quote___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox_uint32(x_2);
|
||||
lean_object* x_5;
|
||||
x_5 = l_String_foldlAux___at_String_quote___spec__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_2);
|
||||
x_4 = l_String_quote___lambda__1(x_1, x_3);
|
||||
return x_4;
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_quote___boxed(lean_object* x_1) {
|
||||
|
|
@ -3037,7 +3044,7 @@ x_1 = lean_box(0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__1() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -3045,21 +3052,21 @@ x_1 = lean_mk_string_from_bytes("Lean.SourceInfo.original", 24);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__2() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__1;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__1;
|
||||
x_2 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__3() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__2;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__2;
|
||||
x_2 = lean_box(1);
|
||||
x_3 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3067,7 +3074,7 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__4() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -3076,7 +3083,7 @@ x_2 = lean_nat_to_int(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__5() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -3085,7 +3092,7 @@ x_2 = lean_nat_to_int(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__6() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -3093,21 +3100,21 @@ x_1 = lean_mk_string_from_bytes("Lean.SourceInfo.synthetic", 25);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__7() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__6;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__6;
|
||||
x_2 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__8() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__7;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__7;
|
||||
x_2 = lean_box(1);
|
||||
x_3 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3115,7 +3122,7 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__9() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -3123,33 +3130,33 @@ x_1 = lean_mk_string_from_bytes("Lean.SourceInfo.none", 20);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__10() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__9;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__9;
|
||||
x_2 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__11() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__4;
|
||||
x_2 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__10;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__4;
|
||||
x_2 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__10;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__12() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__11;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__11;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(6, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3157,23 +3164,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__13() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__5;
|
||||
x_2 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__10;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__5;
|
||||
x_2 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__10;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__14() {
|
||||
static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__13;
|
||||
x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__13;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(6, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3181,7 +3188,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311_(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317_(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
switch (lean_obj_tag(x_1)) {
|
||||
|
|
@ -3239,7 +3246,7 @@ x_24 = l_instReprSubstring___closed__1;
|
|||
x_25 = lean_string_append(x_23, x_24);
|
||||
x_26 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_26, 0, x_25);
|
||||
x_27 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__3;
|
||||
x_27 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__3;
|
||||
x_28 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_26);
|
||||
|
|
@ -3278,7 +3285,7 @@ lean_ctor_set(x_41, 1, x_29);
|
|||
x_42 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_41);
|
||||
lean_ctor_set(x_42, 1, x_18);
|
||||
x_43 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__4;
|
||||
x_43 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__4;
|
||||
x_44 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_43);
|
||||
lean_ctor_set(x_44, 1, x_42);
|
||||
|
|
@ -3309,7 +3316,7 @@ x_53 = l_instReprSubstring___closed__1;
|
|||
x_54 = lean_string_append(x_52, x_53);
|
||||
x_55 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_55, 0, x_54);
|
||||
x_56 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__3;
|
||||
x_56 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__3;
|
||||
x_57 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_56);
|
||||
lean_ctor_set(x_57, 1, x_55);
|
||||
|
|
@ -3348,7 +3355,7 @@ lean_ctor_set(x_70, 1, x_58);
|
|||
x_71 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_70);
|
||||
lean_ctor_set(x_71, 1, x_18);
|
||||
x_72 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__5;
|
||||
x_72 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__5;
|
||||
x_73 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_73, 0, x_72);
|
||||
lean_ctor_set(x_73, 1, x_71);
|
||||
|
|
@ -3382,7 +3389,7 @@ x_86 = l_instReprPos___closed__4;
|
|||
x_87 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_87, 0, x_85);
|
||||
lean_ctor_set(x_87, 1, x_86);
|
||||
x_88 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__8;
|
||||
x_88 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__8;
|
||||
x_89 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_89, 0, x_88);
|
||||
lean_ctor_set(x_89, 1, x_87);
|
||||
|
|
@ -3414,7 +3421,7 @@ x_98 = l_instReprBool___closed__2;
|
|||
x_99 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_99, 0, x_97);
|
||||
lean_ctor_set(x_99, 1, x_98);
|
||||
x_100 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__4;
|
||||
x_100 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__4;
|
||||
x_101 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_101, 0, x_100);
|
||||
lean_ctor_set(x_101, 1, x_99);
|
||||
|
|
@ -3432,7 +3439,7 @@ x_105 = l_instReprBool___closed__4;
|
|||
x_106 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_106, 0, x_97);
|
||||
lean_ctor_set(x_106, 1, x_105);
|
||||
x_107 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__4;
|
||||
x_107 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__4;
|
||||
x_108 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_108, 0, x_107);
|
||||
lean_ctor_set(x_108, 1, x_106);
|
||||
|
|
@ -3453,7 +3460,7 @@ x_112 = l_instReprBool___closed__2;
|
|||
x_113 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_113, 0, x_97);
|
||||
lean_ctor_set(x_113, 1, x_112);
|
||||
x_114 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__5;
|
||||
x_114 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__5;
|
||||
x_115 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_115, 0, x_114);
|
||||
lean_ctor_set(x_115, 1, x_113);
|
||||
|
|
@ -3471,7 +3478,7 @@ x_119 = l_instReprBool___closed__4;
|
|||
x_120 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_120, 0, x_97);
|
||||
lean_ctor_set(x_120, 1, x_119);
|
||||
x_121 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__5;
|
||||
x_121 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__5;
|
||||
x_122 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_122, 0, x_121);
|
||||
lean_ctor_set(x_122, 1, x_120);
|
||||
|
|
@ -3492,14 +3499,14 @@ x_127 = lean_nat_dec_le(x_126, x_2);
|
|||
if (x_127 == 0)
|
||||
{
|
||||
lean_object* x_128; lean_object* x_129;
|
||||
x_128 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__12;
|
||||
x_128 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__12;
|
||||
x_129 = l_Repr_addAppParen(x_128, x_2);
|
||||
return x_129;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_130; lean_object* x_131;
|
||||
x_130 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__14;
|
||||
x_130 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__14;
|
||||
x_131 = l_Repr_addAppParen(x_130, x_2);
|
||||
return x_131;
|
||||
}
|
||||
|
|
@ -3507,11 +3514,11 @@ return x_131;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311_(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317_(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -3520,7 +3527,7 @@ static lean_object* _init_l_instReprSourceInfo___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -3657,8 +3664,6 @@ l_String_quote___closed__1 = _init_l_String_quote___closed__1();
|
|||
lean_mark_persistent(l_String_quote___closed__1);
|
||||
l_String_quote___closed__2 = _init_l_String_quote___closed__2();
|
||||
lean_mark_persistent(l_String_quote___closed__2);
|
||||
l_String_quote___closed__3 = _init_l_String_quote___closed__3();
|
||||
lean_mark_persistent(l_String_quote___closed__3);
|
||||
l_instReprPos___closed__1 = _init_l_instReprPos___closed__1();
|
||||
lean_mark_persistent(l_instReprPos___closed__1);
|
||||
l_instReprPos___closed__2 = _init_l_instReprPos___closed__2();
|
||||
|
|
@ -3713,34 +3718,34 @@ l_instReprAtomUInt64 = _init_l_instReprAtomUInt64();
|
|||
lean_mark_persistent(l_instReprAtomUInt64);
|
||||
l_instReprAtomUSize = _init_l_instReprAtomUSize();
|
||||
lean_mark_persistent(l_instReprAtomUSize);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__1 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__1();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__1);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__2 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__2();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__2);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__3 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__3();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__3);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__4 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__4();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__4);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__5 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__5();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__5);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__6 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__6();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__6);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__7 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__7();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__7);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__8 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__8();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__8);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__9 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__9();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__9);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__10 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__10();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__10);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__11 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__11();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__11);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__12 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__12();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__12);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__13 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__13();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__13);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__14 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__14();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2311____closed__14);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__1 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__1();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__1);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__2 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__2();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__2);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__3 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__3();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__3);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__4 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__4();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__4);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__5 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__5();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__5);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__6 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__6();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__6);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__7 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__7();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__7);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__8 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__8();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__8);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__9 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__9();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__9);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__10 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__10();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__10);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__11 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__11();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__11);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__12 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__12();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__12);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__13 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__13();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__13);
|
||||
l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__14 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__14();
|
||||
lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_2317____closed__14);
|
||||
l_instReprSourceInfo___closed__1 = _init_l_instReprSourceInfo___closed__1();
|
||||
lean_mark_persistent(l_instReprSourceInfo___closed__1);
|
||||
l_instReprSourceInfo = _init_l_instReprSourceInfo();
|
||||
|
|
|
|||
2366
stage0/stdlib/Init/Data/String/Basic.c
generated
2366
stage0/stdlib/Init/Data/String/Basic.c
generated
File diff suppressed because it is too large
Load diff
97
stage0/stdlib/Init/Data/String/Extra.c
generated
97
stage0/stdlib/Init/Data/String/Extra.c
generated
|
|
@ -15,9 +15,7 @@ extern "C" {
|
|||
#endif
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__8;
|
||||
static lean_object* l_String_toNat_x21___closed__3;
|
||||
lean_object* lean_uint32_to_nat(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_String_toNat_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_utf8ByteSize_go_match__1_splitter(lean_object*);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__9;
|
||||
lean_object* lean_string_from_utf8_unchecked(lean_object*);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__10;
|
||||
|
|
@ -32,8 +30,6 @@ static lean_object* l_String_toNat_x21___closed__2;
|
|||
extern lean_object* l_instInhabitedNat;
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
uint32_t l_String_Iterator_curr(lean_object*);
|
||||
lean_object* l_String_foldlAux_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_toNat_x21___lambda__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__17;
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__4;
|
||||
LEAN_EXPORT lean_object* l_panic___at_String_toNat_x21___spec__1(lean_object*);
|
||||
|
|
@ -46,7 +42,7 @@ LEAN_EXPORT lean_object* l_String_Iterator_find(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_String_Iterator_foldUntil___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_String_toNat_x21___closed__5;
|
||||
lean_object* l_String_foldlAux___at_String_toNat_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__18;
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__13;
|
||||
|
|
@ -57,10 +53,8 @@ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_
|
|||
LEAN_EXPORT lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_String_isNat(lean_object*);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__2___closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_utf8ByteSize_go_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__20;
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__12;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_utf8ByteSize_go_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__2___closed__5;
|
||||
static lean_object* l_String_toNat_x21___closed__4;
|
||||
lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -71,15 +65,11 @@ static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__t
|
|||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__22;
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__19;
|
||||
LEAN_EXPORT lean_object* l_String_toNat_x21___lambda__1(lean_object*, uint32_t);
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_String_Iterator_atEnd(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Iterator_foldUntil(lean_object*);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__5;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__2___closed__6;
|
||||
lean_object* l_String_toSubstring_x27(lean_object*);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__11;
|
||||
|
|
@ -94,22 +84,6 @@ x_3 = lean_panic_fn(x_2, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_toNat_x21___lambda__1(lean_object* x_1, uint32_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_3 = lean_unsigned_to_nat(10u);
|
||||
x_4 = lean_nat_mul(x_1, x_3);
|
||||
x_5 = lean_uint32_to_nat(x_2);
|
||||
x_6 = lean_unsigned_to_nat(48u);
|
||||
x_7 = lean_nat_sub(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
x_8 = lean_nat_add(x_4, x_7);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_4);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_String_toNat_x21___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -147,14 +121,6 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_String_toNat_x21___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_String_toNat_x21___lambda__1___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_toNat_x21(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -170,28 +136,16 @@ return x_4;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_5 = lean_string_utf8_byte_size(x_1);
|
||||
x_6 = l_String_toNat_x21___closed__5;
|
||||
x_7 = lean_unsigned_to_nat(0u);
|
||||
x_8 = l_String_foldlAux_loop___rarg(x_6, x_1, x_5, x_7, x_7);
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = l_String_foldlAux___at_String_toNat_x3f___spec__1(x_1, x_5, x_6, x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_1);
|
||||
return x_8;
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_toNat_x21___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox_uint32(x_2);
|
||||
lean_dec(x_2);
|
||||
x_4 = l_String_toNat_x21___lambda__1(x_1, x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_fromUTF8Unchecked___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -210,45 +164,6 @@ lean_dec(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_utf8ByteSize_go_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_2);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_1);
|
||||
x_6 = lean_apply_2(x_3, x_4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_utf8ByteSize_go_match__1_splitter(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Init_Data_String_Extra_0__String_utf8ByteSize_go_match__1_splitter___rarg___boxed), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_utf8ByteSize_go_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Init_Data_String_Extra_0__String_utf8ByteSize_go_match__1_splitter___rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -780,8 +695,6 @@ l_String_toNat_x21___closed__3 = _init_l_String_toNat_x21___closed__3();
|
|||
lean_mark_persistent(l_String_toNat_x21___closed__3);
|
||||
l_String_toNat_x21___closed__4 = _init_l_String_toNat_x21___closed__4();
|
||||
lean_mark_persistent(l_String_toNat_x21___closed__4);
|
||||
l_String_toNat_x21___closed__5 = _init_l_String_toNat_x21___closed__5();
|
||||
lean_mark_persistent(l_String_toNat_x21___closed__5);
|
||||
l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__1 = _init_l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__1();
|
||||
lean_mark_persistent(l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__1);
|
||||
l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__2 = _init_l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__2();
|
||||
|
|
|
|||
91
stage0/stdlib/Init/Data/ToString/Basic.c
generated
91
stage0/stdlib/Init/Data/ToString/Basic.c
generated
|
|
@ -26,7 +26,6 @@ static lean_object* l_List_foldl___at_List_toString___spec__1___rarg___closed__1
|
|||
static lean_object* l_instToStringSigma___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_instToStringUInt16(uint16_t);
|
||||
lean_object* l_String_toNat_x3f(lean_object*);
|
||||
static lean_object* l_addParenHeuristic___closed__5;
|
||||
static lean_object* l_instToStringSum___rarg___closed__1;
|
||||
static lean_object* l_List_toString___rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_instToStringBool___boxed(lean_object*);
|
||||
|
|
@ -52,8 +51,10 @@ LEAN_EXPORT lean_object* l_instToStringFormat(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_String_toInt_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instToStringUInt8___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instToStringUSize___boxed(lean_object*);
|
||||
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
||||
static lean_object* l_List_toString___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_instToStringPUnit(lean_object*);
|
||||
uint8_t l_Char_isWhitespace(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at_List_toString___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_addParenHeuristic___boxed(lean_object*);
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
|
|
@ -63,9 +64,7 @@ LEAN_EXPORT lean_object* l_instToStringUnit___boxed(lean_object*);
|
|||
lean_object* lean_uint64_to_nat(uint64_t);
|
||||
LEAN_EXPORT lean_object* l_instToStringULift(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instToStringIdType___rarg___boxed(lean_object*);
|
||||
lean_object* l_Char_isWhitespace___boxed(lean_object*);
|
||||
static lean_object* l_addParenHeuristic___closed__2;
|
||||
uint8_t l_String_anyAux_loop(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instToStringPUnit___boxed(lean_object*);
|
||||
static lean_object* l_instReprExcept___rarg___closed__2;
|
||||
static lean_object* l_instToStringSigma___rarg___closed__1;
|
||||
|
|
@ -73,6 +72,7 @@ LEAN_EXPORT lean_object* l_instToStringSum(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_instToStringUInt64___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instToStringSubtype(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instToStringExcept___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_anyAux___at_addParenHeuristic___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instToStringSum___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instToStringNat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instToStringFin___rarg(lean_object*);
|
||||
|
|
@ -99,7 +99,9 @@ LEAN_EXPORT lean_object* l_panic___at_String_toInt_x21___spec__1(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_instToStringInt___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instToStringInt(lean_object*);
|
||||
static lean_object* l_instReprExcept___rarg___closed__1;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_addParenHeuristic(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_anyAux___at_addParenHeuristic___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_uint32_dec_eq(uint32_t, uint32_t);
|
||||
LEAN_EXPORT lean_object* l_instToStringSubtype___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instToStringDecidable(lean_object*);
|
||||
|
|
@ -750,6 +752,41 @@ x_3 = lean_format_pretty(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_String_anyAux___at_addParenHeuristic___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = lean_nat_dec_lt(x_3, x_2);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
uint8_t x_5;
|
||||
lean_dec(x_3);
|
||||
x_5 = 0;
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32_t x_6; uint8_t x_7;
|
||||
x_6 = lean_string_utf8_get(x_1, x_3);
|
||||
x_7 = l_Char_isWhitespace(x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8;
|
||||
x_8 = lean_string_utf8_next(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_3 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_10;
|
||||
lean_dec(x_3);
|
||||
x_10 = 1;
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_addParenHeuristic___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -778,14 +815,6 @@ static lean_object* _init_l_addParenHeuristic___closed__4() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Char_isWhitespace___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_addParenHeuristic___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes(")", 1);
|
||||
return x_1;
|
||||
}
|
||||
|
|
@ -813,24 +842,23 @@ x_8 = l_addParenHeuristic___closed__3;
|
|||
x_9 = l_String_isPrefixOf(x_8, x_1);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
lean_object* x_10; lean_object* x_11; uint8_t x_12;
|
||||
x_10 = lean_string_utf8_byte_size(x_1);
|
||||
x_11 = l_addParenHeuristic___closed__4;
|
||||
x_12 = lean_unsigned_to_nat(0u);
|
||||
x_13 = l_String_anyAux_loop(x_1, x_10, x_11, x_12);
|
||||
x_11 = lean_unsigned_to_nat(0u);
|
||||
x_12 = l_String_anyAux___at_addParenHeuristic___spec__1(x_1, x_10, x_11);
|
||||
lean_dec(x_10);
|
||||
if (x_13 == 0)
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_inc(x_1);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_14 = lean_string_append(x_2, x_1);
|
||||
x_15 = l_addParenHeuristic___closed__5;
|
||||
x_16 = lean_string_append(x_14, x_15);
|
||||
return x_16;
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_13 = lean_string_append(x_2, x_1);
|
||||
x_14 = l_addParenHeuristic___closed__4;
|
||||
x_15 = lean_string_append(x_13, x_14);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -858,6 +886,17 @@ return x_1;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_anyAux___at_addParenHeuristic___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4; lean_object* x_5;
|
||||
x_4 = l_String_anyAux___at_addParenHeuristic___spec__1(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_box(x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_addParenHeuristic___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -905,7 +944,7 @@ lean_dec(x_5);
|
|||
x_7 = l_instToStringOption___rarg___closed__2;
|
||||
x_8 = lean_string_append(x_7, x_6);
|
||||
lean_dec(x_6);
|
||||
x_9 = l_addParenHeuristic___closed__5;
|
||||
x_9 = l_addParenHeuristic___closed__4;
|
||||
x_10 = lean_string_append(x_8, x_9);
|
||||
return x_10;
|
||||
}
|
||||
|
|
@ -951,7 +990,7 @@ lean_dec(x_5);
|
|||
x_7 = l_instToStringSum___rarg___closed__1;
|
||||
x_8 = lean_string_append(x_7, x_6);
|
||||
lean_dec(x_6);
|
||||
x_9 = l_addParenHeuristic___closed__5;
|
||||
x_9 = l_addParenHeuristic___closed__4;
|
||||
x_10 = lean_string_append(x_8, x_9);
|
||||
return x_10;
|
||||
}
|
||||
|
|
@ -968,7 +1007,7 @@ lean_dec(x_12);
|
|||
x_14 = l_instToStringSum___rarg___closed__2;
|
||||
x_15 = lean_string_append(x_14, x_13);
|
||||
lean_dec(x_13);
|
||||
x_16 = l_addParenHeuristic___closed__5;
|
||||
x_16 = l_addParenHeuristic___closed__4;
|
||||
x_17 = lean_string_append(x_15, x_16);
|
||||
return x_17;
|
||||
}
|
||||
|
|
@ -1000,7 +1039,7 @@ x_10 = lean_string_append(x_8, x_9);
|
|||
x_11 = lean_apply_1(x_2, x_5);
|
||||
x_12 = lean_string_append(x_10, x_11);
|
||||
lean_dec(x_11);
|
||||
x_13 = l_addParenHeuristic___closed__5;
|
||||
x_13 = l_addParenHeuristic___closed__4;
|
||||
x_14 = lean_string_append(x_12, x_13);
|
||||
return x_14;
|
||||
}
|
||||
|
|
@ -1479,8 +1518,6 @@ l_addParenHeuristic___closed__3 = _init_l_addParenHeuristic___closed__3();
|
|||
lean_mark_persistent(l_addParenHeuristic___closed__3);
|
||||
l_addParenHeuristic___closed__4 = _init_l_addParenHeuristic___closed__4();
|
||||
lean_mark_persistent(l_addParenHeuristic___closed__4);
|
||||
l_addParenHeuristic___closed__5 = _init_l_addParenHeuristic___closed__5();
|
||||
lean_mark_persistent(l_addParenHeuristic___closed__5);
|
||||
l_instToStringOption___rarg___closed__1 = _init_l_instToStringOption___rarg___closed__1();
|
||||
lean_mark_persistent(l_instToStringOption___rarg___closed__1);
|
||||
l_instToStringOption___rarg___closed__2 = _init_l_instToStringOption___rarg___closed__2();
|
||||
|
|
|
|||
2909
stage0/stdlib/Init/Meta.c
generated
2909
stage0/stdlib/Init/Meta.c
generated
File diff suppressed because it is too large
Load diff
2
stage0/stdlib/Init/Notation.c
generated
2
stage0/stdlib/Init/Notation.c
generated
|
|
@ -26186,7 +26186,7 @@ static lean_object* _init_l_Lean_rawStx_quot___closed__5() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("`(rawStx|", 9);
|
||||
x_1 = lean_mk_string_from_bytes("`(rawStx| ", 10);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
30
stage0/stdlib/Init/System/FilePath.c
generated
30
stage0/stdlib/Init/System/FilePath.c
generated
|
|
@ -102,7 +102,6 @@ LEAN_EXPORT lean_object* l_System_instInhabitedFilePath;
|
|||
static lean_object* l_System_FilePath_exeExtension___closed__2;
|
||||
static lean_object* l_System_instHashableFilePath___closed__1;
|
||||
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
static lean_object* l_System_FilePath_join___closed__1;
|
||||
LEAN_EXPORT uint32_t l_System_SearchPath_separator;
|
||||
LEAN_EXPORT uint8_t l_List_contains___at___private_Init_System_FilePath_0__System_FilePath_posOfLastSep___spec__1(lean_object*, uint32_t);
|
||||
|
|
@ -1494,35 +1493,32 @@ goto _start;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_11 = lean_string_utf8_next(x_1, x_3);
|
||||
x_12 = lean_string_utf8_extract(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_12 = lean_unsigned_to_nat(1u);
|
||||
x_13 = lean_nat_sub(x_11, x_12);
|
||||
x_14 = lean_string_utf8_extract(x_1, x_2, x_13);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_2);
|
||||
x_15 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_4);
|
||||
x_13 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
lean_ctor_set(x_13, 1, x_4);
|
||||
lean_inc(x_11);
|
||||
x_2 = x_11;
|
||||
x_3 = x_11;
|
||||
x_4 = x_15;
|
||||
x_4 = x_13;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_17 = lean_string_utf8_extract(x_1, x_2, x_3);
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_15 = lean_string_utf8_extract(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_18 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_17);
|
||||
lean_ctor_set(x_18, 1, x_4);
|
||||
x_19 = l_List_reverse___rarg(x_18);
|
||||
return x_19;
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_4);
|
||||
x_17 = l_List_reverse___rarg(x_16);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
93
stage0/stdlib/Init/System/Uri.c
generated
93
stage0/stdlib/Init/System/Uri.c
generated
|
|
@ -34,7 +34,6 @@ static lean_object* l_System_Uri_UriEscape_rfc3986ReservedChars___closed__6;
|
|||
LEAN_EXPORT lean_object* l_System_Uri_UriEscape_uriEscapeAsciiChar_uInt8ToHex___boxed(lean_object*);
|
||||
lean_object* l_hexDigitRepr(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_System_Uri_UriEscape_letterf;
|
||||
LEAN_EXPORT lean_object* l_System_Uri_escapeUri___lambda__1___boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_System_Uri_UriEscape_rfc3986ReservedChars___closed__3___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_System_Uri_pathToUri___lambda__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -56,7 +55,6 @@ lean_object* lean_string_push(lean_object*, uint32_t);
|
|||
LEAN_EXPORT lean_object* l_System_Uri_UriEscape_rfc3986ReservedChars___closed__9___boxed__const__1;
|
||||
LEAN_EXPORT uint8_t l_System_Uri_UriEscape_nine;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_String_foldlAux_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Char_toLower(uint32_t);
|
||||
static lean_object* l_System_Uri_UriEscape_rfc3986ReservedChars___closed__11;
|
||||
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
||||
|
|
@ -80,6 +78,7 @@ LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_System_Uri_UriEscape_decode
|
|||
uint8_t lean_uint8_mul(uint8_t, uint8_t);
|
||||
lean_object* l_String_dropWhile(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_System_Uri_UriEscape_rfc3986ReservedChars___closed__5___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_System_Uri_escapeUri___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_System_FilePath_normalize___spec__1(uint32_t, lean_object*);
|
||||
lean_object* l_Char_toUpper___boxed(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_System_Uri_UriEscape_letterF;
|
||||
|
|
@ -95,12 +94,11 @@ LEAN_EXPORT lean_object* l_System_Uri_pathToUri___lambda__2(lean_object*, lean_o
|
|||
LEAN_EXPORT lean_object* l_System_Uri_fileUriToPath_x3f___lambda__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_System_Uri_unescapeUri___boxed(lean_object*);
|
||||
uint8_t lean_uint8_div(uint8_t, uint8_t);
|
||||
static lean_object* l_System_Uri_escapeUri___closed__1;
|
||||
static lean_object* l_System_Uri_UriEscape_decodeUri___closed__1;
|
||||
lean_object* l_String_modify(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_System_Uri_escapeUri___lambda__1(lean_object*, uint32_t);
|
||||
static lean_object* l_System_Uri_pathToUri___closed__1;
|
||||
LEAN_EXPORT lean_object* l_System_Uri_UriEscape_uriEscapeAsciiChar(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_System_Uri_escapeUri___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_System_Uri_UriEscape_rfc3986ReservedChars___closed__10___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_System_Uri_UriEscape_rfc3986ReservedChars___closed__13___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_System_Uri_UriEscape_rfc3986ReservedChars;
|
||||
|
|
@ -1242,45 +1240,51 @@ x_3 = l_System_Uri_UriEscape_uriEscapeAsciiChar(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_System_Uri_escapeUri___lambda__1(lean_object* x_1, uint32_t x_2) {
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_System_Uri_escapeUri___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_System_Uri_UriEscape_uriEscapeAsciiChar(x_2);
|
||||
x_4 = lean_string_append(x_1, x_3);
|
||||
uint8_t x_5;
|
||||
x_5 = lean_nat_dec_lt(x_3, x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_System_Uri_escapeUri___closed__1() {
|
||||
_start:
|
||||
else
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_System_Uri_escapeUri___lambda__1___boxed), 2, 0);
|
||||
return x_1;
|
||||
lean_object* x_6; uint32_t x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_6 = lean_string_utf8_next(x_1, x_3);
|
||||
x_7 = lean_string_utf8_get(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_8 = l_System_Uri_UriEscape_uriEscapeAsciiChar(x_7);
|
||||
x_9 = lean_string_append(x_4, x_8);
|
||||
lean_dec(x_8);
|
||||
x_3 = x_6;
|
||||
x_4 = x_9;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_System_Uri_escapeUri(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
x_3 = l_System_Uri_escapeUri___closed__1;
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = l_System_Uri_UriEscape_uriEscapeAsciiChar___closed__1;
|
||||
x_6 = l_String_foldlAux_loop___rarg(x_3, x_1, x_2, x_4, x_5);
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
x_4 = l_System_Uri_UriEscape_uriEscapeAsciiChar___closed__1;
|
||||
x_5 = l_String_foldlAux___at_System_Uri_escapeUri___spec__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_2);
|
||||
return x_6;
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_System_Uri_escapeUri___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_System_Uri_escapeUri___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox_uint32(x_2);
|
||||
lean_object* x_5;
|
||||
x_5 = l_String_foldlAux___at_System_Uri_escapeUri___spec__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_2);
|
||||
x_4 = l_System_Uri_escapeUri___lambda__1(x_1, x_3);
|
||||
return x_4;
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_System_Uri_escapeUri___boxed(lean_object* x_1) {
|
||||
|
|
@ -1376,31 +1380,30 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_System_Uri_pathToUri___lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
x_3 = lean_string_utf8_byte_size(x_1);
|
||||
x_4 = l_System_Uri_escapeUri___closed__1;
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = l_System_Uri_UriEscape_uriEscapeAsciiChar___closed__1;
|
||||
x_7 = l_String_foldlAux_loop___rarg(x_4, x_1, x_3, x_5, x_6);
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = l_System_Uri_UriEscape_uriEscapeAsciiChar___closed__1;
|
||||
x_6 = l_String_foldlAux___at_System_Uri_escapeUri___spec__1(x_1, x_3, x_4, x_5);
|
||||
lean_dec(x_3);
|
||||
x_8 = l_System_Uri_pathToUri___lambda__1___closed__1;
|
||||
lean_inc(x_7);
|
||||
x_9 = l_String_startsWith(x_7, x_8);
|
||||
if (x_9 == 0)
|
||||
x_7 = l_System_Uri_pathToUri___lambda__1___closed__1;
|
||||
lean_inc(x_6);
|
||||
x_8 = l_String_startsWith(x_6, x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
x_10 = l_System_Uri_pathToUri___lambda__1___closed__2;
|
||||
x_11 = lean_string_append(x_10, x_7);
|
||||
lean_dec(x_7);
|
||||
return x_11;
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
x_9 = l_System_Uri_pathToUri___lambda__1___closed__2;
|
||||
x_10 = lean_string_append(x_9, x_6);
|
||||
lean_dec(x_6);
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13;
|
||||
x_12 = l_System_Uri_pathToUri___lambda__1___closed__3;
|
||||
x_13 = lean_string_append(x_12, x_7);
|
||||
lean_dec(x_7);
|
||||
return x_13;
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = l_System_Uri_pathToUri___lambda__1___closed__3;
|
||||
x_12 = lean_string_append(x_11, x_6);
|
||||
lean_dec(x_6);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1802,8 +1805,6 @@ l_ByteArray_foldlMUnsafe_fold___at_System_Uri_UriEscape_uriEscapeAsciiChar___spe
|
|||
lean_mark_persistent(l_ByteArray_foldlMUnsafe_fold___at_System_Uri_UriEscape_uriEscapeAsciiChar___spec__1___closed__1);
|
||||
l_System_Uri_UriEscape_uriEscapeAsciiChar___closed__1 = _init_l_System_Uri_UriEscape_uriEscapeAsciiChar___closed__1();
|
||||
lean_mark_persistent(l_System_Uri_UriEscape_uriEscapeAsciiChar___closed__1);
|
||||
l_System_Uri_escapeUri___closed__1 = _init_l_System_Uri_escapeUri___closed__1();
|
||||
lean_mark_persistent(l_System_Uri_escapeUri___closed__1);
|
||||
l_System_Uri_pathToUri___lambda__1___closed__1 = _init_l_System_Uri_pathToUri___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_System_Uri_pathToUri___lambda__1___closed__1);
|
||||
l_System_Uri_pathToUri___lambda__1___closed__2 = _init_l_System_Uri_pathToUri___lambda__1___closed__2();
|
||||
|
|
|
|||
58
stage0/stdlib/Init/Tactics.c
generated
58
stage0/stdlib/Init/Tactics.c
generated
|
|
@ -11284,7 +11284,7 @@ return x_7;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38;
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_8 = lean_unsigned_to_nat(1u);
|
||||
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
|
||||
x_10 = lean_unsigned_to_nat(3u);
|
||||
|
|
@ -11307,43 +11307,41 @@ x_19 = lean_alloc_ctor(1, 3, 0);
|
|||
lean_ctor_set(x_19, 0, x_14);
|
||||
lean_ctor_set(x_19, 1, x_17);
|
||||
lean_ctor_set(x_19, 2, x_18);
|
||||
x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__6;
|
||||
lean_inc(x_14);
|
||||
x_20 = l_Lean_Syntax_node2(x_14, x_17, x_9, x_19);
|
||||
x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__6;
|
||||
x_21 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_14);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
x_22 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9;
|
||||
lean_inc(x_14);
|
||||
x_22 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_14);
|
||||
lean_ctor_set(x_22, 1, x_21);
|
||||
x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9;
|
||||
x_23 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_14);
|
||||
lean_ctor_set(x_23, 1, x_22);
|
||||
x_24 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8;
|
||||
lean_inc(x_14);
|
||||
x_24 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_14);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8;
|
||||
x_25 = l_Lean_Syntax_node1(x_14, x_24, x_23);
|
||||
x_26 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__5;
|
||||
lean_inc(x_14);
|
||||
x_26 = l_Lean_Syntax_node1(x_14, x_25, x_24);
|
||||
x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__5;
|
||||
x_27 = l_Lean_Syntax_node2(x_14, x_26, x_21, x_25);
|
||||
lean_inc(x_14);
|
||||
x_28 = l_Lean_Syntax_node2(x_14, x_27, x_22, x_26);
|
||||
x_28 = l_Lean_Syntax_node1(x_14, x_17, x_27);
|
||||
x_29 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__7;
|
||||
lean_inc(x_14);
|
||||
x_29 = l_Lean_Syntax_node1(x_14, x_17, x_28);
|
||||
x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__7;
|
||||
x_30 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_14);
|
||||
lean_ctor_set(x_30, 1, x_29);
|
||||
x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__3;
|
||||
lean_inc(x_14);
|
||||
x_31 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_14);
|
||||
lean_ctor_set(x_31, 1, x_30);
|
||||
x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__3;
|
||||
x_32 = l_Lean_Syntax_node5(x_14, x_31, x_9, x_19, x_28, x_30, x_11);
|
||||
x_33 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__1;
|
||||
lean_inc(x_14);
|
||||
x_33 = l_Lean_Syntax_node4(x_14, x_32, x_20, x_29, x_31, x_11);
|
||||
x_34 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__1;
|
||||
lean_inc(x_14);
|
||||
x_35 = l_Lean_Syntax_node1(x_14, x_34, x_33);
|
||||
x_36 = l_Lean_Parser_Tactic_tacticHave_x27_____closed__2;
|
||||
x_37 = l_Lean_Syntax_node2(x_14, x_36, x_16, x_35);
|
||||
x_38 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_37);
|
||||
lean_ctor_set(x_38, 1, x_3);
|
||||
return x_38;
|
||||
x_34 = l_Lean_Syntax_node1(x_14, x_33, x_32);
|
||||
x_35 = l_Lean_Parser_Tactic_tacticHave_x27_____closed__2;
|
||||
x_36 = l_Lean_Syntax_node2(x_14, x_35, x_16, x_34);
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set(x_37, 1, x_3);
|
||||
return x_37;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
303
stage0/stdlib/Lean/Compiler/ExportAttr.c
generated
303
stage0/stdlib/Lean/Compiler/ExportAttr.c
generated
|
|
@ -13,107 +13,119 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__4(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__2;
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Attribute_Builtin_getId(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getExportNameFor_x3f___closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppName___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___boxed(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116_(lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppName(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121_(lean_object*);
|
||||
uint8_t l_Char_isAlpha(uint32_t);
|
||||
LEAN_EXPORT lean_object* lean_get_export_name_for(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__9;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__10;
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___lambda__1___boxed(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__3;
|
||||
LEAN_EXPORT uint8_t l_Lean_isExport(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__4;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__4;
|
||||
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_exportAttr;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__6;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__9;
|
||||
lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__7;
|
||||
uint8_t l_String_anyAux_loop(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__1;
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__5;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___lambda__1(uint32_t);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__10;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Char_isDigit(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__6;
|
||||
static lean_object* l_Lean_isExport___closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__11;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
uint8_t lean_uint32_dec_eq(uint32_t, uint32_t);
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_isExport___closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__2;
|
||||
lean_object* l_Lean_ParametricAttribute_getParam_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_anyAux___at___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__5;
|
||||
lean_object* l_Lean_registerParametricAttribute___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedName;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_anyAux___at___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__4(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isExport___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___lambda__1(uint32_t x_1) {
|
||||
LEAN_EXPORT uint8_t l_String_anyAux___at___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2;
|
||||
x_2 = l_Char_isAlpha(x_1);
|
||||
if (x_2 == 0)
|
||||
uint8_t x_4;
|
||||
x_4 = lean_nat_dec_lt(x_3, x_2);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = l_Char_isDigit(x_1);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
uint32_t x_4; uint8_t x_5;
|
||||
x_4 = 95;
|
||||
x_5 = lean_uint32_dec_eq(x_1, x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
uint8_t x_6;
|
||||
x_6 = 1;
|
||||
return x_6;
|
||||
uint8_t x_5;
|
||||
lean_dec(x_3);
|
||||
x_5 = 0;
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_7;
|
||||
x_7 = 0;
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
else
|
||||
uint32_t x_6; uint8_t x_7;
|
||||
x_6 = lean_string_utf8_get(x_1, x_3);
|
||||
x_7 = l_Char_isAlpha(x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
uint8_t x_8;
|
||||
x_8 = 0;
|
||||
return x_8;
|
||||
x_8 = l_Char_isDigit(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
uint32_t x_9; uint8_t x_10;
|
||||
x_9 = 95;
|
||||
x_10 = lean_uint32_dec_eq(x_6, x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
uint8_t x_11;
|
||||
lean_dec(x_3);
|
||||
x_11 = 1;
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12;
|
||||
x_12 = lean_string_utf8_next(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_3 = x_12;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_9;
|
||||
x_9 = 0;
|
||||
return x_9;
|
||||
lean_object* x_14;
|
||||
x_14 = lean_string_utf8_next(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_3 = x_14;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___closed__1() {
|
||||
_start:
|
||||
else
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___lambda__1___boxed), 1, 0);
|
||||
return x_1;
|
||||
lean_object* x_16;
|
||||
x_16 = lean_string_utf8_next(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_3 = x_16;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId(lean_object* x_1) {
|
||||
|
|
@ -132,7 +144,7 @@ return x_5;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12;
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_6 = lean_string_utf8_byte_size(x_1);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_1);
|
||||
|
|
@ -145,34 +157,33 @@ x_9 = l_Substring_nextn(x_7, x_8, x_2);
|
|||
lean_dec(x_7);
|
||||
x_10 = lean_nat_add(x_2, x_9);
|
||||
lean_dec(x_9);
|
||||
x_11 = l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___closed__1;
|
||||
x_12 = l_String_anyAux_loop(x_1, x_6, x_11, x_10);
|
||||
x_11 = l_String_anyAux___at___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___spec__1(x_1, x_6, x_10);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_1);
|
||||
if (x_12 == 0)
|
||||
if (x_11 == 0)
|
||||
{
|
||||
uint8_t x_13;
|
||||
x_13 = 1;
|
||||
return x_13;
|
||||
uint8_t x_12;
|
||||
x_12 = 1;
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_14;
|
||||
x_14 = 0;
|
||||
return x_14;
|
||||
uint8_t x_13;
|
||||
x_13 = 0;
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___lambda__1___boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_String_anyAux___at___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_2 = lean_unbox_uint32(x_1);
|
||||
uint8_t x_4; lean_object* x_5;
|
||||
x_4 = l_String_anyAux___at___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___spec__1(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_3 = l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___lambda__1(x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
x_5 = lean_box(x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___boxed(lean_object* x_1) {
|
||||
|
|
@ -240,7 +251,7 @@ x_3 = lean_box(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
|
|
@ -250,7 +261,7 @@ lean_ctor_set(x_6, 1, x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -258,16 +269,16 @@ x_1 = lean_mk_string_from_bytes("invalid 'export' function name, is not a valid
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__1;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__1;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
|
|
@ -290,7 +301,7 @@ if (x_10 == 0)
|
|||
lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
lean_free_object(x_6);
|
||||
lean_dec(x_8);
|
||||
x_11 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__2;
|
||||
x_11 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__2;
|
||||
x_12 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_11, x_3, x_4, x_9);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
|
|
@ -334,7 +345,7 @@ if (x_19 == 0)
|
|||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
lean_dec(x_17);
|
||||
x_20 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__2;
|
||||
x_20 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__2;
|
||||
x_21 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_20, x_3, x_4, x_18);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
|
|
@ -397,7 +408,7 @@ return x_30;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
|
|
@ -408,7 +419,7 @@ lean_ctor_set(x_7, 1, x_5);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
|
|
@ -419,7 +430,7 @@ lean_ctor_set(x_5, 1, x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -427,7 +438,7 @@ x_1 = lean_mk_string_from_bytes("Lean", 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -435,17 +446,17 @@ x_1 = lean_mk_string_from_bytes("exportAttr", 10);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__2;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__2;
|
||||
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__4() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -453,17 +464,17 @@ x_1 = lean_mk_string_from_bytes("export", 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__5() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__6() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -471,13 +482,13 @@ x_1 = lean_mk_string_from_bytes("name to be used by code generators", 34);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__7() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__3;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__5;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__6;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__3;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__5;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__6;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
|
|
@ -487,38 +498,38 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__8() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___boxed), 5, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___boxed), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__9() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__3___boxed), 5, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__3___boxed), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__10() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__4___boxed), 3, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__4___boxed), 3, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__11() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__7;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__8;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__9;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__10;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__7;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__8;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__9;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__10;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
@ -527,40 +538,40 @@ lean_ctor_set(x_5, 3, x_4);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__11;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__11;
|
||||
x_3 = l_Lean_registerParametricAttribute___rarg(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__1(x_1, x_2, x_3, x_4, x_5);
|
||||
x_6 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__1(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2(x_1, x_2, x_3, x_4, x_5);
|
||||
x_6 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__3(x_1, x_2, x_3, x_4, x_5);
|
||||
x_6 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__3(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
|
|
@ -568,11 +579,11 @@ lean_dec(x_1);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__4(x_1, x_2, x_3);
|
||||
x_4 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__4(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
|
|
@ -662,35 +673,33 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Attributes(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___closed__1 = _init_l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___closed__1);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__1);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____lambda__2___closed__2);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__3 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__4 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__5 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__6 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__7 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__8 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__8);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__9 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__9();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__9);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__10 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__10();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__10);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__11 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__11();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116____closed__11);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_116_(lean_io_mk_world());
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__1);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____lambda__2___closed__2);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__3 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__4 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__5 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__6 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__7 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__8 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__8);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__9 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__9();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__9);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__10 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__10();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__10);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__11 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__11();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121____closed__11);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_121_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_exportAttr = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_exportAttr);
|
||||
|
|
|
|||
252
stage0/stdlib/Lean/Compiler/IR/EmitC.c
generated
252
stage0/stdlib/Lean/Compiler/IR/EmitC.c
generated
|
|
@ -27,8 +27,8 @@ static lean_object* l_Lean_IR_EmitC_emitFnDeclAux___lambda__3___closed__4;
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_foldM_loop___at_Lean_IR_EmitC_emitSimpleExternalCall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitAllocCtor___closed__1;
|
||||
static lean_object* l_Lean_IR_EmitC_quoteString___lambda__1___closed__5;
|
||||
extern lean_object* l_UInt32_size;
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitDecl(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitInc___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitSProj___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -45,6 +45,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitBoxFn___boxed(lean_object*, lean_ob
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitLhs(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_IR_EmitC_emitMainFn___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__2___closed__2;
|
||||
static lean_object* l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__6;
|
||||
static lean_object* l_Lean_IR_EmitC_emitInc___lambda__1___closed__1;
|
||||
static lean_object* l_Lean_IR_EmitC_emitInitFn___closed__3;
|
||||
static lean_object* l_Lean_IR_EmitC_emitReuse___closed__1;
|
||||
|
|
@ -76,6 +77,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitTailCall___lambda__1___boxed(lean_o
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitNumLit(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitLns(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_throwInvalidExportName___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__5;
|
||||
static lean_object* l_Lean_IR_EmitC_argToCString___closed__1;
|
||||
lean_object* l_Lean_getInitFnNameForCore_x3f(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitFileHeader___closed__16;
|
||||
|
|
@ -90,6 +92,7 @@ static lean_object* l_Lean_IR_EmitC_emitReset___closed__4;
|
|||
static lean_object* l_Lean_IR_EmitC_emitFileHeader___closed__21;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitAllocCtor___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitReuse(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emit___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_builtinInitAttr;
|
||||
|
|
@ -144,6 +147,7 @@ static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__1___closed__16;
|
|||
static lean_object* l_Lean_IR_EmitC_emitFileHeader___closed__19;
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__1___closed__5;
|
||||
static lean_object* l_Nat_forM_loop___at_Lean_IR_EmitC_emitFnDeclAux___spec__1___closed__1;
|
||||
static lean_object* l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__3;
|
||||
extern lean_object* l_Lean_IR_instInhabitedParam;
|
||||
LEAN_EXPORT lean_object* l_Nat_forM_loop___at_Lean_IR_EmitC_emitJmp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitBox(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -155,7 +159,6 @@ static lean_object* l_Lean_IR_EmitC_toCName___closed__1;
|
|||
lean_object* l_Lean_Expr_appArg_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_isIf___boxed(lean_object*);
|
||||
uint8_t l_Lean_hasInitAttr(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_quoteString___closed__2;
|
||||
static lean_object* l_Lean_IR_EmitC_emitInitFn___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitSimpleExternalCall___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_declareVars(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
|
|
@ -177,7 +180,6 @@ LEAN_EXPORT lean_object* l_Nat_foldM_loop___at_Lean_IR_EmitC_emitSimpleExternalC
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_toHexDigit(lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_toCType___closed__8;
|
||||
lean_object* l_String_foldlAux_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_forM_loop___at_Lean_IR_EmitC_emitReset___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitJPs___closed__1;
|
||||
|
|
@ -193,6 +195,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitNumLit___boxed(lean_object*, lean_o
|
|||
LEAN_EXPORT lean_object* l_Nat_anyTR_loop___at_Lean_IR_EmitC_overwriteParam___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__3___closed__3;
|
||||
static lean_object* l_Lean_IR_EmitC_emitInc___closed__2;
|
||||
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_getModName(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitFileHeader___closed__3;
|
||||
|
|
@ -203,7 +206,6 @@ uint8_t l_Lean_IR_usesModuleFrom(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_IR_EmitC_emitProj___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitLhs___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitIsShared___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_quoteString___lambda__1___closed__4;
|
||||
lean_object* l_Lean_IR_Decl_params(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitSSet___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitFnDeclAux___lambda__3___closed__3;
|
||||
|
|
@ -225,6 +227,7 @@ extern lean_object* l_Lean_closureMaxArgs;
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitDeclInit___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitSProj___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitUSet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Nat_forM_loop___at_Lean_IR_EmitC_emitArgs___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_IR_EmitC_overwriteParam(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_exportAttr;
|
||||
|
|
@ -256,6 +259,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__3___boxed(lean_obj
|
|||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__1___closed__17;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitLn(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__2;
|
||||
uint8_t l_Lean_IR_IRType_isObj(lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__1___closed__4;
|
||||
static lean_object* l_Lean_IR_EmitC_emitCase___closed__1;
|
||||
|
|
@ -290,6 +294,7 @@ lean_object* l_Lean_Expr_constName_x3f(lean_object*);
|
|||
static lean_object* l_Lean_IR_EmitC_emitInitFn___closed__11;
|
||||
static lean_object* l_Lean_IR_EmitC_emitApp___closed__1;
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__1___closed__8;
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_IR_EmitC_getJPParams___spec__2___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Nat_forM_loop___at_Lean_IR_EmitC_emitDeclAux___spec__1___closed__3;
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__2___closed__18;
|
||||
|
|
@ -358,8 +363,6 @@ LEAN_EXPORT lean_object* l_Nat_forM_loop___at_Lean_IR_EmitC_emitCtorSetArgs___sp
|
|||
static lean_object* l_Lean_IR_EmitC_emitDeclAux___lambda__1___closed__1;
|
||||
static lean_object* l_Lean_IR_EmitC_emitTailCall___lambda__1___closed__1;
|
||||
static lean_object* l_Lean_IR_EmitC_emitFileHeader___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_quoteString___lambda__1(lean_object*, uint32_t);
|
||||
static lean_object* l_Lean_IR_EmitC_quoteString___lambda__1___closed__2;
|
||||
static lean_object* l_Lean_IR_EmitC_emitFileHeader___closed__8;
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__2___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_throwInvalidExportName___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -406,7 +409,6 @@ static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__2___closed__9;
|
|||
extern lean_object* l_Lean_instInhabitedConstantInfo;
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__1___closed__19;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitSSet___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_quoteString___lambda__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_forM_loop___at_Lean_IR_EmitC_emitFnDeclAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_toCType___closed__2;
|
||||
|
|
@ -432,7 +434,6 @@ lean_object* l_Lean_ParametricAttribute_getParam_x3f___rarg(lean_object*, lean_o
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitReuse___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_toCType___closed__6;
|
||||
uint8_t l_Lean_IR_isTailCallTo(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_quoteString___lambda__1___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitFnDeclAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_List_foldr___at_Lean_IR_EmitC_hasMainFn___spec__1(uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitDel(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -496,6 +497,7 @@ lean_object* l_Lean_Environment_imports(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitInc___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__2___closed__26;
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__2___closed__11;
|
||||
static lean_object* l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__1;
|
||||
static lean_object* l_Lean_IR_EmitC_emitNumLit___closed__1;
|
||||
lean_object* l_Lean_mkHashMapImp___rarg(lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__2___closed__29;
|
||||
|
|
@ -525,12 +527,10 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitC_toCName(lean_object*, lean_object*, lea
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitTailCall___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_toCType___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitExternCall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_quoteString___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitTailCall(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__3___closed__1;
|
||||
static lean_object* l_Lean_IR_EmitC_toCName___closed__3;
|
||||
static lean_object* l_Lean_IR_EmitC_emitFileHeader___closed__25;
|
||||
static lean_object* l_Lean_IR_EmitC_quoteString___lambda__1___closed__3;
|
||||
static lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__2___closed__15;
|
||||
static lean_object* l_Lean_IR_EmitC_emitFileHeader___closed__14;
|
||||
static lean_object* l_Lean_IR_EmitC_emitBlock___closed__2;
|
||||
|
|
@ -8710,7 +8710,7 @@ lean_dec(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitC_quoteString___lambda__1___closed__1() {
|
||||
static lean_object* _init_l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8718,7 +8718,7 @@ x_1 = lean_mk_string_from_bytes("\\x", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitC_quoteString___lambda__1___closed__2() {
|
||||
static lean_object* _init_l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8726,7 +8726,7 @@ x_1 = lean_mk_string_from_bytes("\\\"", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitC_quoteString___lambda__1___closed__3() {
|
||||
static lean_object* _init_l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8734,7 +8734,7 @@ x_1 = lean_mk_string_from_bytes("\\\\", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitC_quoteString___lambda__1___closed__4() {
|
||||
static lean_object* _init_l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8742,7 +8742,7 @@ x_1 = lean_mk_string_from_bytes("\\t", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitC_quoteString___lambda__1___closed__5() {
|
||||
static lean_object* _init_l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8750,7 +8750,7 @@ x_1 = lean_mk_string_from_bytes("\\r", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitC_quoteString___lambda__1___closed__6() {
|
||||
static lean_object* _init_l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8758,107 +8758,134 @@ x_1 = lean_mk_string_from_bytes("\\n", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_quoteString___lambda__1(lean_object* x_1, uint32_t x_2) {
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_3; uint8_t x_4;
|
||||
x_3 = 10;
|
||||
x_4 = lean_uint32_dec_eq(x_2, x_3);
|
||||
if (x_4 == 0)
|
||||
uint8_t x_5;
|
||||
x_5 = lean_nat_dec_lt(x_3, x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
uint32_t x_5; uint8_t x_6;
|
||||
x_5 = 13;
|
||||
x_6 = lean_uint32_dec_eq(x_2, x_5);
|
||||
if (x_6 == 0)
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32_t x_7; uint8_t x_8;
|
||||
x_7 = 9;
|
||||
x_8 = lean_uint32_dec_eq(x_2, x_7);
|
||||
if (x_8 == 0)
|
||||
lean_object* x_6; uint32_t x_7; uint32_t x_8; uint8_t x_9;
|
||||
x_6 = lean_string_utf8_next(x_1, x_3);
|
||||
x_7 = lean_string_utf8_get(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_8 = 10;
|
||||
x_9 = lean_uint32_dec_eq(x_7, x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
uint32_t x_9; uint8_t x_10;
|
||||
x_9 = 92;
|
||||
x_10 = lean_uint32_dec_eq(x_2, x_9);
|
||||
if (x_10 == 0)
|
||||
uint32_t x_10; uint8_t x_11;
|
||||
x_10 = 13;
|
||||
x_11 = lean_uint32_dec_eq(x_7, x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
uint32_t x_11; uint8_t x_12;
|
||||
x_11 = 34;
|
||||
x_12 = lean_uint32_dec_eq(x_2, x_11);
|
||||
if (x_12 == 0)
|
||||
uint32_t x_12; uint8_t x_13;
|
||||
x_12 = 9;
|
||||
x_13 = lean_uint32_dec_eq(x_7, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
||||
x_13 = lean_uint32_to_nat(x_2);
|
||||
x_14 = lean_unsigned_to_nat(31u);
|
||||
x_15 = lean_nat_dec_le(x_13, x_14);
|
||||
uint32_t x_14; uint8_t x_15;
|
||||
x_14 = 92;
|
||||
x_15 = lean_uint32_dec_eq(x_7, x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
lean_dec(x_13);
|
||||
x_16 = l_Array_foldlMUnsafe_fold___at_Lean_IR_EmitC_emitFileHeader___spec__1___closed__1;
|
||||
x_17 = lean_string_push(x_16, x_2);
|
||||
x_18 = lean_string_append(x_1, x_17);
|
||||
lean_dec(x_17);
|
||||
return x_18;
|
||||
uint32_t x_16; uint8_t x_17;
|
||||
x_16 = 34;
|
||||
x_17 = lean_uint32_dec_eq(x_7, x_16);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
x_18 = lean_uint32_to_nat(x_7);
|
||||
x_19 = lean_unsigned_to_nat(31u);
|
||||
x_20 = lean_nat_dec_le(x_18, x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
lean_dec(x_18);
|
||||
x_21 = l_Array_foldlMUnsafe_fold___at_Lean_IR_EmitC_emitFileHeader___spec__1___closed__1;
|
||||
x_22 = lean_string_push(x_21, x_7);
|
||||
x_23 = lean_string_append(x_4, x_22);
|
||||
lean_dec(x_22);
|
||||
x_3 = x_6;
|
||||
x_4 = x_23;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_19 = lean_unsigned_to_nat(16u);
|
||||
x_20 = lean_nat_div(x_13, x_19);
|
||||
x_21 = l_Lean_IR_EmitC_toHexDigit(x_20);
|
||||
lean_dec(x_20);
|
||||
x_22 = l_Lean_IR_EmitC_quoteString___lambda__1___closed__1;
|
||||
x_23 = lean_string_append(x_22, x_21);
|
||||
lean_dec(x_21);
|
||||
x_24 = lean_nat_mod(x_13, x_19);
|
||||
lean_dec(x_13);
|
||||
x_25 = l_Lean_IR_EmitC_toHexDigit(x_24);
|
||||
lean_dec(x_24);
|
||||
x_26 = lean_string_append(x_23, x_25);
|
||||
lean_dec(x_25);
|
||||
x_27 = lean_string_append(x_1, x_26);
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_25 = lean_unsigned_to_nat(16u);
|
||||
x_26 = lean_nat_div(x_18, x_25);
|
||||
x_27 = l_Lean_IR_EmitC_toHexDigit(x_26);
|
||||
lean_dec(x_26);
|
||||
return x_27;
|
||||
x_28 = l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__1;
|
||||
x_29 = lean_string_append(x_28, x_27);
|
||||
lean_dec(x_27);
|
||||
x_30 = lean_nat_mod(x_18, x_25);
|
||||
lean_dec(x_18);
|
||||
x_31 = l_Lean_IR_EmitC_toHexDigit(x_30);
|
||||
lean_dec(x_30);
|
||||
x_32 = lean_string_append(x_29, x_31);
|
||||
lean_dec(x_31);
|
||||
x_33 = lean_string_append(x_4, x_32);
|
||||
lean_dec(x_32);
|
||||
x_3 = x_6;
|
||||
x_4 = x_33;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29;
|
||||
x_28 = l_Lean_IR_EmitC_quoteString___lambda__1___closed__2;
|
||||
x_29 = lean_string_append(x_1, x_28);
|
||||
return x_29;
|
||||
lean_object* x_35; lean_object* x_36;
|
||||
x_35 = l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__2;
|
||||
x_36 = lean_string_append(x_4, x_35);
|
||||
x_3 = x_6;
|
||||
x_4 = x_36;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31;
|
||||
x_30 = l_Lean_IR_EmitC_quoteString___lambda__1___closed__3;
|
||||
x_31 = lean_string_append(x_1, x_30);
|
||||
return x_31;
|
||||
lean_object* x_38; lean_object* x_39;
|
||||
x_38 = l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__3;
|
||||
x_39 = lean_string_append(x_4, x_38);
|
||||
x_3 = x_6;
|
||||
x_4 = x_39;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_32; lean_object* x_33;
|
||||
x_32 = l_Lean_IR_EmitC_quoteString___lambda__1___closed__4;
|
||||
x_33 = lean_string_append(x_1, x_32);
|
||||
return x_33;
|
||||
lean_object* x_41; lean_object* x_42;
|
||||
x_41 = l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__4;
|
||||
x_42 = lean_string_append(x_4, x_41);
|
||||
x_3 = x_6;
|
||||
x_4 = x_42;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35;
|
||||
x_34 = l_Lean_IR_EmitC_quoteString___lambda__1___closed__5;
|
||||
x_35 = lean_string_append(x_1, x_34);
|
||||
return x_35;
|
||||
lean_object* x_44; lean_object* x_45;
|
||||
x_44 = l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__5;
|
||||
x_45 = lean_string_append(x_4, x_44);
|
||||
x_3 = x_6;
|
||||
x_4 = x_45;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_36; lean_object* x_37;
|
||||
x_36 = l_Lean_IR_EmitC_quoteString___lambda__1___closed__6;
|
||||
x_37 = lean_string_append(x_1, x_36);
|
||||
return x_37;
|
||||
lean_object* x_47; lean_object* x_48;
|
||||
x_47 = l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__6;
|
||||
x_48 = lean_string_append(x_4, x_47);
|
||||
x_3 = x_6;
|
||||
x_4 = x_48;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -8866,14 +8893,6 @@ static lean_object* _init_l_Lean_IR_EmitC_quoteString___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_IR_EmitC_quoteString___lambda__1___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitC_quoteString___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("\"", 1);
|
||||
return x_1;
|
||||
}
|
||||
|
|
@ -8881,25 +8900,24 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_quoteString(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
x_3 = l_Lean_IR_EmitC_quoteString___closed__1;
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = l_Lean_IR_EmitC_quoteString___closed__2;
|
||||
x_6 = l_String_foldlAux_loop___rarg(x_3, x_1, x_2, x_4, x_5);
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
x_4 = l_Lean_IR_EmitC_quoteString___closed__1;
|
||||
x_5 = l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_2);
|
||||
x_7 = lean_string_append(x_6, x_5);
|
||||
return x_7;
|
||||
x_6 = lean_string_append(x_5, x_4);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_quoteString___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox_uint32(x_2);
|
||||
lean_object* x_5;
|
||||
x_5 = l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_2);
|
||||
x_4 = l_Lean_IR_EmitC_quoteString___lambda__1(x_1, x_3);
|
||||
return x_4;
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitC_quoteString___boxed(lean_object* x_1) {
|
||||
|
|
@ -14709,22 +14727,20 @@ l_Lean_IR_EmitC_emitBoxFn___closed__5 = _init_l_Lean_IR_EmitC_emitBoxFn___closed
|
|||
lean_mark_persistent(l_Lean_IR_EmitC_emitBoxFn___closed__5);
|
||||
l_Lean_IR_EmitC_emitIsShared___closed__1 = _init_l_Lean_IR_EmitC_emitIsShared___closed__1();
|
||||
lean_mark_persistent(l_Lean_IR_EmitC_emitIsShared___closed__1);
|
||||
l_Lean_IR_EmitC_quoteString___lambda__1___closed__1 = _init_l_Lean_IR_EmitC_quoteString___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_IR_EmitC_quoteString___lambda__1___closed__1);
|
||||
l_Lean_IR_EmitC_quoteString___lambda__1___closed__2 = _init_l_Lean_IR_EmitC_quoteString___lambda__1___closed__2();
|
||||
lean_mark_persistent(l_Lean_IR_EmitC_quoteString___lambda__1___closed__2);
|
||||
l_Lean_IR_EmitC_quoteString___lambda__1___closed__3 = _init_l_Lean_IR_EmitC_quoteString___lambda__1___closed__3();
|
||||
lean_mark_persistent(l_Lean_IR_EmitC_quoteString___lambda__1___closed__3);
|
||||
l_Lean_IR_EmitC_quoteString___lambda__1___closed__4 = _init_l_Lean_IR_EmitC_quoteString___lambda__1___closed__4();
|
||||
lean_mark_persistent(l_Lean_IR_EmitC_quoteString___lambda__1___closed__4);
|
||||
l_Lean_IR_EmitC_quoteString___lambda__1___closed__5 = _init_l_Lean_IR_EmitC_quoteString___lambda__1___closed__5();
|
||||
lean_mark_persistent(l_Lean_IR_EmitC_quoteString___lambda__1___closed__5);
|
||||
l_Lean_IR_EmitC_quoteString___lambda__1___closed__6 = _init_l_Lean_IR_EmitC_quoteString___lambda__1___closed__6();
|
||||
lean_mark_persistent(l_Lean_IR_EmitC_quoteString___lambda__1___closed__6);
|
||||
l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__1 = _init_l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__1();
|
||||
lean_mark_persistent(l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__1);
|
||||
l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__2 = _init_l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__2();
|
||||
lean_mark_persistent(l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__2);
|
||||
l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__3 = _init_l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__3();
|
||||
lean_mark_persistent(l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__3);
|
||||
l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__4 = _init_l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__4();
|
||||
lean_mark_persistent(l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__4);
|
||||
l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__5 = _init_l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__5();
|
||||
lean_mark_persistent(l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__5);
|
||||
l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__6 = _init_l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__6();
|
||||
lean_mark_persistent(l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1___closed__6);
|
||||
l_Lean_IR_EmitC_quoteString___closed__1 = _init_l_Lean_IR_EmitC_quoteString___closed__1();
|
||||
lean_mark_persistent(l_Lean_IR_EmitC_quoteString___closed__1);
|
||||
l_Lean_IR_EmitC_quoteString___closed__2 = _init_l_Lean_IR_EmitC_quoteString___closed__2();
|
||||
lean_mark_persistent(l_Lean_IR_EmitC_quoteString___closed__2);
|
||||
l_Lean_IR_EmitC_emitNumLit___closed__1 = _init_l_Lean_IR_EmitC_emitNumLit___closed__1();
|
||||
lean_mark_persistent(l_Lean_IR_EmitC_emitNumLit___closed__1);
|
||||
l_Lean_IR_EmitC_emitNumLit___closed__2 = _init_l_Lean_IR_EmitC_emitNumLit___closed__2();
|
||||
|
|
|
|||
252
stage0/stdlib/Lean/Compiler/IR/EmitLLVM.c
generated
252
stage0/stdlib/Lean/Compiler/IR/EmitLLVM.c
generated
|
|
@ -43,6 +43,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildLeanBoolTrue_x3f___boxed(lean_o
|
|||
static lean_object* l_Lean_IR_EmitLLVM_toCName___rarg___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_LLVM_size__tType___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_UInt32_size;
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_callUnboxForType___closed__5;
|
||||
static lean_object* l_Lean_IR_EmitLLVM_toCName___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitDeclInit___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -50,7 +51,6 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanCtorRelease(size_t, size_t,
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitNumLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitFnDecls___spec__5(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__2;
|
||||
static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitFnArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_callLeanInitialize___closed__1;
|
||||
|
|
@ -153,7 +153,6 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildWhile_____boxed(lean_object*, l
|
|||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_getLLVMModule(size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitDeclInit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__6;
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_llvm_build_zext(size_t, size_t, size_t, size_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_EmitLLVM_emitInitFn___spec__3___closed__3;
|
||||
|
|
@ -261,7 +260,6 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitExternCall(size_t, size_t, lean_
|
|||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitUSet(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_forM_loop___at_Lean_IR_EmitLLVM_emitReset___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_String_foldlAux_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_llvm_array_type(size_t, size_t, uint64_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at_Lean_IR_EmitLLVM_addJpTostate___spec__3(size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_IR_EmitLLVM_emitFns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -284,6 +282,7 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_IR_EmitLLVM_toLLVMType___spec__1(size
|
|||
lean_object* lean_llvm_dispose_pass_manager_builder(size_t, size_t, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_callLeanCtorSet___closed__1;
|
||||
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_emitDeclInit___closed__3;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitProj(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -297,6 +296,7 @@ lean_object* l_Lean_IR_Decl_params(lean_object*);
|
|||
lean_object* l_Array_zip___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_getDecl___boxed(lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_callLeanMkString___closed__1;
|
||||
static lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__5;
|
||||
lean_object* lean_llvm_initialize_target_info(lean_object*);
|
||||
static lean_object* l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitApp___spec__2___closed__2;
|
||||
lean_object* lean_get_init_fn_name_for(lean_object*, lean_object*);
|
||||
|
|
@ -351,6 +351,8 @@ lean_object* lean_llvm_build_inbounds_gep2(size_t, size_t, size_t, size_t, lean_
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanClosureSetFn(size_t, size_t, size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_IR_EmitLLVM_toLLVMType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_emitInitFn___closed__3;
|
||||
static lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__6;
|
||||
static lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__2;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitTailCall___lambda__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanCtorGetUsize(size_t, size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -427,7 +429,6 @@ lean_object* lean_llvm_dispose_target_machine(size_t, size_t, lean_object*);
|
|||
static lean_object* l_Lean_IR_EmitLLVM_emitDeclInit___lambda__3___closed__3;
|
||||
extern uint64_t l_LLVM_IntPredicate_UGT;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitDel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__5;
|
||||
static lean_object* l_Lean_IR_EmitLLVM_emitReuse___lambda__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_EmitLLVM_emitTailCall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
|
|
@ -473,10 +474,8 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitDeclInit___lambda__3(size_t, siz
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_main(size_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callModInitFn(size_t, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_toLLVMType___closed__4;
|
||||
static lean_object* l_Lean_IR_EmitLLVM_quoteString___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_IR_EmitLLVM_addVartoState___spec__5___at_Lean_IR_EmitLLVM_addVartoState___spec__6___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanIOResultIsError___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_quoteString___lambda__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getExternNameFor(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_callLeanDecRef___closed__1;
|
||||
static lean_object* l_Lean_IR_EmitLLVM_emitJp___closed__2;
|
||||
|
|
@ -488,7 +487,6 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__5___boxed(lean_
|
|||
static lean_object* l_Lean_IR_EmitLLVM_callLeanObjTag___closed__1;
|
||||
static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_IR_EmitLLVM_addVartoState___spec__5(size_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__1;
|
||||
extern lean_object* l_Std_Format_defWidth;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanIsScalar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_builderAppendBasicBlock___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -537,6 +535,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitBlock___lambda__1___boxed(lean_o
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildIfThenElse_____lambda__1(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_callLeanClosureSetFn___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanIOMarkEndInitialization(size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constIntUnsigned___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitJmp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_addVartoState(size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -558,6 +557,7 @@ lean_object* lean_get_prefix(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitDec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitIsShared(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitJDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanIOMarkEndInitialization___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__7(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitFnArgs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -691,6 +691,7 @@ static lean_object* l_Lean_IR_EmitLLVM_callLeanInitializeRuntimeModule___closed_
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitExternCall___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_EmitLLVM_getFunIdTy___spec__1(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__3;
|
||||
static lean_object* l_Lean_IR_EmitLLVM_callLeanCtorRelease___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitInc___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_imports(lean_object*);
|
||||
|
|
@ -742,13 +743,13 @@ lean_object* lean_llvm_void_type_in_context(size_t, lean_object*);
|
|||
lean_object* lean_llvm_pass_manager_builder_set_opt_level(size_t, size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitPartialApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanDecRef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_quoteString___lambda__1(lean_object*, uint32_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitBlock___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_getDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_IR_EmitLLVM_emitJp___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_builderGetInsertionFn(size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__4;
|
||||
static lean_object* l_Lean_IR_EmitLLVM_emitExternCall___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_IR_EmitLLVM_emitJmp___spec__1(size_t, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_EmitLLVM_emitTailCall___spec__1(size_t, size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -756,7 +757,6 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_ensureHasDefault_x27(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitUnbox___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_quoteString___boxed(lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_emitDec___closed__1;
|
||||
static lean_object* l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__4;
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_toLLVMType___closed__1;
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_IR_EmitLLVM_toLLVMType___spec__2(size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -799,7 +799,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_IR_EmitLLVM_emitFnDe
|
|||
static lean_object* l_Lean_IR_EmitLLVM_callLeanFinalizeTaskManager___closed__1;
|
||||
static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_getDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__3;
|
||||
static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__2___closed__3;
|
||||
static lean_object* l_Lean_IR_EmitLLVM_callLeanIOMkWorld___closed__1;
|
||||
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(lean_object*);
|
||||
|
|
@ -807,6 +806,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_IR_EmitLLVM_emitSimp
|
|||
static lean_object* l_Lean_IR_EmitLLVM_emitJp___closed__1;
|
||||
lean_object* lean_llvm_link_modules(size_t, size_t, size_t, lean_object*);
|
||||
lean_object* lean_get_libdir(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__4___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitSetTag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__5(size_t, size_t, size_t, uint64_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -12306,7 +12306,7 @@ lean_dec(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__1() {
|
||||
static lean_object* _init_l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -12314,7 +12314,7 @@ x_1 = lean_mk_string_from_bytes("\\x", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__2() {
|
||||
static lean_object* _init_l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -12322,7 +12322,7 @@ x_1 = lean_mk_string_from_bytes("\\\"", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__3() {
|
||||
static lean_object* _init_l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -12330,7 +12330,7 @@ x_1 = lean_mk_string_from_bytes("\\\\", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__4() {
|
||||
static lean_object* _init_l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -12338,7 +12338,7 @@ x_1 = lean_mk_string_from_bytes("\\t", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__5() {
|
||||
static lean_object* _init_l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -12346,7 +12346,7 @@ x_1 = lean_mk_string_from_bytes("\\r", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__6() {
|
||||
static lean_object* _init_l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -12354,107 +12354,134 @@ x_1 = lean_mk_string_from_bytes("\\n", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_quoteString___lambda__1(lean_object* x_1, uint32_t x_2) {
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_3; uint8_t x_4;
|
||||
x_3 = 10;
|
||||
x_4 = lean_uint32_dec_eq(x_2, x_3);
|
||||
if (x_4 == 0)
|
||||
uint8_t x_5;
|
||||
x_5 = lean_nat_dec_lt(x_3, x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
uint32_t x_5; uint8_t x_6;
|
||||
x_5 = 13;
|
||||
x_6 = lean_uint32_dec_eq(x_2, x_5);
|
||||
if (x_6 == 0)
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32_t x_7; uint8_t x_8;
|
||||
x_7 = 9;
|
||||
x_8 = lean_uint32_dec_eq(x_2, x_7);
|
||||
if (x_8 == 0)
|
||||
lean_object* x_6; uint32_t x_7; uint32_t x_8; uint8_t x_9;
|
||||
x_6 = lean_string_utf8_next(x_1, x_3);
|
||||
x_7 = lean_string_utf8_get(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_8 = 10;
|
||||
x_9 = lean_uint32_dec_eq(x_7, x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
uint32_t x_9; uint8_t x_10;
|
||||
x_9 = 92;
|
||||
x_10 = lean_uint32_dec_eq(x_2, x_9);
|
||||
if (x_10 == 0)
|
||||
uint32_t x_10; uint8_t x_11;
|
||||
x_10 = 13;
|
||||
x_11 = lean_uint32_dec_eq(x_7, x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
uint32_t x_11; uint8_t x_12;
|
||||
x_11 = 34;
|
||||
x_12 = lean_uint32_dec_eq(x_2, x_11);
|
||||
if (x_12 == 0)
|
||||
uint32_t x_12; uint8_t x_13;
|
||||
x_12 = 9;
|
||||
x_13 = lean_uint32_dec_eq(x_7, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
||||
x_13 = lean_uint32_to_nat(x_2);
|
||||
x_14 = lean_unsigned_to_nat(31u);
|
||||
x_15 = lean_nat_dec_le(x_13, x_14);
|
||||
uint32_t x_14; uint8_t x_15;
|
||||
x_14 = 92;
|
||||
x_15 = lean_uint32_dec_eq(x_7, x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
lean_dec(x_13);
|
||||
x_16 = l_Lean_IR_EmitLLVM_emitJp___closed__3;
|
||||
x_17 = lean_string_push(x_16, x_2);
|
||||
x_18 = lean_string_append(x_1, x_17);
|
||||
lean_dec(x_17);
|
||||
return x_18;
|
||||
uint32_t x_16; uint8_t x_17;
|
||||
x_16 = 34;
|
||||
x_17 = lean_uint32_dec_eq(x_7, x_16);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
x_18 = lean_uint32_to_nat(x_7);
|
||||
x_19 = lean_unsigned_to_nat(31u);
|
||||
x_20 = lean_nat_dec_le(x_18, x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
lean_dec(x_18);
|
||||
x_21 = l_Lean_IR_EmitLLVM_emitJp___closed__3;
|
||||
x_22 = lean_string_push(x_21, x_7);
|
||||
x_23 = lean_string_append(x_4, x_22);
|
||||
lean_dec(x_22);
|
||||
x_3 = x_6;
|
||||
x_4 = x_23;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_19 = lean_unsigned_to_nat(16u);
|
||||
x_20 = lean_nat_div(x_13, x_19);
|
||||
x_21 = l_Lean_IR_EmitLLVM_toHexDigit(x_20);
|
||||
lean_dec(x_20);
|
||||
x_22 = l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__1;
|
||||
x_23 = lean_string_append(x_22, x_21);
|
||||
lean_dec(x_21);
|
||||
x_24 = lean_nat_mod(x_13, x_19);
|
||||
lean_dec(x_13);
|
||||
x_25 = l_Lean_IR_EmitLLVM_toHexDigit(x_24);
|
||||
lean_dec(x_24);
|
||||
x_26 = lean_string_append(x_23, x_25);
|
||||
lean_dec(x_25);
|
||||
x_27 = lean_string_append(x_1, x_26);
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_25 = lean_unsigned_to_nat(16u);
|
||||
x_26 = lean_nat_div(x_18, x_25);
|
||||
x_27 = l_Lean_IR_EmitLLVM_toHexDigit(x_26);
|
||||
lean_dec(x_26);
|
||||
return x_27;
|
||||
x_28 = l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__1;
|
||||
x_29 = lean_string_append(x_28, x_27);
|
||||
lean_dec(x_27);
|
||||
x_30 = lean_nat_mod(x_18, x_25);
|
||||
lean_dec(x_18);
|
||||
x_31 = l_Lean_IR_EmitLLVM_toHexDigit(x_30);
|
||||
lean_dec(x_30);
|
||||
x_32 = lean_string_append(x_29, x_31);
|
||||
lean_dec(x_31);
|
||||
x_33 = lean_string_append(x_4, x_32);
|
||||
lean_dec(x_32);
|
||||
x_3 = x_6;
|
||||
x_4 = x_33;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29;
|
||||
x_28 = l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__2;
|
||||
x_29 = lean_string_append(x_1, x_28);
|
||||
return x_29;
|
||||
lean_object* x_35; lean_object* x_36;
|
||||
x_35 = l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__2;
|
||||
x_36 = lean_string_append(x_4, x_35);
|
||||
x_3 = x_6;
|
||||
x_4 = x_36;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31;
|
||||
x_30 = l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__3;
|
||||
x_31 = lean_string_append(x_1, x_30);
|
||||
return x_31;
|
||||
lean_object* x_38; lean_object* x_39;
|
||||
x_38 = l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__3;
|
||||
x_39 = lean_string_append(x_4, x_38);
|
||||
x_3 = x_6;
|
||||
x_4 = x_39;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_32; lean_object* x_33;
|
||||
x_32 = l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__4;
|
||||
x_33 = lean_string_append(x_1, x_32);
|
||||
return x_33;
|
||||
lean_object* x_41; lean_object* x_42;
|
||||
x_41 = l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__4;
|
||||
x_42 = lean_string_append(x_4, x_41);
|
||||
x_3 = x_6;
|
||||
x_4 = x_42;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35;
|
||||
x_34 = l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__5;
|
||||
x_35 = lean_string_append(x_1, x_34);
|
||||
return x_35;
|
||||
lean_object* x_44; lean_object* x_45;
|
||||
x_44 = l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__5;
|
||||
x_45 = lean_string_append(x_4, x_44);
|
||||
x_3 = x_6;
|
||||
x_4 = x_45;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_36; lean_object* x_37;
|
||||
x_36 = l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__6;
|
||||
x_37 = lean_string_append(x_1, x_36);
|
||||
return x_37;
|
||||
lean_object* x_47; lean_object* x_48;
|
||||
x_47 = l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__6;
|
||||
x_48 = lean_string_append(x_4, x_47);
|
||||
x_3 = x_6;
|
||||
x_4 = x_48;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -12462,14 +12489,6 @@ static lean_object* _init_l_Lean_IR_EmitLLVM_quoteString___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_IR_EmitLLVM_quoteString___lambda__1___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_EmitLLVM_quoteString___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("\"", 1);
|
||||
return x_1;
|
||||
}
|
||||
|
|
@ -12477,25 +12496,24 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_quoteString(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
x_3 = l_Lean_IR_EmitLLVM_quoteString___closed__1;
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = l_Lean_IR_EmitLLVM_quoteString___closed__2;
|
||||
x_6 = l_String_foldlAux_loop___rarg(x_3, x_1, x_2, x_4, x_5);
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
x_4 = l_Lean_IR_EmitLLVM_quoteString___closed__1;
|
||||
x_5 = l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_2);
|
||||
x_7 = lean_string_append(x_6, x_5);
|
||||
return x_7;
|
||||
x_6 = lean_string_append(x_5, x_4);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_quoteString___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox_uint32(x_2);
|
||||
lean_object* x_5;
|
||||
x_5 = l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_2);
|
||||
x_4 = l_Lean_IR_EmitLLVM_quoteString___lambda__1(x_1, x_3);
|
||||
return x_4;
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_quoteString___boxed(lean_object* x_1) {
|
||||
|
|
@ -39668,22 +39686,20 @@ l_Lean_IR_EmitLLVM_emitDec___closed__1 = _init_l_Lean_IR_EmitLLVM_emitDec___clos
|
|||
lean_mark_persistent(l_Lean_IR_EmitLLVM_emitDec___closed__1);
|
||||
l_Lean_IR_EmitLLVM_emitDec___closed__2 = _init_l_Lean_IR_EmitLLVM_emitDec___closed__2();
|
||||
lean_mark_persistent(l_Lean_IR_EmitLLVM_emitDec___closed__2);
|
||||
l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__1 = _init_l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__1);
|
||||
l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__2 = _init_l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__2();
|
||||
lean_mark_persistent(l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__2);
|
||||
l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__3 = _init_l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__3();
|
||||
lean_mark_persistent(l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__3);
|
||||
l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__4 = _init_l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__4();
|
||||
lean_mark_persistent(l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__4);
|
||||
l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__5 = _init_l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__5();
|
||||
lean_mark_persistent(l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__5);
|
||||
l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__6 = _init_l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__6();
|
||||
lean_mark_persistent(l_Lean_IR_EmitLLVM_quoteString___lambda__1___closed__6);
|
||||
l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__1 = _init_l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__1();
|
||||
lean_mark_persistent(l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__1);
|
||||
l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__2 = _init_l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__2();
|
||||
lean_mark_persistent(l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__2);
|
||||
l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__3 = _init_l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__3();
|
||||
lean_mark_persistent(l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__3);
|
||||
l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__4 = _init_l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__4();
|
||||
lean_mark_persistent(l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__4);
|
||||
l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__5 = _init_l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__5();
|
||||
lean_mark_persistent(l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__5);
|
||||
l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__6 = _init_l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__6();
|
||||
lean_mark_persistent(l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__6);
|
||||
l_Lean_IR_EmitLLVM_quoteString___closed__1 = _init_l_Lean_IR_EmitLLVM_quoteString___closed__1();
|
||||
lean_mark_persistent(l_Lean_IR_EmitLLVM_quoteString___closed__1);
|
||||
l_Lean_IR_EmitLLVM_quoteString___closed__2 = _init_l_Lean_IR_EmitLLVM_quoteString___closed__2();
|
||||
lean_mark_persistent(l_Lean_IR_EmitLLVM_quoteString___closed__2);
|
||||
l_Lean_IR_EmitLLVM_emitSimpleExternalCall___closed__1 = _init_l_Lean_IR_EmitLLVM_emitSimpleExternalCall___closed__1();
|
||||
lean_mark_persistent(l_Lean_IR_EmitLLVM_emitSimpleExternalCall___closed__1);
|
||||
l_Lean_IR_EmitLLVM_emitExternCall___closed__1 = _init_l_Lean_IR_EmitLLVM_emitExternCall___closed__1();
|
||||
|
|
|
|||
2117
stage0/stdlib/Lean/Compiler/InitAttr.c
generated
2117
stage0/stdlib/Lean/Compiler/InitAttr.c
generated
File diff suppressed because it is too large
Load diff
22
stage0/stdlib/Lean/Data/Json/Basic.c
generated
22
stage0/stdlib/Lean/Data/Json/Basic.c
generated
|
|
@ -144,6 +144,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Json_Basic_0__Lean_JsonNumber_fro
|
|||
LEAN_EXPORT lean_object* l_Lean_JsonNumber_instToStringJsonNumber;
|
||||
lean_object* lean_int_div(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_abs(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_int_mul(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_pow(lean_object*, lean_object*);
|
||||
lean_object* lean_string_length(lean_object*);
|
||||
|
|
@ -165,8 +166,8 @@ lean_object* lean_panic_fn(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_JsonNumber_instOfNatJsonNumber(lean_object*);
|
||||
static lean_object* l_Lean_Json_getNum_x3f___closed__1;
|
||||
static lean_object* l_Lean_JsonNumber_instReprJsonNumber___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_int_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static double l_Lean_JsonNumber_toFloat___closed__1;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* lean_int_mod(lean_object*, lean_object*);
|
||||
|
|
@ -200,7 +201,6 @@ uint8_t lean_int_dec_eq(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_JsonNumber_instToStringJsonNumber___closed__1;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonNumber_normalize___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
static lean_object* l_Lean_Json_setObjVal_x21___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_strLt___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -2039,13 +2039,17 @@ x_4 = lean_box(x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = lean_nat_dec_eq(x_3, x_2);
|
||||
x_4 = lean_nat_dec_lt(x_2, x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_5; uint32_t x_6; uint32_t x_7; uint8_t x_8;
|
||||
x_5 = lean_string_utf8_prev(x_1, x_3);
|
||||
x_6 = lean_string_utf8_get(x_1, x_5);
|
||||
|
|
@ -2063,10 +2067,6 @@ x_3 = x_5;
|
|||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_JsonNumber_toString___closed__1() {
|
||||
|
|
@ -2249,7 +2249,7 @@ x_32 = l_Substring_nextn(x_31, x_9, x_4);
|
|||
lean_dec(x_31);
|
||||
x_33 = lean_nat_add(x_4, x_32);
|
||||
lean_dec(x_32);
|
||||
x_34 = l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1(x_29, x_33, x_30);
|
||||
x_34 = l_Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1(x_29, x_33, x_30);
|
||||
x_35 = lean_string_utf8_extract(x_29, x_33, x_34);
|
||||
lean_dec(x_34);
|
||||
lean_dec(x_33);
|
||||
|
|
@ -2301,11 +2301,11 @@ return x_66;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1(x_1, x_2, x_3);
|
||||
x_4 = l_Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
|
|
|
|||
53
stage0/stdlib/Lean/Data/Json/Printer.c
generated
53
stage0/stdlib/Lean/Data/Json/Printer.c
generated
|
|
@ -15,6 +15,7 @@ extern "C" {
|
|||
#endif
|
||||
lean_object* lean_format_pretty(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_compress(lean_object*);
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Json_compress_go___closed__1;
|
||||
lean_object* l_Lean_JsonNumber_toString(lean_object*);
|
||||
lean_object* lean_uint32_to_nat(uint32_t);
|
||||
|
|
@ -33,9 +34,8 @@ static lean_object* l_Lean_RBNode_fold___at_Lean_Json_render___spec__2___closed_
|
|||
static lean_object* l_Lean_Json_render___closed__6;
|
||||
lean_object* l_List_appendTR___rarg(lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_String_foldlAux_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Json_render___closed__14;
|
||||
static lean_object* l_Lean_Json_escape___closed__1;
|
||||
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_escape(lean_object*);
|
||||
uint32_t l_Nat_digitChar(lean_object*);
|
||||
uint8_t lean_uint32_dec_le(uint32_t, uint32_t);
|
||||
|
|
@ -58,14 +58,17 @@ static lean_object* l_Lean_Json_render___closed__7;
|
|||
static lean_object* l_Lean_Json_render___closed__15;
|
||||
static lean_object* l_Lean_Json_render___closed__3;
|
||||
static lean_object* l_Lean_Json_render___closed__10;
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_Json_escape___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_Json_compress_go___spec__2___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Json_render___closed__1;
|
||||
lean_object* lean_string_length(lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mod(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Json_render___spec__1(size_t, size_t, lean_object*);
|
||||
uint8_t lean_uint32_dec_eq(uint32_t, uint32_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_Json_compress_go___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_Json_escape___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_renderString(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_compress_go(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Json_instToFormatJson___closed__1;
|
||||
|
|
@ -286,25 +289,49 @@ x_4 = l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux(x_1, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Json_escape___closed__1() {
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_Json_escape___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux___boxed), 2, 0);
|
||||
return x_1;
|
||||
uint8_t x_5;
|
||||
x_5 = lean_nat_dec_lt(x_3, x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; uint32_t x_7; lean_object* x_8;
|
||||
x_6 = lean_string_utf8_next(x_1, x_3);
|
||||
x_7 = lean_string_utf8_get(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_8 = l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux(x_4, x_7);
|
||||
x_3 = x_6;
|
||||
x_4 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_escape(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
x_3 = l_Lean_Json_escape___closed__1;
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux___closed__2;
|
||||
x_6 = l_String_foldlAux_loop___rarg(x_3, x_1, x_2, x_4, x_5);
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
x_4 = l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux___closed__2;
|
||||
x_5 = l_String_foldlAux___at_Lean_Json_escape___spec__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_2);
|
||||
return x_6;
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_Json_escape___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_String_foldlAux___at_Lean_Json_escape___spec__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_escape___boxed(lean_object* x_1) {
|
||||
|
|
@ -1956,8 +1983,6 @@ l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux___closed__5 = _init_l_
|
|||
lean_mark_persistent(l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux___closed__5);
|
||||
l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux___closed__6 = _init_l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux___closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux___closed__6);
|
||||
l_Lean_Json_escape___closed__1 = _init_l_Lean_Json_escape___closed__1();
|
||||
lean_mark_persistent(l_Lean_Json_escape___closed__1);
|
||||
l_Lean_Json_renderString___closed__1 = _init_l_Lean_Json_renderString___closed__1();
|
||||
lean_mark_persistent(l_Lean_Json_renderString___closed__1);
|
||||
l_Lean_RBNode_fold___at_Lean_Json_render___spec__2___closed__1 = _init_l_Lean_RBNode_fold___at_Lean_Json_render___spec__2___closed__1();
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Data/KVMap.c
generated
4
stage0/stdlib/Lean/Data/KVMap.c
generated
|
|
@ -54,7 +54,6 @@ LEAN_EXPORT lean_object* l_Lean_KVMap_setNat(lean_object*, lean_object*, lean_ob
|
|||
LEAN_EXPORT lean_object* l_Lean_KVMap_getBool___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_KVMap_instValueInt___lambda__2___boxed(lean_object*);
|
||||
static lean_object* l_Prod_repr___at___private_Lean_Data_KVMap_0__Lean_reprKVMap____x40_Lean_Data_KVMap___hyg_1034____spec__3___closed__6;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2377_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_KVMap_isEmpty(lean_object*);
|
||||
static lean_object* l_List_foldl___at_Lean_KVMap_instToStringKVMap___spec__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedDataValue;
|
||||
|
|
@ -227,6 +226,7 @@ LEAN_EXPORT lean_object* l_Lean_KVMap_setBool___boxed(lean_object*, lean_object*
|
|||
LEAN_EXPORT lean_object* l_Lean_KVMap_empty;
|
||||
static lean_object* l_Lean_instReprDataValue___closed__1;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2384_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_KVMap_instForInKVMapProdNameDataValue(lean_object*, lean_object*);
|
||||
static lean_object* l_Prod_repr___at___private_Lean_Data_KVMap_0__Lean_reprKVMap____x40_Lean_Data_KVMap___hyg_1034____spec__3___closed__4;
|
||||
static lean_object* l_Lean_KVMap_instValueInt___closed__3;
|
||||
|
|
@ -1064,7 +1064,7 @@ lean_inc(x_81);
|
|||
lean_dec(x_1);
|
||||
x_82 = lean_unsigned_to_nat(1024u);
|
||||
x_83 = lean_nat_dec_le(x_82, x_2);
|
||||
x_84 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2377_(x_81, x_82);
|
||||
x_84 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2384_(x_81, x_82);
|
||||
x_85 = l___private_Lean_Data_KVMap_0__Lean_reprDataValue____x40_Lean_Data_KVMap___hyg_307____closed__34;
|
||||
x_86 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_86, 0, x_85);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
8
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
|
|
@ -39,6 +39,7 @@ static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonC
|
|||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_53____closed__9;
|
||||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_702____boxed(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6649_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1067____closed__12;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1737____closed__59;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1067____closed__3;
|
||||
|
|
@ -291,8 +292,6 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Ls
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1737____boxed(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__1;
|
||||
LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_documentHighlightProvider___default;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6800_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6652_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_311____closed__10;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_673____boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1262____closed__14;
|
||||
|
|
@ -344,6 +343,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabiliti
|
|||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkspaceClientCapabilities;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceClientCapabilities_workspaceEdit_x3f___default;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1067____closed__4;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6797_(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_442____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_848_(lean_object*);
|
||||
|
|
@ -4197,7 +4197,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj
|
|||
x_4 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6800_(x_4);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6797_(x_4);
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_1);
|
||||
lean_ctor_set(x_6, 1, x_5);
|
||||
|
|
@ -4655,7 +4655,7 @@ return x_4;
|
|||
else
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6652_(x_3);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6649_(x_3);
|
||||
lean_dec(x_3);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
|
|
|
|||
5
stage0/stdlib/Lean/Data/Lsp/Internal.c
generated
5
stage0/stdlib/Lean/Data/Lsp/Internal.c
generated
|
|
@ -429,14 +429,14 @@ lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t
|
|||
x_2 = lean_unsigned_to_nat(2u);
|
||||
lean_inc(x_1);
|
||||
x_3 = l_String_take(x_1, x_2);
|
||||
lean_inc(x_1);
|
||||
x_4 = l_String_drop(x_1, x_2);
|
||||
x_5 = l_Lean_Lsp_RefIdent_fromString___closed__1;
|
||||
x_6 = lean_string_dec_eq(x_4, x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_object* x_7; uint8_t x_8;
|
||||
x_7 = l_String_toName(x_1);
|
||||
lean_inc(x_4);
|
||||
x_7 = l_String_toName(x_4);
|
||||
x_8 = l_Lean_Name_isAnonymous(x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -465,7 +465,6 @@ else
|
|||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_1);
|
||||
x_15 = lean_box(0);
|
||||
x_16 = l_Lean_Lsp_RefIdent_fromString___lambda__1(x_3, x_15);
|
||||
lean_dec(x_3);
|
||||
|
|
|
|||
6786
stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c
generated
6786
stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c
generated
File diff suppressed because it is too large
Load diff
71
stage0/stdlib/Lean/Data/Lsp/Utf16.c
generated
71
stage0/stdlib/Lean/Data/Lsp/Utf16.c
generated
|
|
@ -24,40 +24,38 @@ LEAN_EXPORT lean_object* l_String_utf16PosToCodepointPos(lean_object*, lean_obje
|
|||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Utf16_0__String_utf16PosToCodepointPosFromAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Char_utf16Size___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldrAux___at_String_utf16Length___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_FileMap_lspPosToUtf8Pos___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_FileMap_lspPosToUtf8Pos(lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_utf16Length___lambda__1(uint32_t, lean_object*);
|
||||
uint8_t lean_uint32_dec_le(uint32_t, uint32_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Utf16_0__String_codepointPosToUtf16PosFromAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Utf16_0__String_utf16PosToCodepointPosFromAux(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_utf16Length___lambda__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_FileMap_utf8PosToLspPos(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_utf16PosToCodepointPosFrom(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_prev(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint32_t l_Char_utf16Size(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_FileMap_leanPosToLspPos___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_instInhabitedPos;
|
||||
lean_object* l_String_foldrAux_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_codepointPosToUtf16Pos___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Utf16_0__String_codepointPosToUtf16PosFromAux(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_String_utf16Length___closed__1;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_FileMap_utf8PosToLspPos___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_back___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_utf16PosToCodepointPosFrom___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Utf16_0__String_csize16(uint32_t);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_utf16Length___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_utf16Length(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Utf16_0__String_csize16___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_codepointPosToUtf8PosFrom___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_codepointPosToUtf8PosFrom(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldrAux___at_String_utf16Length___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Array_isEmpty___rarg(lean_object*);
|
||||
LEAN_EXPORT uint32_t l_Char_utf16Size(uint32_t x_1) {
|
||||
_start:
|
||||
|
|
@ -109,54 +107,51 @@ x_3 = l___private_Lean_Data_Lsp_Utf16_0__String_csize16(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_utf16Length___lambda__1(uint32_t x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_String_foldrAux___at_String_utf16Length___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l___private_Lean_Data_Lsp_Utf16_0__String_csize16(x_1);
|
||||
x_4 = lean_nat_add(x_3, x_2);
|
||||
uint8_t x_5;
|
||||
x_5 = lean_nat_dec_lt(x_4, x_3);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_String_utf16Length___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_String_utf16Length___lambda__1___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; uint32_t x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_6 = lean_string_utf8_prev(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = lean_string_utf8_get(x_2, x_6);
|
||||
x_8 = l___private_Lean_Data_Lsp_Utf16_0__String_csize16(x_7);
|
||||
x_9 = lean_nat_add(x_8, x_1);
|
||||
lean_dec(x_1);
|
||||
lean_dec(x_8);
|
||||
x_1 = x_9;
|
||||
x_3 = x_6;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_utf16Length(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
x_3 = l_String_utf16Length___closed__1;
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = l_String_foldrAux_loop___rarg(x_3, x_4, x_1, x_2, x_4);
|
||||
lean_dec(x_2);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_utf16Length___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox_uint32(x_1);
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
x_4 = l_String_foldrAux___at_String_utf16Length___spec__1(x_3, x_1, x_2, x_3);
|
||||
lean_dec(x_1);
|
||||
x_4 = l_String_utf16Length___lambda__1(x_3, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_utf16Length___boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_String_foldrAux___at_String_utf16Length___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_String_utf16Length(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
lean_object* x_5;
|
||||
x_5 = l_String_foldrAux___at_String_utf16Length___spec__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Utf16_0__String_codepointPosToUtf16PosFromAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -489,8 +484,6 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Data_Position(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_String_utf16Length___closed__1 = _init_l_String_utf16Length___closed__1();
|
||||
lean_mark_persistent(l_String_utf16Length___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
26
stage0/stdlib/Lean/Data/Parsec.c
generated
26
stage0/stdlib/Lean/Data/Parsec.c
generated
|
|
@ -63,7 +63,6 @@ LEAN_EXPORT lean_object* l_Lean_Parsec_hexDigit(lean_object*);
|
|||
uint8_t lean_uint32_dec_le(uint32_t, uint32_t);
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parsec_skip(lean_object*);
|
||||
uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parsec_run___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parsec_instReprParseResult___rarg(lean_object*);
|
||||
uint8_t l_String_Iterator_hasNext(lean_object*);
|
||||
|
|
@ -79,6 +78,7 @@ static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult_
|
|||
LEAN_EXPORT lean_object* l_Lean_Parsec_pstring___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parsec_expectedEndOfInput;
|
||||
extern lean_object* l_Std_Format_defWidth;
|
||||
uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parsec_asciiLetter(lean_object*);
|
||||
static lean_object* l_Lean_Parsec_instMonadParsec___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parsec_run___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -1152,7 +1152,7 @@ if (x_9 == 0)
|
|||
lean_object* x_10; lean_object* x_11; uint8_t x_12;
|
||||
x_10 = lean_ctor_get(x_4, 0);
|
||||
x_11 = lean_ctor_get(x_4, 1);
|
||||
x_12 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(x_3, x_10);
|
||||
x_12 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(x_3, x_10);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
|
|
@ -1178,7 +1178,7 @@ x_16 = lean_ctor_get(x_4, 1);
|
|||
lean_inc(x_16);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_4);
|
||||
x_17 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(x_3, x_15);
|
||||
x_17 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(x_3, x_15);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18;
|
||||
|
|
@ -1323,7 +1323,7 @@ if (x_10 == 0)
|
|||
lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_11 = lean_ctor_get(x_5, 0);
|
||||
x_12 = lean_ctor_get(x_5, 1);
|
||||
x_13 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(x_4, x_11);
|
||||
x_13 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(x_4, x_11);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_dec(x_4);
|
||||
|
|
@ -1349,7 +1349,7 @@ x_17 = lean_ctor_get(x_5, 1);
|
|||
lean_inc(x_17);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_5);
|
||||
x_18 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(x_4, x_16);
|
||||
x_18 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(x_4, x_16);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_19;
|
||||
|
|
@ -1579,7 +1579,7 @@ if (x_13 == 0)
|
|||
lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
x_14 = lean_ctor_get(x_8, 0);
|
||||
x_15 = lean_ctor_get(x_8, 1);
|
||||
x_16 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(x_3, x_14);
|
||||
x_16 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(x_3, x_14);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
|
|
@ -1604,7 +1604,7 @@ x_18 = lean_ctor_get(x_8, 1);
|
|||
lean_inc(x_18);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_8);
|
||||
x_19 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(x_3, x_17);
|
||||
x_19 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(x_3, x_17);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
lean_object* x_20;
|
||||
|
|
@ -1638,7 +1638,7 @@ if (x_22 == 0)
|
|||
lean_object* x_23; lean_object* x_24; uint8_t x_25;
|
||||
x_23 = lean_ctor_get(x_4, 0);
|
||||
x_24 = lean_ctor_get(x_4, 1);
|
||||
x_25 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(x_3, x_23);
|
||||
x_25 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(x_3, x_23);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
|
|
@ -1663,7 +1663,7 @@ x_27 = lean_ctor_get(x_4, 1);
|
|||
lean_inc(x_27);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_4);
|
||||
x_28 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(x_3, x_26);
|
||||
x_28 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(x_3, x_26);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
lean_object* x_29;
|
||||
|
|
@ -1836,7 +1836,7 @@ if (x_14 == 0)
|
|||
lean_object* x_15; lean_object* x_16; uint8_t x_17;
|
||||
x_15 = lean_ctor_get(x_9, 0);
|
||||
x_16 = lean_ctor_get(x_9, 1);
|
||||
x_17 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(x_3, x_15);
|
||||
x_17 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(x_3, x_15);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
|
|
@ -1861,7 +1861,7 @@ x_19 = lean_ctor_get(x_9, 1);
|
|||
lean_inc(x_19);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_9);
|
||||
x_20 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(x_3, x_18);
|
||||
x_20 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(x_3, x_18);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21;
|
||||
|
|
@ -1895,7 +1895,7 @@ if (x_23 == 0)
|
|||
lean_object* x_24; lean_object* x_25; uint8_t x_26;
|
||||
x_24 = lean_ctor_get(x_4, 0);
|
||||
x_25 = lean_ctor_get(x_4, 1);
|
||||
x_26 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(x_3, x_24);
|
||||
x_26 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(x_3, x_24);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
|
|
@ -1920,7 +1920,7 @@ x_28 = lean_ctor_get(x_4, 1);
|
|||
lean_inc(x_28);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_4);
|
||||
x_29 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_2169_(x_3, x_27);
|
||||
x_29 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3553_(x_3, x_27);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
lean_object* x_30;
|
||||
|
|
|
|||
884
stage0/stdlib/Lean/Data/Xml/Parser.c
generated
884
stage0/stdlib/Lean/Data/Xml/Parser.c
generated
File diff suppressed because it is too large
Load diff
126
stage0/stdlib/Lean/Elab/AutoBound.c
generated
126
stage0/stdlib/Lean/Elab/AutoBound.c
generated
|
|
@ -18,17 +18,17 @@ static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_68____cl
|
|||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_isValidAutoBoundImplicitName___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_68____closed__3;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___lambda__1(uint32_t);
|
||||
LEAN_EXPORT uint8_t l_String_anyAux___at___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_isGreek(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7_(lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____closed__8;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___lambda__1___boxed(lean_object*);
|
||||
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Elab_isValidAutoBoundLevelName(lean_object*, uint8_t);
|
||||
uint8_t l_String_anyAux_loop(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____closed__3;
|
||||
LEAN_EXPORT lean_object* l_String_anyAux___at___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_68____closed__5;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix(lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
|
|
@ -50,7 +50,6 @@ static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____clo
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_autoImplicit;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_relaxedAutoImplicit;
|
||||
LEAN_EXPORT lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___closed__1;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Elab_isValidAutoBoundImplicitName(lean_object*, uint8_t);
|
||||
uint8_t l_Char_isLower(uint32_t);
|
||||
|
|
@ -291,72 +290,86 @@ x_5 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___lambda__1(uint32_t x_1) {
|
||||
LEAN_EXPORT uint8_t l_String_anyAux___at___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2;
|
||||
x_2 = l_Char_isDigit(x_1);
|
||||
if (x_2 == 0)
|
||||
uint8_t x_4;
|
||||
x_4 = lean_nat_dec_lt(x_3, x_2);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = l_Lean_isSubScriptAlnum(x_1);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
uint32_t x_4; uint8_t x_5;
|
||||
x_4 = 95;
|
||||
x_5 = lean_uint32_dec_eq(x_1, x_4);
|
||||
if (x_5 == 0)
|
||||
uint8_t x_5;
|
||||
lean_dec(x_3);
|
||||
x_5 = 0;
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32_t x_6; uint8_t x_7;
|
||||
x_6 = 39;
|
||||
x_7 = lean_uint32_dec_eq(x_1, x_6);
|
||||
x_6 = lean_string_utf8_get(x_1, x_3);
|
||||
x_7 = l_Char_isDigit(x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
uint8_t x_8;
|
||||
x_8 = 1;
|
||||
return x_8;
|
||||
x_8 = l_Lean_isSubScriptAlnum(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
uint32_t x_9; uint8_t x_10;
|
||||
x_9 = 95;
|
||||
x_10 = lean_uint32_dec_eq(x_6, x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
uint32_t x_11; uint8_t x_12;
|
||||
x_11 = 39;
|
||||
x_12 = lean_uint32_dec_eq(x_6, x_11);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
uint8_t x_13;
|
||||
lean_dec(x_3);
|
||||
x_13 = 1;
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_9;
|
||||
x_9 = 0;
|
||||
return x_9;
|
||||
lean_object* x_14;
|
||||
x_14 = lean_string_utf8_next(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_3 = x_14;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_10;
|
||||
x_10 = 0;
|
||||
return x_10;
|
||||
lean_object* x_16;
|
||||
x_16 = lean_string_utf8_next(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_3 = x_16;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_11;
|
||||
x_11 = 0;
|
||||
return x_11;
|
||||
lean_object* x_18;
|
||||
x_18 = lean_string_utf8_next(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_3 = x_18;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_12;
|
||||
x_12 = 0;
|
||||
return x_12;
|
||||
lean_object* x_20;
|
||||
x_20 = lean_string_utf8_next(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_3 = x_20;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___lambda__1___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
lean_inc(x_2);
|
||||
|
|
@ -370,33 +383,32 @@ x_6 = l_Substring_nextn(x_4, x_5, x_3);
|
|||
lean_dec(x_4);
|
||||
x_7 = lean_nat_add(x_3, x_6);
|
||||
lean_dec(x_6);
|
||||
x_8 = l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___closed__1;
|
||||
x_9 = l_String_anyAux_loop(x_1, x_2, x_8, x_7);
|
||||
x_8 = l_String_anyAux___at___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___spec__1(x_1, x_2, x_7);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
if (x_9 == 0)
|
||||
if (x_8 == 0)
|
||||
{
|
||||
uint8_t x_10;
|
||||
x_10 = 1;
|
||||
return x_10;
|
||||
uint8_t x_9;
|
||||
x_9 = 1;
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_11;
|
||||
x_11 = 0;
|
||||
return x_11;
|
||||
uint8_t x_10;
|
||||
x_10 = 0;
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___lambda__1___boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_String_anyAux___at___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_2 = lean_unbox_uint32(x_1);
|
||||
uint8_t x_4; lean_object* x_5;
|
||||
x_4 = l_String_anyAux___at___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___spec__1(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_3 = l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___lambda__1(x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
x_5 = lean_box(x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___boxed(lean_object* x_1) {
|
||||
|
|
@ -636,9 +648,7 @@ if (lean_io_result_is_error(res)) return res;
|
|||
l_Lean_Elab_relaxedAutoImplicit = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Elab_relaxedAutoImplicit);
|
||||
lean_dec_ref(res);
|
||||
}l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___closed__1 = _init_l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
799
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
799
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
File diff suppressed because it is too large
Load diff
313
stage0/stdlib/Lean/Elab/Do.c
generated
313
stage0/stdlib/Lean/Elab/Do.c
generated
|
|
@ -75,7 +75,6 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__8;
|
|||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_getHaveIdLhsVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__27;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__3___closed__5;
|
||||
|
|
@ -148,7 +147,6 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2;
|
|||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_getDoLetVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__2(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__45;
|
||||
|
|
@ -228,7 +226,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_
|
|||
static lean_object* l_Lean_Elab_Term_Do_hasReturn___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__23;
|
||||
LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_mkReassignCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__1;
|
||||
|
|
@ -252,6 +249,7 @@ static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_t
|
|||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___closed__8;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__30;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__23;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Elab_Term_Do_insertVars___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabLiftMethod___closed__2;
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__5;
|
||||
|
|
@ -269,11 +267,11 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_
|
|||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData___spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13;
|
||||
static lean_object* l_Lean_Elab_Term_Do_annotate___rarg___lambda__1___closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_getLetPatDeclVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_getDoLetRecVars___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Elab_Term_Do_insertVars___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -316,7 +314,6 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__3___cl
|
|||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6;
|
||||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__8;
|
||||
static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__5___closed__2;
|
||||
static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__16;
|
||||
lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -437,6 +434,7 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__3___cl
|
|||
static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__5___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__10;
|
||||
lean_object* l_List_appendTR___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_elabDo___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__26;
|
||||
|
|
@ -564,12 +562,11 @@ lean_object* l_Lean_Elab_Term_exprToSyntax(lean_object*, lean_object*, lean_obje
|
|||
lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2;
|
||||
lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__11;
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___closed__2;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12;
|
||||
lean_object* l_Lean_Elab_Term_expandOptType(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__10___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_getHaveIdLhsVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_getHaveIdLhsVar(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -674,6 +671,7 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lamb
|
|||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__15;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__3___closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Elab_Term_Do_eraseVars___spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__5;
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_annotate___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__31;
|
||||
|
|
@ -697,7 +695,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(lea
|
|||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___closed__2;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9;
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6;
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__4;
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__9;
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9;
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__4;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__9;
|
||||
|
|
@ -817,8 +815,6 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f
|
|||
uint8_t l_Lean_Syntax_isIdent(lean_object*);
|
||||
lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_panic___at_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___spec__1___closed__2;
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__7;
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__2;
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__16;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__34;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermUnless_declRange___closed__7;
|
||||
|
|
@ -883,7 +879,6 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_Do_mkJmp
|
|||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__5;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclHasBinders(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__24;
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___closed__1;
|
||||
lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13;
|
||||
|
|
@ -1010,13 +1005,13 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__3___cl
|
|||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__4;
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__8;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__1___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doUnlessToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__8;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__43;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_getLetDeclVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__8;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS___closed__2;
|
||||
|
|
@ -1029,6 +1024,7 @@ LEAN_EXPORT uint8_t l_Lean_RBNode_any___at_Lean_Elab_Term_Do_extendUpdatedVars__
|
|||
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_indentExpr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_mkMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__7;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__7;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1051,12 +1047,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1(lean_
|
|||
lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__8;
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__12;
|
||||
lean_object* l_Lean_mkSepArray(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__9;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__3___closed__19;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_Do_mkUnless___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__10;
|
||||
static lean_object* l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__22;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20;
|
||||
|
|
@ -1085,8 +1082,11 @@ static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_t
|
|||
LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Elab_Term_Do_insertVars___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__7;
|
||||
LEAN_EXPORT uint8_t l_Lean_Elab_Term_Do_hasTerminalAction___lambda__1(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__8;
|
||||
lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__13;
|
||||
static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__5;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_annotate___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1095,7 +1095,6 @@ static lean_object* l_Lean_Elab_Term_Do_getDoHaveVars___closed__1;
|
|||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__4;
|
||||
lean_object* l_Lean_Expr_getAppFn(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__5;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__6;
|
||||
uint8_t l_Lean_RBNode_isBlack___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_attachJP(lean_object*, lean_object*);
|
||||
|
|
@ -1178,7 +1177,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToTerm_mkUVarTuple(lean_object*, le
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__10(lean_object*, uint8_t, uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_beq___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__12___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__12;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__3;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod_declRange___closed__6;
|
||||
|
|
@ -1188,6 +1186,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__3;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToTerm_Kind_noConfusion___rarg___lambda__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_getDoIdDeclVar___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__6;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__32;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14;
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__11;
|
||||
|
|
@ -1262,6 +1261,7 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__8;
|
|||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandMatchAlt(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1313,6 +1313,7 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedV
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__18;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData(lean_object*);
|
||||
lean_object* l_Lean_HygieneInfo_mkIdent(lean_object*, lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__44;
|
||||
static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__8___closed__3;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
|
|
@ -1376,12 +1377,12 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_ex
|
|||
static lean_object* l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_getPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__4;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__2___closed__2;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__3___closed__26;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__21;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12;
|
||||
|
|
@ -12380,22 +12381,13 @@ static lean_object* _init_l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("this", 4);
|
||||
x_1 = lean_mk_string_from_bytes("hygieneInfo", 11);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__1;
|
||||
x_2 = l_String_toSubstring_x27(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__1;
|
||||
|
|
@ -12403,72 +12395,51 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_getHaveIdLhsVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__3() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9;
|
||||
x_9 = l_Lean_Syntax_isNone(x_1);
|
||||
if (x_9 == 0)
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("this", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
lean_dec(x_6);
|
||||
x_10 = lean_unsigned_to_nat(0u);
|
||||
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
|
||||
x_12 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
lean_ctor_set(x_12, 1, x_8);
|
||||
return x_12;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_getHaveIdLhsVar(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
lean_inc(x_1);
|
||||
x_2 = l_Lean_Syntax_getKind(x_1);
|
||||
x_3 = l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__2;
|
||||
x_4 = lean_name_eq(x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_13 = lean_ctor_get(x_6, 5);
|
||||
lean_inc(x_13);
|
||||
x_14 = 0;
|
||||
x_15 = l_Lean_SourceInfo_fromRef(x_13, x_14);
|
||||
x_16 = lean_ctor_get(x_6, 10);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_6);
|
||||
x_17 = lean_st_ref_get(x_7, x_8);
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
lean_inc(x_18);
|
||||
x_19 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_17);
|
||||
x_20 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_18);
|
||||
x_21 = lean_environment_main_module(x_20);
|
||||
x_22 = l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__3;
|
||||
x_23 = l_Lean_addMacroScope(x_21, x_22, x_16);
|
||||
x_24 = lean_box(0);
|
||||
x_25 = l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__2;
|
||||
x_26 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_26, 0, x_15);
|
||||
lean_ctor_set(x_26, 1, x_25);
|
||||
lean_ctor_set(x_26, 2, x_23);
|
||||
lean_ctor_set(x_26, 3, x_24);
|
||||
x_27 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_26);
|
||||
lean_ctor_set(x_27, 1, x_19);
|
||||
return x_27;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_getHaveIdLhsVar___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9;
|
||||
x_9 = l_Lean_Elab_Term_Do_getHaveIdLhsVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9;
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
|
||||
lean_dec(x_1);
|
||||
x_7 = l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__4;
|
||||
x_8 = 0;
|
||||
x_9 = l_Lean_HygieneInfo_mkIdent(x_6, x_7, x_8);
|
||||
lean_dec(x_6);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Do_getDoHaveVars___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -12565,62 +12536,52 @@ return x_21;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_22 = l_Lean_Syntax_getArg(x_12, x_11);
|
||||
lean_dec(x_12);
|
||||
x_23 = l_Lean_Elab_Term_Do_getHaveIdLhsVar(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_22);
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_23);
|
||||
x_26 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3;
|
||||
x_27 = lean_array_push(x_26, x_24);
|
||||
x_28 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_25);
|
||||
return x_28;
|
||||
x_23 = l_Lean_Elab_Term_Do_getHaveIdLhsVar(x_22);
|
||||
x_24 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3;
|
||||
x_25 = lean_array_push(x_24, x_23);
|
||||
x_26 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_25);
|
||||
lean_ctor_set(x_26, 1, x_8);
|
||||
return x_26;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29;
|
||||
lean_object* x_27;
|
||||
lean_dec(x_13);
|
||||
x_29 = l_Lean_Elab_Term_Do_getLetPatDeclVars(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
x_27 = l_Lean_Elab_Term_Do_getLetPatDeclVars(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_12);
|
||||
return x_29;
|
||||
return x_27;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
lean_dec(x_13);
|
||||
x_30 = l_Lean_Syntax_getArg(x_12, x_11);
|
||||
lean_dec(x_12);
|
||||
x_31 = l_Lean_Elab_Term_Do_getHaveIdLhsVar(x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_30);
|
||||
x_32 = lean_ctor_get(x_31, 0);
|
||||
lean_inc(x_32);
|
||||
x_33 = lean_ctor_get(x_31, 1);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_31);
|
||||
x_34 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3;
|
||||
x_35 = lean_array_push(x_34, x_32);
|
||||
x_36 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_36, 0, x_35);
|
||||
lean_ctor_set(x_36, 1, x_33);
|
||||
return x_36;
|
||||
x_28 = l_Lean_Syntax_getArg(x_12, x_11);
|
||||
lean_dec(x_12);
|
||||
x_29 = l_Lean_Elab_Term_Do_getHaveIdLhsVar(x_28);
|
||||
x_30 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3;
|
||||
x_31 = lean_array_push(x_30, x_29);
|
||||
x_32 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_31);
|
||||
lean_ctor_set(x_32, 1, x_8);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -40231,7 +40192,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -40241,27 +40202,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__1;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__1;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__3() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__2;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__2;
|
||||
x_2 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__4() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -40269,17 +40230,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__5() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__3;
|
||||
x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__4;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__3;
|
||||
x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__6() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -40287,47 +40248,47 @@ x_1 = lean_mk_string_from_bytes("_@", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__7() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__5;
|
||||
x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__6;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__5;
|
||||
x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__6;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__8() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__7;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__7;
|
||||
x_2 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__9() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__8;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__8;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__10() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__9;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__9;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__11() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -40335,33 +40296,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__12() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__10;
|
||||
x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__11;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__10;
|
||||
x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__13() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__12;
|
||||
x_2 = lean_unsigned_to_nat(36009u);
|
||||
x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__12;
|
||||
x_2 = lean_unsigned_to_nat(35937u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_Term_Do_elabDo___closed__1;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__13;
|
||||
x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__13;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -41455,6 +41416,8 @@ l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__2 = _init_l_Lean_Elab_Term_Do_getH
|
|||
lean_mark_persistent(l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__2);
|
||||
l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__3 = _init_l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__3);
|
||||
l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__4 = _init_l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Do_getHaveIdLhsVar___closed__4);
|
||||
l_Lean_Elab_Term_Do_getDoHaveVars___closed__1 = _init_l_Lean_Elab_Term_Do_getDoHaveVars___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Do_getDoHaveVars___closed__1);
|
||||
l_Lean_Elab_Term_Do_getDoHaveVars___closed__2 = _init_l_Lean_Elab_Term_Do_getDoHaveVars___closed__2();
|
||||
|
|
@ -42389,33 +42352,33 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Do_elabDo_declRange___closed_
|
|||
res = l___regBuiltin_Lean_Elab_Term_Do_elabDo_declRange(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__1);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__2);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__3);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__4);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__5);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__6);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__7 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__7);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__8 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__8);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__9 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__9);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__10 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__10();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__10);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__11 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__11();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__11);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__12 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__12();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__12);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__13 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__13();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009____closed__13);
|
||||
res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_36009_(lean_io_mk_world());
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__1);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__2);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__3);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__4);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__5);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__6);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__7 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__7);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__8 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__8);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__9 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__9);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__10 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__10();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__10);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__11 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__11();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__11);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__12 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__12();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__12);
|
||||
l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__13 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__13();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937____closed__13);
|
||||
res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_35937_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1();
|
||||
|
|
|
|||
788
stage0/stdlib/Lean/Elab/Structure.c
generated
788
stage0/stdlib/Lean/Elab/Structure.c
generated
File diff suppressed because it is too large
Load diff
1415
stage0/stdlib/Lean/Elab/Syntax.c
generated
1415
stage0/stdlib/Lean/Elab/Syntax.c
generated
File diff suppressed because it is too large
Load diff
12
stage0/stdlib/Lean/LocalContext.c
generated
12
stage0/stdlib/Lean/LocalContext.c
generated
|
|
@ -33,6 +33,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars_
|
|||
static lean_object* l_Lean_LocalContext_sanitizeNames___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint64_t l___private_Lean_LocalContext_0__Lean_hashLocalDeclKind____x40_Lean_LocalContext___hyg_257_(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_anyM___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_indexOfAux___at_Lean_LocalContext_erase___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -165,7 +166,6 @@ LEAN_EXPORT lean_object* l_Lean_LocalContext_addDecl(lean_object*, lean_object*)
|
|||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_allM___spec__5(lean_object*);
|
||||
lean_object* l_Lean_PersistentArray_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint64_t l___private_Lean_LocalContext_0__Lean_hashLocalDeclKind____x40_Lean_LocalContext___hyg_260_(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__5___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_mapM___at_Lean_LocalContext_replaceFVarId___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -445,7 +445,6 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_LocalContext_all___spec__5(
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_foldl___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalDeclKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalDecl_type(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_LocalContext_0__Lean_hashLocalDeclKind____x40_Lean_LocalContext___hyg_260____boxed(lean_object*);
|
||||
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__7(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_anyM___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -506,6 +505,7 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr_
|
|||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__4___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_LocalContext_findFromUserName_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__12(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_LocalContext_0__Lean_hashLocalDeclKind____x40_Lean_LocalContext___hyg_257____boxed(lean_object*);
|
||||
static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_LocalContext_mkLocalDecl___spec__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_anyM___spec__5___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalDecl_isAuxDecl___boxed(lean_object*);
|
||||
|
|
@ -1080,7 +1080,7 @@ x_6 = lean_box(x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint64_t l___private_Lean_LocalContext_0__Lean_hashLocalDeclKind____x40_Lean_LocalContext___hyg_260_(uint8_t x_1) {
|
||||
LEAN_EXPORT uint64_t l___private_Lean_LocalContext_0__Lean_hashLocalDeclKind____x40_Lean_LocalContext___hyg_257_(uint8_t x_1) {
|
||||
_start:
|
||||
{
|
||||
switch (x_1) {
|
||||
|
|
@ -1105,13 +1105,13 @@ return x_4;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_LocalContext_0__Lean_hashLocalDeclKind____x40_Lean_LocalContext___hyg_260____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_LocalContext_0__Lean_hashLocalDeclKind____x40_Lean_LocalContext___hyg_257____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; uint64_t x_3; lean_object* x_4;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l___private_Lean_LocalContext_0__Lean_hashLocalDeclKind____x40_Lean_LocalContext___hyg_260_(x_2);
|
||||
x_3 = l___private_Lean_LocalContext_0__Lean_hashLocalDeclKind____x40_Lean_LocalContext___hyg_257_(x_2);
|
||||
x_4 = lean_box_uint64(x_3);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -1120,7 +1120,7 @@ static lean_object* _init_l_Lean_instHashableLocalDeclKind___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_LocalContext_0__Lean_hashLocalDeclKind____x40_Lean_LocalContext___hyg_260____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_LocalContext_0__Lean_hashLocalDeclKind____x40_Lean_LocalContext___hyg_257____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
29
stage0/stdlib/Lean/Message.c
generated
29
stage0/stdlib/Lean/Message.c
generated
|
|
@ -5829,35 +5829,32 @@ goto _start;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_11 = lean_string_utf8_next(x_1, x_3);
|
||||
x_12 = lean_string_utf8_extract(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_12 = lean_unsigned_to_nat(1u);
|
||||
x_13 = lean_nat_sub(x_11, x_12);
|
||||
x_14 = lean_string_utf8_extract(x_1, x_2, x_13);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_2);
|
||||
x_15 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_4);
|
||||
x_13 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
lean_ctor_set(x_13, 1, x_4);
|
||||
lean_inc(x_11);
|
||||
x_2 = x_11;
|
||||
x_3 = x_11;
|
||||
x_4 = x_15;
|
||||
x_4 = x_13;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_17 = lean_string_utf8_extract(x_1, x_2, x_3);
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_15 = lean_string_utf8_extract(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_18 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_17);
|
||||
lean_ctor_set(x_18, 1, x_4);
|
||||
x_19 = l_List_reverse___rarg(x_18);
|
||||
return x_19;
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_4);
|
||||
x_17 = l_List_reverse___rarg(x_16);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Meta/Basic.c
generated
12
stage0/stdlib/Lean/Meta/Basic.c
generated
|
|
@ -384,7 +384,6 @@ uint8_t lean_expr_eqv(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2812____closed__13;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Expr_abstractRangeM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Meta_Cache_funInfo___default___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -734,6 +733,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_fullApproxDefEq(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshExprMVarWithId(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_State_zetaFVarIds___default;
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(uint8_t, uint8_t);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_sortFVarIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1458,7 +1458,7 @@ x_5 = lean_ctor_get(x_1, 1);
|
|||
x_6 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
|
||||
x_7 = lean_ctor_get(x_2, 0);
|
||||
x_8 = lean_ctor_get(x_2, 1);
|
||||
x_9 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_3, x_6);
|
||||
x_9 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_3, x_6);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
uint8_t x_10;
|
||||
|
|
@ -7052,7 +7052,7 @@ x_8 = lean_ctor_get(x_6, 0);
|
|||
x_9 = 0;
|
||||
x_10 = lean_unbox(x_8);
|
||||
lean_dec(x_8);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_10, x_9);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_10, x_9);
|
||||
x_12 = lean_box(x_11);
|
||||
lean_ctor_set(x_6, 0, x_12);
|
||||
return x_6;
|
||||
|
|
@ -7068,7 +7068,7 @@ lean_dec(x_6);
|
|||
x_15 = 0;
|
||||
x_16 = lean_unbox(x_13);
|
||||
lean_dec(x_13);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_16, x_15);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_16, x_15);
|
||||
x_18 = lean_box(x_17);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
|
|
@ -7102,7 +7102,7 @@ x_8 = lean_ctor_get(x_6, 0);
|
|||
x_9 = 2;
|
||||
x_10 = lean_unbox(x_8);
|
||||
lean_dec(x_8);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_10, x_9);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_10, x_9);
|
||||
x_12 = lean_box(x_11);
|
||||
lean_ctor_set(x_6, 0, x_12);
|
||||
return x_6;
|
||||
|
|
@ -7118,7 +7118,7 @@ lean_dec(x_6);
|
|||
x_15 = 2;
|
||||
x_16 = lean_unbox(x_13);
|
||||
lean_dec(x_13);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_16, x_15);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_16, x_15);
|
||||
x_18 = lean_box(x_17);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
6
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
|
|
@ -358,7 +358,6 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v
|
|||
LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom_visit___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_expr_eqv(lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(uint8_t, uint8_t);
|
||||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox_go___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom_visit___spec__8___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -647,6 +646,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_c
|
|||
lean_object* l_Lean_MVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__61(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_CheckAssignment_instMonadCacheExprCheckAssignmentM___closed__2;
|
||||
|
|
@ -66085,7 +66085,7 @@ x_11 = lean_ctor_get(x_8, 1);
|
|||
x_12 = 3;
|
||||
x_13 = lean_unbox(x_10);
|
||||
lean_dec(x_10);
|
||||
x_14 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_13, x_12);
|
||||
x_14 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_13, x_12);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
uint8_t x_15; lean_object* x_16;
|
||||
|
|
@ -66120,7 +66120,7 @@ lean_dec(x_8);
|
|||
x_21 = 3;
|
||||
x_22 = lean_unbox(x_19);
|
||||
lean_dec(x_19);
|
||||
x_23 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_22, x_21);
|
||||
x_23 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_22, x_21);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
uint8_t x_24; lean_object* x_25; lean_object* x_26;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Meta/GetConst.c
generated
6
stage0/stdlib/Lean/Meta/GetConst.c
generated
|
|
@ -21,7 +21,6 @@ LEAN_EXPORT lean_object* l_Lean_isIrreducible___at___private_Lean_Meta_GetConst_
|
|||
lean_object* lean_environment_find(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_canUnfold___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(uint8_t, uint8_t);
|
||||
uint8_t lean_get_reducibility_status(lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -33,6 +32,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDe
|
|||
LEAN_EXPORT lean_object* l_Lean_isIrreducible___at___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(uint8_t, uint8_t);
|
||||
lean_object* l_Lean_Meta_getTheoremInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getConst_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -315,7 +315,7 @@ x_39 = lean_ctor_get(x_38, 0);
|
|||
lean_inc(x_39);
|
||||
lean_dec(x_38);
|
||||
x_40 = 3;
|
||||
x_41 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_6, x_40);
|
||||
x_41 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_6, x_40);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
uint8_t x_42; lean_object* x_43;
|
||||
|
|
@ -360,7 +360,7 @@ x_51 = lean_ctor_get(x_49, 0);
|
|||
lean_inc(x_51);
|
||||
lean_dec(x_49);
|
||||
x_52 = 3;
|
||||
x_53 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_6, x_52);
|
||||
x_53 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_6, x_52);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
uint8_t x_54; lean_object* x_55; lean_object* x_56;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Tactic/Congr.c
generated
4
stage0/stdlib/Lean/Meta/Tactic/Congr.c
generated
|
|
@ -47,7 +47,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Congr_0__Lean_applyCongrTh
|
|||
lean_object* l_Lean_Meta_mkHCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_hcongr_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_MVarId_congr_x3f___closed__2;
|
||||
static lean_object* l_Lean_MVarId_congrImplies_x3f___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_congr_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -77,6 +76,7 @@ LEAN_EXPORT lean_object* l_Lean_MVarId_congr_x3f___lambda__1___boxed(lean_object
|
|||
LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Meta_Tactic_Congr_0__Lean_applyCongrThm_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_congrN_post(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_congrPre___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Congr_0__Lean_applyCongrThm_x3f___closed__2;
|
||||
lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2374,7 +2374,7 @@ lean_dec(x_9);
|
|||
x_24 = 2;
|
||||
x_25 = lean_unbox(x_22);
|
||||
lean_dec(x_22);
|
||||
x_26 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_25, x_24);
|
||||
x_26 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_25, x_24);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
lean_object* x_27;
|
||||
|
|
|
|||
422
stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c
generated
422
stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -151,7 +151,6 @@ static lean_object* l_Lean_Meta_instInhabitedOrigin___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_addSimpTheoremEntry_updateLemmaNames(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_Meta_registerSimpAttr___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2377_(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_5451____closed__11;
|
||||
static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_instBEqSimpTheorem___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -659,6 +658,7 @@ uint8_t l_Lean_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__3(
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_shouldPreprocess___closed__1;
|
||||
static lean_object* l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__31;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_6466____closed__2;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2384_(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__76;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__1___closed__2;
|
||||
uint64_t l_Lean_Meta_DiscrTree_Key_hash___rarg(lean_object*);
|
||||
|
|
@ -1019,7 +1019,7 @@ x_42 = lean_box(1);
|
|||
x_43 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_41);
|
||||
lean_ctor_set(x_43, 1, x_42);
|
||||
x_44 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2377_(x_36, x_37);
|
||||
x_44 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2384_(x_36, x_37);
|
||||
x_45 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_43);
|
||||
lean_ctor_set(x_45, 1, x_44);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Meta/WHNF.c
generated
8
stage0/stdlib/Lean/Meta/WHNF.c
generated
|
|
@ -200,7 +200,6 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_whnfCore_go___spec__1(lean_objec
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_expr_eqv(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Meta_markSmartUnfoldingMatchAlt___closed__1;
|
||||
static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingMatch_x3f___boxed(lean_object*);
|
||||
|
|
@ -378,6 +377,7 @@ static lean_object* l_Lean_Meta_reduceNat_x3f___closed__11;
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___closed__2;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10701____closed__8;
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(uint8_t, uint8_t);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_reduceNat_x3f___closed__13;
|
||||
static lean_object* l_Lean_Meta_reduceNat_x3f___closed__2;
|
||||
|
|
@ -15759,7 +15759,7 @@ lean_inc(x_9);
|
|||
lean_dec(x_7);
|
||||
x_10 = 2;
|
||||
x_11 = lean_unbox(x_8);
|
||||
x_12 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_11, x_10);
|
||||
x_12 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_11, x_10);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13; uint8_t x_14; lean_object* x_15;
|
||||
|
|
@ -23214,7 +23214,7 @@ x_10 = lean_ctor_get(x_7, 1);
|
|||
x_11 = 3;
|
||||
x_12 = lean_unbox(x_9);
|
||||
lean_dec(x_9);
|
||||
x_13 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_12, x_11);
|
||||
x_13 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_12, x_11);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14;
|
||||
|
|
@ -23245,7 +23245,7 @@ lean_dec(x_7);
|
|||
x_18 = 3;
|
||||
x_19 = lean_unbox(x_16);
|
||||
lean_dec(x_16);
|
||||
x_20 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12510_(x_19, x_18);
|
||||
x_20 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_12515_(x_19, x_18);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Parser/Types.c
generated
6
stage0/stdlib/Lean/Parser/Types.c
generated
|
|
@ -59,7 +59,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_SyntaxStack_size(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Parser_mkIdent(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_ParserModuleContext_currNamespace___default;
|
||||
uint8_t l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_3135____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_instInhabitedParserInfo___lambda__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_Parser_withCacheFn___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
|
|
@ -157,6 +156,7 @@ static lean_object* l_Lean_Parser_SyntaxStack_get_x21___closed__3;
|
|||
static lean_object* l_panic___at_Lean_Parser_withCacheFn___spec__10___closed__1;
|
||||
static lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1___closed__3;
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_3142____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_initCacheForInput___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Parser_info___default;
|
||||
static lean_object* l_Lean_Parser_SyntaxStack_back___closed__2;
|
||||
|
|
@ -1344,7 +1344,7 @@ return x_8;
|
|||
else
|
||||
{
|
||||
uint8_t x_9;
|
||||
x_9 = l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_3135____spec__1(x_4, x_6);
|
||||
x_9 = l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_3142____spec__1(x_4, x_6);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
|
|
@ -1646,7 +1646,7 @@ lean_dec(x_1);
|
|||
x_4 = l_Lean_Parser_instInhabitedInputContext___closed__2;
|
||||
x_5 = lean_string_dec_eq(x_2, x_4);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_3135____spec__1(x_3, x_6);
|
||||
x_7 = l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_3142____spec__1(x_3, x_6);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_8;
|
||||
|
|
|
|||
20
stage0/stdlib/Lean/PrettyPrinter/Formatter.c
generated
20
stage0/stdlib/Lean/PrettyPrinter/Formatter.c
generated
|
|
@ -313,7 +313,6 @@ static lean_object* l_Lean_PrettyPrinter_format___closed__2;
|
|||
static lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbolNoAntiquot_formatter___closed__1;
|
||||
uint8_t l_Lean_Syntax_isTokenAntiquot(lean_object*);
|
||||
static lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1___closed__2;
|
||||
lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at_Substring_trimLeft___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Formatter_concat___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_PrettyPrinter_Formatter_concat___closed__1;
|
||||
LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -339,6 +338,7 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrint
|
|||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_pushLine(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_setStack___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_parserOfStack_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_checkColEq_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_7272_(lean_object*);
|
||||
static lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__6;
|
||||
|
|
@ -385,6 +385,7 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_isLit_x3f(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mod(lean_object*, lean_object*);
|
||||
lean_object* l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe___closed__1;
|
||||
static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryFormatterCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -456,7 +457,6 @@ static lean_object* l_Lean_PrettyPrinter_Formatter_visitArgs___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_getStackSize(lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_many1NoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_Traverser_up(lean_object*);
|
||||
static lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___closed__1;
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
|
|
@ -6359,9 +6359,9 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean
|
|||
x_10 = lean_ctor_get(x_8, 0);
|
||||
x_11 = lean_ctor_get(x_8, 1);
|
||||
x_12 = lean_ctor_get(x_8, 2);
|
||||
x_13 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_10, x_12, x_11);
|
||||
x_13 = l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_10, x_12, x_11);
|
||||
lean_inc(x_12);
|
||||
x_14 = l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_10, x_13, x_12);
|
||||
x_14 = l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_10, x_13, x_12);
|
||||
x_15 = lean_nat_sub(x_14, x_13);
|
||||
x_16 = lean_unsigned_to_nat(0u);
|
||||
x_17 = lean_nat_dec_eq(x_15, x_16);
|
||||
|
|
@ -6497,9 +6497,9 @@ lean_inc(x_55);
|
|||
lean_inc(x_54);
|
||||
lean_inc(x_53);
|
||||
lean_dec(x_8);
|
||||
x_56 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_53, x_55, x_54);
|
||||
x_56 = l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_53, x_55, x_54);
|
||||
lean_inc(x_55);
|
||||
x_57 = l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_53, x_56, x_55);
|
||||
x_57 = l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_53, x_56, x_55);
|
||||
x_58 = lean_nat_sub(x_57, x_56);
|
||||
x_59 = lean_unsigned_to_nat(0u);
|
||||
x_60 = lean_nat_dec_eq(x_58, x_59);
|
||||
|
|
@ -7187,9 +7187,9 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean
|
|||
x_11 = lean_ctor_get(x_8, 0);
|
||||
x_12 = lean_ctor_get(x_8, 1);
|
||||
x_13 = lean_ctor_get(x_8, 2);
|
||||
x_14 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_11, x_13, x_12);
|
||||
x_14 = l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_11, x_13, x_12);
|
||||
lean_inc(x_13);
|
||||
x_15 = l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_11, x_14, x_13);
|
||||
x_15 = l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_11, x_14, x_13);
|
||||
x_16 = lean_nat_sub(x_15, x_14);
|
||||
x_17 = lean_unsigned_to_nat(0u);
|
||||
x_18 = lean_nat_dec_eq(x_16, x_17);
|
||||
|
|
@ -7277,9 +7277,9 @@ lean_inc(x_45);
|
|||
lean_inc(x_44);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_8);
|
||||
x_46 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_43, x_45, x_44);
|
||||
x_46 = l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_43, x_45, x_44);
|
||||
lean_inc(x_45);
|
||||
x_47 = l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_43, x_46, x_45);
|
||||
x_47 = l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_43, x_46, x_45);
|
||||
x_48 = lean_nat_sub(x_47, x_46);
|
||||
x_49 = lean_unsigned_to_nat(0u);
|
||||
x_50 = lean_nat_dec_eq(x_48, x_49);
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleHover___lambda__1___boxe
|
|||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_locationLinksOfInfo___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__36(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleHover___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7285_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2221_(lean_object*);
|
||||
lean_object* l_Lean_Json_compress(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleHover(lean_object*, lean_object*, lean_object*);
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
|
|
@ -69,7 +69,6 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePla
|
|||
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_mapM_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7343_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__27(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -91,7 +90,6 @@ static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymb
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_findDocString_x3f(lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2401_(lean_object*);
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleCompletion___lambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -114,6 +112,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_init
|
|||
static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__2;
|
||||
static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__7;
|
||||
static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___closed__1;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3957_(lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__6;
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_getInteractiveGoals___lambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -159,6 +158,7 @@ LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Server_FileWorker_handleDoc
|
|||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__16___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__18___lambda__4___closed__1;
|
||||
static lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___closed__3;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2398_(lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_NamespaceEntry_finish___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveGoals___lambda__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__7___lambda__4___closed__1;
|
||||
|
|
@ -168,7 +168,6 @@ LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Serve
|
|||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Server_requestHandlers;
|
||||
static lean_object* l_Lean_Server_FileWorker_NamespaceEntry_finish___closed__5;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentHighlightParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3677_(lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_handleFoldingRange_isImport___closed__1;
|
||||
LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__9(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -251,6 +250,7 @@ uint8_t lean_expr_eqv(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken___closed__1;
|
||||
static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__1___lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__8___closed__3;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7282_(lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____closed__7;
|
||||
LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleHover___lambda__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -326,6 +326,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highli
|
|||
static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveGoals___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_keywordSemanticTokenMap;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7340_(lean_object*);
|
||||
lean_object* l_Lean_FileMap_utf8PosToLspPos(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -390,12 +391,14 @@ static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_Fil
|
|||
LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__8___closed__10;
|
||||
static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7518_(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleHover___lambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__8___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentHighlightParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3674_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____closed__17;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -407,7 +410,6 @@ static lean_object* l_Lean_Server_FileWorker_handleFoldingRange_isImport___close
|
|||
static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__4___lambda__2___closed__1;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHoverParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2563_(lean_object*);
|
||||
static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__27___lambda__3___closed__1;
|
||||
static lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1___closed__3;
|
||||
static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__2;
|
||||
|
|
@ -434,7 +436,6 @@ static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_Fil
|
|||
LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_Server_FileWorker_locationLinksOfInfo___spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____closed__3;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3960_(lean_object*);
|
||||
lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isInstance(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__11;
|
||||
|
|
@ -451,10 +452,10 @@ lean_object* l_Lean_Server_RequestM_readDoc___at_Lean_Server_RequestM_withWaitFi
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__13;
|
||||
static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__2___closed__3;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6872_(lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____closed__5;
|
||||
static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__1___lambda__5___closed__2;
|
||||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_handleWaitForDiagnostics___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2224_(lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__14___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__9___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -485,8 +486,10 @@ LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSem
|
|||
static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__31___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHoverParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2560_(lean_object*);
|
||||
uint8_t l_Lean_Syntax_hasArgs(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addRangeFromSyntax(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2156_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__10(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_drop___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Server_References_updateWorkerRefs___spec__3(lean_object*, lean_object*);
|
||||
|
|
@ -525,7 +528,6 @@ static lean_object* l_Lean_Server_FileWorker_handleDefinition___closed__1;
|
|||
static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____closed__23;
|
||||
static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__14___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6995_(lean_object*);
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_getInteractiveGoals___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -544,6 +546,7 @@ lean_object* l_Lean_Server_Completion_find_x3f(lean_object*, lean_object*, lean_
|
|||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_locationLinksOfInfo___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_getAppFn(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__27___lambda__2(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__19(lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___closed__1;
|
||||
|
|
@ -567,7 +570,6 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePlainGoal(lean_object*,
|
|||
static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__3;
|
||||
static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__14___lambda__3___closed__2;
|
||||
static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____closed__25;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2159_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_handleWaitForDiagnostics___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_findSomeM_x3f___at_Lean_Server_FileWorker_handleHover___spec__1___closed__4;
|
||||
|
|
@ -658,6 +660,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Serve
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__2___closed__2;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentHighlight____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3897_(lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_handleFoldingRange_isImport___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -666,7 +669,6 @@ static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymb
|
|||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6875_(lean_object*);
|
||||
lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t);
|
||||
lean_object* l_Lean_Elab_Info_stx(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -701,7 +703,6 @@ LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Serve
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__1___lambda__2___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_12936____spec__24___lambda__3___closed__1;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentHighlight____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3900_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Server_FileWorker_keywordSemanticTokenMap___spec__2(lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -717,7 +718,6 @@ static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_Fil
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveGoals(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Array_isEmpty___rarg(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7521_(lean_object*);
|
||||
lean_object* l_Array_get_x3f___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
|
|
@ -22638,7 +22638,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileW
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2224_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2221_(x_1);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
|
|
@ -22794,7 +22794,7 @@ static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Serv
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2159_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2156_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -23091,7 +23091,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileW
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHoverParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2563_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHoverParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2560_(x_1);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
|
|
@ -23258,7 +23258,7 @@ lean_object* x_3; lean_object* x_4;
|
|||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2401_(x_3);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2398_(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -24056,7 +24056,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileW
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentHighlightParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3677_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentHighlightParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3674_(x_1);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
|
|
@ -24169,7 +24169,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x
|
|||
x_5 = lean_array_uget(x_3, x_2);
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = lean_array_uset(x_3, x_2, x_6);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentHighlight____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3900_(x_5);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentHighlight____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3897_(x_5);
|
||||
x_9 = 1;
|
||||
x_10 = lean_usize_add(x_2, x_9);
|
||||
x_11 = lean_array_uset(x_7, x_2, x_8);
|
||||
|
|
@ -24548,7 +24548,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileW
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3960_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3957_(x_1);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
|
|
@ -25006,7 +25006,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileW
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6875_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6872_(x_1);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
|
|
@ -25153,7 +25153,7 @@ static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Serv
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7285_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7282_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -25450,7 +25450,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileW
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6995_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_1);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
|
|
@ -25885,7 +25885,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileW
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7343_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7340_(x_1);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
|
|
@ -25998,7 +25998,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x
|
|||
x_5 = lean_array_uget(x_3, x_2);
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = lean_array_uset(x_3, x_2, x_6);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7521_(x_5);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7518_(x_5);
|
||||
x_9 = 1;
|
||||
x_10 = lean_usize_add(x_2, x_9);
|
||||
x_11 = lean_array_uset(x_7, x_2, x_8);
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Server/Watchdog.c
generated
12
stage0/stdlib/Lean/Server/Watchdog.c
generated
|
|
@ -53,6 +53,7 @@ static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__1;
|
|||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__52;
|
||||
static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__28;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4587_(lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__16;
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspRequest___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__4(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__38;
|
||||
|
|
@ -247,7 +248,6 @@ static lean_object* l_Lean_Server_Watchdog_handleDidChangeWatchedFiles___closed_
|
|||
static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__11;
|
||||
lean_object* l_Lean_Server_publishProgressAtPos(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_terminateFileWorker___closed__2;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4590_(lean_object*);
|
||||
lean_object* lean_stream_of_handle(lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__6;
|
||||
static lean_object* l_Lean_Server_Watchdog_handleRequest___lambda__1___closed__7;
|
||||
|
|
@ -263,6 +263,7 @@ lean_object* l_Lean_Server_References_updateWorkerRefs(lean_object*, lean_object
|
|||
static lean_object* l_Lean_Server_Watchdog_findWorkerPath___lambda__2___closed__1;
|
||||
lean_object* lean_get_stdin(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_loadReferences(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3340_(lean_object*);
|
||||
lean_object* lean_get_stderr(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_881_(lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__5;
|
||||
|
|
@ -367,7 +368,6 @@ lean_object* l_Lean_searchModuleNameOfFileName(lean_object*, lean_object*, lean_
|
|||
static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__30;
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__2___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Server_Watchdog_handleCancelRequest___spec__2(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonWorkspaceSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3565_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Server_Watchdog_eraseFileWorker___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidCloseTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_997_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -421,6 +421,7 @@ static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_Watchdog_initA
|
|||
lean_object* lean_task_map(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_parseParams___rarg___closed__1;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonWorkspaceSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3562_(lean_object*);
|
||||
lean_object* l_System_Uri_fileUriToPath_x3f(lean_object*);
|
||||
uint8_t l_Lean_RBNode_isBlack___rarg(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcConnectParams____x40_Lean_Data_Lsp_Extra___hyg_1488_(lean_object*);
|
||||
|
|
@ -442,7 +443,6 @@ static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__35;
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_forwardRequestToWorker___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_initAndRunWatchdog___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_handleNotification___spec__13___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3343_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspRequest___at_Lean_Server_Watchdog_startFileWorker___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_shutdown(lean_object*, lean_object*);
|
||||
|
|
@ -12922,7 +12922,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Wat
|
|||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonWorkspaceSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3565_(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonWorkspaceSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3562_(x_1);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
|
|
@ -12971,7 +12971,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x
|
|||
x_5 = lean_array_uget(x_3, x_2);
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = lean_array_uset(x_3, x_2, x_6);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4590_(x_5);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4587_(x_5);
|
||||
x_9 = 1;
|
||||
x_10 = lean_usize_add(x_2, x_9);
|
||||
x_11 = lean_array_uset(x_7, x_2, x_8);
|
||||
|
|
@ -13009,7 +13009,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Wat
|
|||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3343_(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3340_(x_1);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue