chore(boot): update

This commit is contained in:
Leonardo de Moura 2019-03-06 07:09:57 -08:00
parent 5e39a711fc
commit 5f46ca210d
23 changed files with 3857 additions and 3518 deletions

View file

@ -33,6 +33,7 @@ obj* l_coe__option___rarg(obj*);
obj* l_lift___boxed(obj*, obj*);
obj* l_coe__trans(obj*, obj*, obj*);
obj* l_coe__fn__trans(obj*, obj*);
obj* l_id___rarg___boxed(obj*);
obj* l_lift__list(obj*, obj*);
obj* l_lift__pair_u_2082(obj*, obj*, obj*);
obj* l_coe__sort(obj*);
@ -68,7 +69,6 @@ obj* l_coe__sort__trans___rarg(obj*, obj*, obj*);
obj* l_coe__base__aux___rarg(obj*);
obj* l_lift__fn__range___boxed(obj*, obj*, obj*);
obj* l_lift__list___boxed(obj*, obj*);
obj* l_id___rarg(obj*);
obj* l_coe__bool__to__Prop;
obj* l_lift__fn__dom(obj*, obj*, obj*);
obj* l_coe__subtype___boxed(obj*, obj*);
@ -337,7 +337,7 @@ obj* l_lift__refl(obj* x_0) {
_start:
{
obj* x_1;
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg), 1, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg___boxed), 1, 0);
return x_1;
}
}

View file

@ -49,6 +49,7 @@ obj* l_list_mmap_x_27(obj*);
obj* l_list_mforall(obj*);
obj* l_list_mmap_x_27___main___rarg___boxed(obj*, obj*, obj*, obj*, obj*);
obj* l_list_mfoldl(obj*);
obj* l_id___rarg___boxed(obj*);
obj* l_when___boxed(obj*);
obj* l_list_mmap___main___rarg(obj*, obj*, obj*, obj*, obj*);
obj* l_list_mfirst___main___rarg___boxed(obj*, obj*, obj*, obj*, obj*);
@ -86,7 +87,6 @@ obj* l_list_mmap_x_27___rarg(obj*, obj*, obj*, obj*, obj*);
obj* l_list_mfoldl___main(obj*);
obj* l_list_mmap_x_27___main___rarg(obj*, obj*, obj*, obj*, obj*);
obj* l_list_mmap___rarg(obj*, obj*, obj*, obj*, obj*);
obj* l_id___rarg(obj*);
obj* l_when___rarg___boxed(obj*, obj*, obj*, obj*);
obj* l_list_mfirst___rarg___boxed(obj*, obj*, obj*, obj*, obj*);
obj* l_mjoin___rarg(obj*, obj*, obj*);
@ -496,7 +496,7 @@ obj* _init_l_mjoin___rarg___closed__1() {
_start:
{
obj* x_0;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg), 1, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg___boxed), 1, 0);
return x_0;
}
}

View file

@ -34,8 +34,8 @@ obj* l_coroutine_monad___lambda__6(obj*, obj*);
obj* l_coroutine_resume___boxed(obj*, obj*, obj*);
obj* l_coroutine_resume___rarg(obj*, obj*);
obj* l_coroutine_monad__reader___boxed(obj*, obj*);
obj* l_function_const___rarg(obj*, obj*);
obj* l_coroutine_read___rarg(obj*);
obj* l_function_const___rarg___boxed(obj*, obj*);
obj* l_coroutine_monad___lambda__7(obj*, obj*, obj*, obj*);
obj* l_coroutine_yield___rarg___lambda__1___boxed(obj*);
obj* l_coroutine_monad___lambda__5___boxed(obj*, obj*, obj*);
@ -681,7 +681,7 @@ obj* l_coroutine_monad___lambda__2(obj* x_0, obj* x_1, obj* x_2, obj* x_3) {
_start:
{
obj* x_4; obj* x_5; obj* x_6; obj* x_7;
x_4 = lean::alloc_closure(reinterpret_cast<void*>(l_function_const___rarg), 2, 1);
x_4 = lean::alloc_closure(reinterpret_cast<void*>(l_function_const___rarg___boxed), 2, 1);
lean::closure_set(x_4, 0, x_2);
x_5 = l_coroutine_monad___lambda__1___closed__1;
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_function_comp___rarg), 3, 2);

View file

@ -25,6 +25,7 @@ obj* l_except_monad___lambda__3(obj*, obj*, obj*, obj*);
obj* l_except__t_except__t__of__except___boxed(obj*, obj*);
obj* l_monad__except_lift__except___main___boxed(obj*, obj*, obj*);
obj* l_except__t_has__monad__lift___rarg(obj*);
obj* l_monad__functor__t__trans___rarg___lambda__1___boxed(obj*, obj*, obj*, obj*);
obj* l_except_catch___rarg(obj*, obj*);
obj* l_except__t_bind___rarg___boxed(obj*, obj*, obj*, obj*, obj*);
obj* l_except__t_bind__cont___at_except__t_monad___spec__5___rarg___boxed(obj*, obj*, obj*, obj*, obj*);
@ -75,7 +76,6 @@ obj* l_except__t_bind__cont___main___rarg___boxed(obj*, obj*, obj*, obj*, obj*);
obj* l_except__t_has__monad__lift___boxed(obj*, obj*);
obj* l_monad__except_orelse(obj*, obj*);
obj* l_except__t_adapt___rarg___boxed(obj*, obj*, obj*, obj*, obj*);
obj* l_function_const___rarg(obj*, obj*);
obj* l_except__t_monad__except___boxed(obj*, obj*);
obj* l_except_repr___main___boxed(obj*, obj*);
obj* l_except__t_monad___rarg___lambda__5___boxed(obj*, obj*, obj*);
@ -83,6 +83,7 @@ obj* l_monad__except__adapter__trans___rarg___boxed(obj*, obj*, obj*, obj*, obj*
obj* l_except_map___rarg(obj*, obj*);
obj* l_except_monad___lambda__5(obj*, obj*, obj*, obj*);
obj* l_except_map__error___rarg(obj*, obj*);
obj* l_function_const___rarg___boxed(obj*, obj*);
obj* l_except_catch___boxed(obj*, obj*);
obj* l_except_map___main___boxed(obj*, obj*, obj*);
obj* l_except__t_bind__cont___at_except__t_monad___spec__1___rarg(obj*, obj*, obj*, obj*, obj*);
@ -181,7 +182,6 @@ obj* l_except_has__repr___boxed(obj*, obj*);
obj* l_except__t_run___rarg___boxed(obj*);
obj* l_except__t_bind__cont___at_except__t_monad___spec__3___rarg(obj*, obj*, obj*, obj*, obj*);
obj* l_except__t_monad___rarg___lambda__4(obj*, obj*, obj*, obj*, obj*);
obj* l_monad__functor__t__trans___rarg___lambda__1(obj*, obj*, obj*, obj*);
obj* l_except__t_mk___rarg(obj*);
obj* l_except_return___rarg(obj*);
obj* l_except__t_bind__cont___at_except__t_monad___spec__7(obj*, obj*);
@ -2267,7 +2267,7 @@ obj* l_except__t_monad___rarg___lambda__2(obj* x_0, obj* x_1, obj* x_2, obj* x_3
_start:
{
obj* x_5; obj* x_7; obj* x_8; obj* x_9; obj* x_11; obj* x_12;
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_function_const___rarg), 2, 1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_function_const___rarg___boxed), 2, 1);
lean::closure_set(x_5, 0, x_3);
lean::inc(x_0);
x_7 = lean::alloc_closure(reinterpret_cast<void*>(l_except__t_return___rarg___boxed), 3, 2);
@ -3098,7 +3098,7 @@ obj* l_monad__except__adapter__trans___rarg(obj* x_0, obj* x_1, obj* x_2, obj* x
_start:
{
obj* x_5; obj* x_6;
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_monad__functor__t__trans___rarg___lambda__1), 4, 2);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_monad__functor__t__trans___rarg___lambda__1___boxed), 4, 2);
lean::closure_set(x_5, 0, x_1);
lean::closure_set(x_5, 1, x_3);
x_6 = lean::apply_3(x_0, lean::box(0), x_5, x_4);

View file

@ -14,12 +14,12 @@ typedef lean::uint32 uint32; typedef lean::uint64 uint64;
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
obj* l_id___boxed(obj*);
obj* l_id_run___boxed(obj*);
obj* l_id_run(obj*);
obj* l_id_monad___lambda__1(obj*, obj*, obj*, obj*);
obj* l_id_bind___rarg(obj*, obj*);
obj* l_id_bind(obj*, obj*);
obj* l_id(obj*);
obj* l_id_monad;
obj* l_id_run___rarg(obj*);
obj* l_id_monad___lambda__3(obj*, obj*, obj*, obj*);
@ -89,7 +89,7 @@ lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);

View file

@ -53,11 +53,11 @@ obj* l_option__t_bind__cont___at_option__t_alternative___spec__5___rarg___boxed(
obj* l_option__t_monad___rarg___lambda__8(obj*, obj*, obj*, obj*, obj*);
obj* l_option__t_bind__cont___at_option__t_alternative___spec__7(obj*);
obj* l_option__t_bind__cont___at_option__t_monad___spec__2___rarg___boxed(obj*, obj*, obj*, obj*, obj*);
obj* l_function_const___rarg(obj*, obj*);
obj* l_option__t_monad___rarg___lambda__6(obj*, obj*, obj*);
obj* l_option__t_catch___rarg___lambda__1(obj*, obj*, obj*);
obj* l_option__t_alternative___boxed(obj*);
obj* l_option__t_bind__cont___main(obj*);
obj* l_function_const___rarg___boxed(obj*, obj*);
obj* l_option__t_bind__cont___at_option__t_monad___spec__6___rarg(obj*, obj*, obj*, obj*, obj*);
obj* l_option__t_bind__cont___at_option__t_alternative___spec__1___rarg(obj*, obj*, obj*, obj*, obj*);
obj* l_option__t_monad___rarg___lambda__1(obj*, obj*, obj*, obj*, obj*);
@ -687,7 +687,7 @@ obj* l_option__t_monad___rarg___lambda__2(obj* x_0, obj* x_1, obj* x_2, obj* x_3
_start:
{
obj* x_5; obj* x_7; obj* x_8; obj* x_9; obj* x_11; obj* x_12;
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_function_const___rarg), 2, 1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_function_const___rarg___boxed), 2, 1);
lean::closure_set(x_5, 0, x_3);
lean::inc(x_0);
x_7 = lean::alloc_closure(reinterpret_cast<void*>(l_option__t_pure___rarg___boxed), 3, 2);
@ -1464,7 +1464,7 @@ obj* l_option__t_alternative___rarg___lambda__2(obj* x_0, obj* x_1, obj* x_2, ob
_start:
{
obj* x_5; obj* x_7; obj* x_8; obj* x_9; obj* x_11; obj* x_12;
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_function_const___rarg), 2, 1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_function_const___rarg___boxed), 2, 1);
lean::closure_set(x_5, 0, x_3);
lean::inc(x_0);
x_7 = lean::alloc_closure(reinterpret_cast<void*>(l_option__t_pure___rarg___boxed), 3, 2);

View file

@ -16,6 +16,7 @@ typedef lean::uint32 uint32; typedef lean::uint64 uint64;
#endif
obj* l_reader__t_bind___rarg(obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_reader__t_adapt(obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_monad__functor__t__trans___rarg___lambda__1___boxed(obj*, obj*, obj*, obj*);
obj* l_reader__t_monad__except___rarg___lambda__2___boxed(obj*, obj*, obj*, obj*, obj*);
obj* l_reader__t_monad___rarg___lambda__8___boxed(obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_reader__t_pure___rarg(obj*, obj*, obj*, obj*);
@ -88,7 +89,6 @@ obj* l_reader__t_monad___rarg___lambda__9___boxed(obj*, obj*, obj*);
obj* l_reader__t_monad___rarg___lambda__10(obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_monad__reader__runner__trans(obj*, obj*, obj*, obj*, obj*);
obj* l_reader__t_monad__run___rarg___boxed(obj*, obj*, obj*, obj*);
obj* l_monad__functor__t__trans___rarg___lambda__1(obj*, obj*, obj*, obj*);
obj* l_reader__t_monad___rarg(obj*);
obj* l_monad__reader__trans___rarg(obj*, obj*);
obj* l_reader__t_monad__except___rarg___lambda__1___boxed(obj*, obj*, obj*, obj*);
@ -954,7 +954,7 @@ obj* l_monad__reader__adapter__trans___rarg(obj* x_0, obj* x_1, obj* x_2, obj* x
_start:
{
obj* x_5; obj* x_6;
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_monad__functor__t__trans___rarg___lambda__1), 4, 2);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_monad__functor__t__trans___rarg___lambda__1___boxed), 4, 2);
lean::closure_set(x_5, 0, x_1);
lean::closure_set(x_5, 1, x_3);
x_6 = lean::apply_3(x_0, lean::box(0), x_5, x_4);

View file

@ -20,6 +20,7 @@ obj* l_dlist_has__append___boxed(obj*);
obj* l_dlist_append(obj*);
obj* l_dlist_of__list___boxed(obj*);
obj* l_dlist_to__list(obj*);
obj* l_id___rarg___boxed(obj*);
obj* l_dlist_of__list___rarg(obj*);
obj* l_dlist_to__list___main___boxed(obj*);
obj* l_dlist_cons___rarg(obj*, obj*);
@ -32,7 +33,6 @@ obj* l_dlist_cons___main(obj*);
obj* l_dlist_append___main___rarg(obj*, obj*);
obj* l_dlist_singleton___boxed(obj*);
obj* l_dlist_push___main___rarg(obj*, obj*, obj*);
obj* l_id___rarg(obj*);
obj* l_dlist_cons___boxed(obj*);
obj* l_dlist_empty(obj*);
obj* l_dlist_to__list___main(obj*);
@ -81,7 +81,7 @@ obj* l_dlist_empty(obj* x_0) {
_start:
{
obj* x_1;
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg), 1, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg___boxed), 1, 0);
return x_1;
}
}

View file

@ -16,6 +16,7 @@ typedef lean::uint32 uint32; typedef lean::uint64 uint64;
#endif
obj* l_list_map___main___at_list_monad___spec__1___rarg(obj*, obj*);
obj* l_list_alternative___lambda__2(obj*, obj*, obj*, obj*);
obj* l_list_map___boxed(obj*, obj*);
obj* l_list_map___main___rarg(obj*, obj*);
obj* l_list_map___main___at_list_monad___spec__2___boxed(obj*, obj*);
obj* l_list_map___main___at_list_alternative___spec__5(obj*, obj*);
@ -44,28 +45,27 @@ obj* l_list_map___main___at_list_alternative___spec__2___rarg(obj*, obj*);
obj* l_list_monad___lambda__3(obj*, obj*, obj*, obj*);
obj* l_list_map___main___at_list_alternative___spec__4(obj*, obj*);
obj* l_list_map___main___at_list_monad___spec__3(obj*, obj*);
obj* l_list_ret(obj*);
obj* l_list_map___main___at_list_monad___spec__3___boxed(obj*, obj*);
obj* l_list_map___main___at_list_monad___spec__2(obj*, obj*);
obj* l_list_alternative___lambda__1(obj*, obj*, obj*, obj*);
obj* l_list_ret___boxed(obj*);
obj* l_list_alternative___lambda__3(obj*, obj*, obj*, obj*);
obj* l_list_map___main___at_list_alternative___spec__1___rarg(obj*, obj*);
obj* l_list_monad___lambda__4___boxed(obj*, obj*, obj*, obj*);
obj* l_list_bind___boxed(obj*, obj*);
obj* l_list_map___main___at_list_alternative___spec__4___boxed(obj*, obj*);
obj* l_list_append(obj*);
obj* l_list_alternative___lambda__5(obj*);
obj* l_list_map___main___at_list_monad___spec__4___rarg(obj*, obj*);
obj* l_list_alternative___lambda__4(obj*, obj*, obj*, obj*);
obj* l_list_map___main___at_list_monad___spec__2___rarg(obj*, obj*);
obj* l_list_map___main___at_list_alternative___spec__5___rarg(obj*, obj*);
obj* l_list_monad___lambda__3___boxed(obj*, obj*, obj*, obj*);
obj* l_list_map(obj*, obj*);
obj* l_list_monad___lambda__1(obj*, obj*, obj*, obj*);
obj* l_list_map___main___at_list_alternative___spec__2___boxed(obj*, obj*);
obj* l_list_bind(obj*, obj*);
obj* l_list_map___main___at_list_monad___spec__5___rarg(obj*, obj*);
obj* l_list_map___main___at_list_monad___spec__3___rarg(obj*, obj*);
obj* l_list_map___main___at_list_alternative___spec__4___rarg(obj*, obj*);
obj* l_list_append___boxed(obj*);
obj* l_list_monad;
obj* l_list_map___main___at_list_monad___spec__5(obj*, obj*);
obj* l_list_map___main___at_list_alternative___spec__5___boxed(obj*, obj*);
@ -333,12 +333,12 @@ obj* _init_l_list_monad() {
_start:
{
obj* x_0; obj* x_1; obj* x_2; obj* x_3; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_list_map), 2, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_list_map___boxed), 2, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_list_monad___lambda__1___boxed), 4, 0);
x_2 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_2, 0, x_0);
lean::cnstr_set(x_2, 1, x_1);
x_3 = lean::alloc_closure(reinterpret_cast<void*>(l_list_ret), 1, 0);
x_3 = lean::alloc_closure(reinterpret_cast<void*>(l_list_ret___boxed), 1, 0);
x_4 = lean::alloc_closure(reinterpret_cast<void*>(l_list_monad___lambda__2___boxed), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_list_monad___lambda__3___boxed), 4, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_list_monad___lambda__4___boxed), 4, 0);
@ -348,7 +348,7 @@ lean::cnstr_set(x_7, 1, x_3);
lean::cnstr_set(x_7, 2, x_4);
lean::cnstr_set(x_7, 3, x_5);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_list_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_list_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -716,12 +716,12 @@ obj* _init_l_list_alternative() {
_start:
{
obj* x_0; obj* x_1; obj* x_2; obj* x_3; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_list_map), 2, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_list_map___boxed), 2, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_list_alternative___lambda__1___boxed), 4, 0);
x_2 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_2, 0, x_0);
lean::cnstr_set(x_2, 1, x_1);
x_3 = lean::alloc_closure(reinterpret_cast<void*>(l_list_ret), 1, 0);
x_3 = lean::alloc_closure(reinterpret_cast<void*>(l_list_ret___boxed), 1, 0);
x_4 = lean::alloc_closure(reinterpret_cast<void*>(l_list_alternative___lambda__2___boxed), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_list_alternative___lambda__3___boxed), 4, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_list_alternative___lambda__4___boxed), 4, 0);
@ -731,7 +731,7 @@ lean::cnstr_set(x_7, 1, x_3);
lean::cnstr_set(x_7, 2, x_4);
lean::cnstr_set(x_7, 3, x_5);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_list_append), 1, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_list_append___boxed), 1, 0);
x_9 = lean::alloc_closure(reinterpret_cast<void*>(l_list_alternative___lambda__5___boxed), 1, 0);
x_10 = lean::alloc_cnstr(0, 3, 0);
lean::cnstr_set(x_10, 0, x_7);

View file

@ -35,11 +35,11 @@ obj* l_option_is__some___main___rarg___boxed(obj*);
obj* l_option_alternative___lambda__1(obj*);
obj* l_option_monad___lambda__1___boxed(obj*, obj*, obj*, obj*);
obj* l_option_to__monad___main___boxed(obj*);
obj* l_function_const___rarg(obj*, obj*);
obj* l_option_alternative___lambda__1___boxed(obj*);
obj* l_option_to__monad___boxed(obj*, obj*);
obj* l_option_to__bool___rarg___boxed(obj*);
obj* l_option_monad___lambda__4(obj*, obj*, obj*, obj*);
obj* l_function_const___rarg___boxed(obj*, obj*);
uint8 l_option_is__some___rarg(obj*);
obj* l_option_orelse___main___rarg(obj*, obj*);
obj* l_option_get___main___rarg___boxed(obj*, obj*);
@ -727,7 +727,7 @@ obj* l_option_monad___lambda__1(obj* x_0, obj* x_1, obj* x_2, obj* x_3) {
_start:
{
obj* x_4; obj* x_5;
x_4 = lean::alloc_closure(reinterpret_cast<void*>(l_function_const___rarg), 2, 1);
x_4 = lean::alloc_closure(reinterpret_cast<void*>(l_function_const___rarg___boxed), 2, 1);
lean::closure_set(x_4, 0, x_2);
x_5 = l_option_map___rarg(x_4, x_3);
return x_5;

View file

@ -26,6 +26,7 @@ obj* l_io_println___at_io_println_x_27___spec__1(obj*, obj*);
obj* l_coroutine__io_monad___boxed(obj*, obj*);
obj* l_from__eio(obj*, obj*);
obj* l_io_print___boxed(obj*, obj*);
obj* l_id___boxed(obj*);
obj* l_io_fs_handle_read__to__end___boxed(obj*, obj*);
obj* l_io_prim_lift__eio___rarg___lambda__1(obj*, obj*, obj*, obj*);
obj* l_io;
@ -50,7 +51,6 @@ obj* l_io_fs_handle_close___boxed(obj*, obj*);
obj* l_coroutine__io_resume___rarg(obj*, obj*, obj*);
obj* l_io_prim_iterate___rarg(obj*, obj*, obj*);
obj* l_io_fs_handle_get__line___at_io_fs_handle_read__to__end___spec__2___boxed(obj*, obj*);
obj* l_id_monad___lambda__1(obj*, obj*, obj*, obj*);
obj* l_io_has__eval___rarg(obj*, obj*, obj*);
obj* l_eio__unit_has__eval___boxed(obj*);
extern "C" obj* lean_io_prim_put_str(obj*, obj*);
@ -72,12 +72,12 @@ obj* l_io_fs_handle_mk___boxed(obj*, obj*);
obj* l_io_prim_iterate__eio___at_io_fs_handle_read__to__end___spec__3___boxed(obj*, obj*);
obj* l_io_fs_handle_is__eof___at_io_fs_handle_read__to__end___spec__1___boxed(obj*, obj*);
obj* l_coroutine__io_monad___lambda__5___boxed(obj*, obj*, obj*, obj*);
obj* l_function_const___rarg(obj*, obj*);
obj* l___private_init_io_12__put__str(obj*, obj*);
obj* l_io_println_x_27___boxed(obj*, obj*);
obj* l_coroutine__io_monad___lambda__1___boxed(obj*, obj*, obj*, obj*);
obj* l_coroutine__io_yield___boxed(obj*, obj*);
obj* l_coroutine__io_monad__reader___rarg(obj*, obj*);
obj* l_function_const___rarg___boxed(obj*, obj*);
obj* l_io_fs_handle_get__line___at_io_fs_handle_read__to__end___spec__2(obj*, obj*);
obj* l_io_println___rarg(obj*, obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_coroutine__io_monad___lambda__8(obj*, obj*, obj*, obj*);
@ -103,7 +103,6 @@ obj* l_coroutine__io_mk__st___rarg(obj*);
obj* l_io_prim_iterate___main___at_io_prim_iterate__eio___spec__1(obj*, obj*, obj*);
obj* l_io_fs_read__file___rarg___lambda__2(obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_io_fs_handle_read__to__end(obj*, obj*);
obj* l_id_bind(obj*, obj*);
obj* l_io_prim_put__str___boxed(obj*, obj*);
obj* l_coroutine__io_monad___lambda__7(obj*, obj*, obj*, obj*);
obj* l_io_prim_iterate___main___at_io_prim_iterate__eio___spec__1___boxed(obj*, obj*, obj*);
@ -127,7 +126,6 @@ obj* l_io_prim_iterate___boxed(obj*, obj*);
obj* l_coroutine__io_yield___rarg___lambda__1___boxed(obj*, obj*);
obj* l_io_prim_iterate__eio___rarg(obj*, obj*, obj*);
obj* l_has__repr_has__eval(obj*);
obj* l_id(obj*);
obj* l_io_println___rarg___closed__1;
obj* l_io_print(obj*, obj*);
obj* l_io_fs_handle_is__eof(obj*, obj*);
@ -138,13 +136,13 @@ obj* l_coroutine__io_monad__reader(obj*, obj*);
obj* l_coroutine__io_monad___lambda__1(obj*, obj*, obj*, obj*);
obj* l_io_fs_handle_close___rarg(obj*, obj*, obj*, obj*, obj*);
obj* l_coroutine__io_pure___rarg(obj*, obj*, obj*);
obj* l_id_monad___lambda__3(obj*, obj*, obj*, obj*);
obj* l_coroutine__io_yield___rarg___lambda__1(obj*, obj*);
extern "C" obj* lean_io_prim_handle_flush(obj*, obj*);
obj* l_io_fs_read__file___rarg___lambda__1(obj*, obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_io_monad;
obj* l_coroutine__io_monad__io___boxed(obj*, obj*, obj*);
obj* l_io_println___rarg___boxed(obj*, obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_id_monad___lambda__1___boxed(obj*, obj*, obj*, obj*);
obj* l_coroutine__io_read(obj*, obj*);
obj* l_state__t_monad___rarg(obj*);
obj* l_coroutine__io_monad__coroutine(obj*, obj*);
@ -181,6 +179,7 @@ obj* l_coroutine__io_bind___main(obj*, obj*, obj*, obj*);
obj* l_coroutine__io_resume___main___rarg(obj*, obj*, obj*);
extern obj* l_coroutine_yield___rarg___lambda__1___closed__1;
obj* l_io_prim_handle_close___boxed(obj*, obj*);
obj* l_id_bind___boxed(obj*, obj*);
obj* l_coroutine__io_yield___rarg___boxed(obj*, obj*, obj*);
obj* l_io_println(obj*, obj*);
obj* l_coroutine__io_monad__io___rarg(obj*, obj*, obj*);
@ -190,7 +189,6 @@ obj* l_io_print___at_io_println_x_27___spec__2(obj*, obj*);
obj* l_coroutine__io_bind___boxed(obj*, obj*, obj*, obj*);
obj* l_io_fs_handle_mk___rarg___boxed(obj*, obj*, obj*, obj*, obj*, obj*, obj*);
extern "C" obj* lean_io_timeit(obj*, obj*, obj*, obj*);
obj* l_id_monad___lambda__2(obj*, obj*, obj*, obj*);
obj* l_io_fs_handle_mk___at_io_fs_read__file___spec__1___rarg(obj*, obj*, obj*, obj*, obj*, uint8, uint8);
obj* l_coroutine__io_pipe___rarg(obj*, obj*);
obj* l_io_fs_handle_close(obj*, obj*);
@ -204,10 +202,12 @@ extern "C" obj* lean_io_prim_handle_is_eof(obj*, obj*);
obj* l_eio_has__eval___boxed(obj*, obj*);
obj* l_eio_has__eval___rarg___closed__1;
obj* l_reader__t_monad___rarg___lambda__3___boxed(obj*, obj*, obj*);
obj* l_id_monad___lambda__2___boxed(obj*, obj*, obj*, obj*);
obj* l_string_has__lift(obj*);
obj* l_io_fs_handle_get__line(obj*, obj*);
obj* l_io_fs_handle_mk___at_io_fs_read__file___spec__1___boxed(obj*, obj*);
obj* l_coroutine__io_monad__io(obj*, obj*, obj*);
obj* l_id_monad___lambda__3___boxed(obj*, obj*, obj*, obj*);
obj* l_io_prim_iterate__eio___at_io_fs_handle_read__to__end___spec__3(obj*, obj*);
obj* l_coroutine__io_pure___boxed(obj*, obj*, obj*);
obj* l_coroutine__io_monad___lambda__7___boxed(obj*, obj*, obj*, obj*);
@ -219,22 +219,22 @@ obj* _init_l_io_monad() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -2663,7 +2663,7 @@ obj* l_coroutine__io_monad___lambda__2(obj* x_0, obj* x_1, obj* x_2, obj* x_3) {
_start:
{
obj* x_4; obj* x_5; obj* x_6; obj* x_7;
x_4 = lean::alloc_closure(reinterpret_cast<void*>(l_function_const___rarg), 2, 1);
x_4 = lean::alloc_closure(reinterpret_cast<void*>(l_function_const___rarg___boxed), 2, 1);
lean::closure_set(x_4, 0, x_2);
x_5 = l_coroutine__io_monad___lambda__1___closed__1;
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_function_comp___rarg), 3, 2);

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: init.lean.compiler.ir
// Imports: init.default init.lean.name
// Imports: init.default init.lean.name init.lean.kvmap
#include "runtime/object.h"
#include "runtime/apply.h"
typedef lean::object obj; typedef lean::usize usize;
@ -14,8 +14,25 @@ typedef lean::uint32 uint32; typedef lean::uint64 uint64;
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
obj* l_lean_ir_alts_is__pure(obj*);
obj* l_lean_ir_jpid;
uint8 l_lean_ir_expr_is__pure___main(obj*);
uint8 l_lean_ir_expr_is__pure(obj*);
obj* l_lean_ir_alts_is__pure___boxed(obj*);
obj* l_lean_ir_fnbody_is__pure(obj*);
obj* l_lean_ir_alt_is__pure___main___boxed(obj*);
obj* l_lean_ir_fnbody_is__pure___main___boxed(obj*);
obj* l_lean_ir_alts_is__pure___main(obj*);
obj* l_lean_ir_fnbody_is__pure___main(obj*);
obj* l_lean_ir_fnbody_is__pure___boxed(obj*);
obj* l_lean_ir_fid;
obj* l_lean_ir_varid;
obj* l_lean_ir_alt_is__pure___boxed(obj*);
obj* l_lean_ir_alt_is__pure(obj*);
obj* l_lean_ir_expr_is__pure___main___boxed(obj*);
obj* l_lean_ir_alts_is__pure___main___boxed(obj*);
obj* l_lean_ir_alt_is__pure___main(obj*);
obj* l_lean_ir_expr_is__pure___boxed(obj*);
obj* _init_l_lean_ir_varid() {
_start:
{
@ -32,16 +49,323 @@ x_0 = lean::box(0);
return x_0;
}
}
obj* _init_l_lean_ir_jpid() {
_start:
{
obj* x_0;
x_0 = lean::box(0);
return x_0;
}
}
uint8 l_lean_ir_expr_is__pure___main(obj* x_0) {
_start:
{
switch (lean::obj_tag(x_0)) {
case 1:
{
uint8 x_1;
x_1 = 0;
return x_1;
}
case 2:
{
uint8 x_2;
x_2 = 0;
return x_2;
}
case 9:
{
uint8 x_3;
x_3 = 0;
return x_3;
}
case 10:
{
uint8 x_4;
x_4 = 0;
return x_4;
}
case 12:
{
uint8 x_5;
x_5 = 0;
return x_5;
}
case 13:
{
uint8 x_6;
x_6 = 0;
return x_6;
}
default:
{
uint8 x_7;
x_7 = 1;
return x_7;
}
}
}
}
obj* l_lean_ir_expr_is__pure___main___boxed(obj* x_0) {
_start:
{
uint8 x_1; obj* x_2;
x_1 = l_lean_ir_expr_is__pure___main(x_0);
x_2 = lean::box(x_1);
lean::dec(x_0);
return x_2;
}
}
uint8 l_lean_ir_expr_is__pure(obj* x_0) {
_start:
{
uint8 x_1;
x_1 = l_lean_ir_expr_is__pure___main(x_0);
return x_1;
}
}
obj* l_lean_ir_expr_is__pure___boxed(obj* x_0) {
_start:
{
uint8 x_1; obj* x_2;
x_1 = l_lean_ir_expr_is__pure(x_0);
x_2 = lean::box(x_1);
lean::dec(x_0);
return x_2;
}
}
obj* l_lean_ir_fnbody_is__pure___main(obj* x_0) {
_start:
{
switch (lean::obj_tag(x_0)) {
case 0:
{
obj* x_1; obj* x_2; uint8 x_3;
x_1 = lean::cnstr_get(x_0, 1);
x_2 = lean::cnstr_get(x_0, 2);
x_3 = l_lean_ir_expr_is__pure___main(x_1);
if (x_3 == 0)
{
obj* x_4;
x_4 = lean::box(x_3);
return x_4;
}
else
{
x_0 = x_2;
goto _start;
}
}
case 1:
{
obj* x_6; obj* x_7; uint8 x_8;
x_6 = lean::cnstr_get(x_0, 2);
x_7 = lean::cnstr_get(x_0, 3);
x_8 = l_lean_ir_expr_is__pure___main(x_6);
if (x_8 == 0)
{
obj* x_9;
x_9 = lean::box(x_8);
return x_9;
}
else
{
x_0 = x_7;
goto _start;
}
}
case 3:
{
obj* x_11;
x_11 = lean::cnstr_get(x_0, 3);
x_0 = x_11;
goto _start;
}
case 4:
{
obj* x_13;
x_13 = lean::cnstr_get(x_0, 4);
x_0 = x_13;
goto _start;
}
case 10:
{
obj* x_15;
x_15 = lean::cnstr_get(x_0, 1);
x_0 = x_15;
goto _start;
}
case 11:
{
obj* x_17; obj* x_18;
x_17 = lean::cnstr_get(x_0, 1);
x_18 = l_lean_ir_alts_is__pure___main(x_17);
return x_18;
}
case 12:
{
uint8 x_19; obj* x_20;
x_19 = 1;
x_20 = lean::box(x_19);
return x_20;
}
case 13:
{
uint8 x_21; obj* x_22;
x_21 = 1;
x_22 = lean::box(x_21);
return x_22;
}
default:
{
uint8 x_23; obj* x_24;
x_23 = 0;
x_24 = lean::box(x_23);
return x_24;
}
}
}
}
obj* l_lean_ir_alts_is__pure___main(obj* x_0) {
_start:
{
if (lean::obj_tag(x_0) == 0)
{
uint8 x_1; obj* x_2;
x_1 = 1;
x_2 = lean::box(x_1);
return x_2;
}
else
{
obj* x_3; obj* x_4; obj* x_5; uint8 x_6;
x_3 = lean::cnstr_get(x_0, 0);
x_4 = lean::cnstr_get(x_0, 1);
x_5 = l_lean_ir_alt_is__pure___main(x_3);
x_6 = lean::unbox(x_5);
if (x_6 == 0)
{
return x_5;
}
else
{
x_0 = x_4;
goto _start;
}
}
}
}
obj* l_lean_ir_alt_is__pure___main(obj* x_0) {
_start:
{
if (lean::obj_tag(x_0) == 0)
{
obj* x_1; obj* x_2;
x_1 = lean::cnstr_get(x_0, 1);
x_2 = l_lean_ir_fnbody_is__pure___main(x_1);
return x_2;
}
else
{
uint8 x_3; obj* x_4;
x_3 = 0;
x_4 = lean::box(x_3);
return x_4;
}
}
}
obj* l_lean_ir_fnbody_is__pure___main___boxed(obj* x_0) {
_start:
{
obj* x_1;
x_1 = l_lean_ir_fnbody_is__pure___main(x_0);
lean::dec(x_0);
return x_1;
}
}
obj* l_lean_ir_alts_is__pure___main___boxed(obj* x_0) {
_start:
{
obj* x_1;
x_1 = l_lean_ir_alts_is__pure___main(x_0);
lean::dec(x_0);
return x_1;
}
}
obj* l_lean_ir_alt_is__pure___main___boxed(obj* x_0) {
_start:
{
obj* x_1;
x_1 = l_lean_ir_alt_is__pure___main(x_0);
lean::dec(x_0);
return x_1;
}
}
obj* l_lean_ir_fnbody_is__pure(obj* x_0) {
_start:
{
obj* x_1;
x_1 = l_lean_ir_fnbody_is__pure___main(x_0);
return x_1;
}
}
obj* l_lean_ir_fnbody_is__pure___boxed(obj* x_0) {
_start:
{
obj* x_1;
x_1 = l_lean_ir_fnbody_is__pure(x_0);
lean::dec(x_0);
return x_1;
}
}
obj* l_lean_ir_alts_is__pure(obj* x_0) {
_start:
{
obj* x_1;
x_1 = l_lean_ir_alts_is__pure___main(x_0);
return x_1;
}
}
obj* l_lean_ir_alts_is__pure___boxed(obj* x_0) {
_start:
{
obj* x_1;
x_1 = l_lean_ir_alts_is__pure(x_0);
lean::dec(x_0);
return x_1;
}
}
obj* l_lean_ir_alt_is__pure(obj* x_0) {
_start:
{
obj* x_1;
x_1 = l_lean_ir_alt_is__pure___main(x_0);
return x_1;
}
}
obj* l_lean_ir_alt_is__pure___boxed(obj* x_0) {
_start:
{
obj* x_1;
x_1 = l_lean_ir_alt_is__pure(x_0);
lean::dec(x_0);
return x_1;
}
}
void initialize_init_default();
void initialize_init_lean_name();
void initialize_init_lean_kvmap();
static bool _G_initialized = false;
void initialize_init_lean_compiler_ir() {
if (_G_initialized) return;
_G_initialized = true;
initialize_init_default();
initialize_init_lean_name();
initialize_init_lean_kvmap();
l_lean_ir_varid = _init_l_lean_ir_varid();
lean::mark_persistent(l_lean_ir_varid);
l_lean_ir_fid = _init_l_lean_ir_fid();
lean::mark_persistent(l_lean_ir_fid);
l_lean_ir_jpid = _init_l_lean_ir_jpid();
lean::mark_persistent(l_lean_ir_jpid);
}

File diff suppressed because it is too large Load diff

View file

@ -30,6 +30,7 @@ obj* l_lean_expander_coe__name__ident(obj*);
obj* l_lean_expander_variable_transform___boxed(obj*, obj*);
obj* l_lean_expander_expand__bracketed__binder(obj*, obj*);
obj* l_lean_expander_sorry_transform___closed__1;
obj* l_id___boxed(obj*);
obj* l_lean_expander_pi_transform___lambda__1(obj*, obj*, obj*);
extern obj* l_lean_parser_term_binder__ident_has__view;
obj* l_lean_expander_if_transform___closed__1;
@ -65,7 +66,6 @@ extern obj* l_lean_parser_command_variable;
extern obj* l_lean_parser_term_match_has__view;
obj* l_lean_expander_mixfix_transform___closed__1;
obj* l_lean_expander_coe__binders__ext___rarg(obj*, obj*);
obj* l_id_monad___lambda__1(obj*, obj*, obj*, obj*);
extern obj* l_lean_parser_term_if_has__view;
extern obj* l_lean_parser_term_bracketed__binders;
obj* l_lean_parser_string__lit_has__view_x_27___lambda__1(obj*);
@ -155,7 +155,6 @@ obj* l_lean_expander_error___at_lean_expander_mk__notation__transformer___spec__
obj* l_list_map___main___at_lean_expander_expand__bracketed__binder___main___spec__15___boxed(obj*, obj*, obj*);
obj* l_list_join___main___rarg(obj*);
obj* l_rbnode_find___main___at_lean_parser_token__map_insert___spec__2___rarg(obj*, obj*);
obj* l_id_bind(obj*, obj*);
obj* l_coe___at_lean_expander_mk__notation__transformer___spec__2(obj*);
obj* l_list_mmap___main___at_lean_expander_variables_transform___spec__1___closed__1;
obj* l_lean_parser_syntax_get__pos(obj*);
@ -196,7 +195,6 @@ uint8 nat_dec_eq(obj*, obj*);
}
extern obj* l_lean_parser_term__parser__m_lean_parser_monad__parsec;
obj* l_list_map___main___at_lean_expander_expand__bracketed__binder___main___spec__3___closed__1;
obj* l_id(obj*);
obj* l_list_map___main___at_lean_expander_expand__bracketed__binder___main___spec__2(uint8, obj*, obj*);
obj* l_lean_expander_error___rarg(obj*, obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_lean_expander_binding__annotation__update;
@ -245,7 +243,6 @@ obj* l_lean_expander_error___at___private_init_lean_expander_1__pop__stx__arg___
obj* l_list_mmap___main___at_lean_expander_bracketed__binders_transform___spec__1(obj*, obj*);
obj* l_list_foldr1__opt___main___at_lean_expander_paren_transform___spec__2(obj*, obj*);
obj* l_list_map___main___at_lean_expander_mk__notation__transformer___spec__3(obj*);
obj* l_id_monad___lambda__3(obj*, obj*, obj*, obj*);
extern obj* l_lean_parser_ident__univs_has__view;
obj* l_list_foldr___main___at_lean_expander_expand__binders___spec__2___boxed(obj*, obj*, obj*, obj*);
obj* l_lean_expander_subtype_transform___boxed(obj*, obj*);
@ -255,6 +252,7 @@ obj* l_lean_expander_mk__simple__binder___closed__6;
obj* l_lean_parser_try__view___at_lean_expander_mk__notation__transformer___spec__6(obj*);
extern obj* l_lean_parser_term_assume_has__view;
extern obj* l_lean_parser_command_intro__rule;
obj* l_id_monad___lambda__1___boxed(obj*, obj*, obj*, obj*);
obj* l_list_map___main___at_lean_expander_expand__bracketed__binder___main___spec__1(obj*);
obj* l_lean_expander_binder__ident__to__ident___main___closed__1;
obj* l_lean_expander_transform__m_monad__except;
@ -320,6 +318,7 @@ obj* l_lean_expander_mk__simple__binder___closed__1;
extern obj* l_lean_parser_command_notation__spec_precedence_has__view;
obj* l_lean_expander_variable_transform(obj*, obj*);
obj* l_lean_expander_expand__bracketed__binder___main___closed__5;
obj* l_id_bind___boxed(obj*, obj*);
obj* l_lean_expander_expand__binders(obj*, obj*, obj*, obj*);
obj* l_lean_expander_mk__scope___boxed(obj*, obj*);
obj* l_lean_expander_mk__simple__binder___closed__5;
@ -334,7 +333,6 @@ extern obj* l_lean_parser_term_lambda;
extern obj* l_lean_parser_term_arrow;
obj* l_list_map___main___at_lean_expander_expand__bracketed__binder___main___spec__2___boxed(obj*, obj*, obj*);
obj* l_lean_expander_get__opt__type(obj*);
obj* l_id_monad___lambda__2(obj*, obj*, obj*, obj*);
obj* l_lean_expander_reserve__mixfix_transform(obj*, obj*);
obj* l_list_foldr1___main___at_lean_expander_paren_transform___spec__3___closed__1;
obj* l_lean_expander_level_leading_transform(obj*, obj*);
@ -365,6 +363,7 @@ obj* l_list_foldl___main___at_lean_parser_term_mk__app___spec__1(obj*, obj*);
obj* l_list_map___main___at_lean_expander_expand__bracketed__binder___main___spec__6___boxed(obj*, obj*);
obj* l_lean_parser_substring_of__string(obj*);
obj* l_lean_expander_mk__simple__binder___closed__3;
obj* l_id_monad___lambda__2___boxed(obj*, obj*, obj*, obj*);
obj* l_lean_expander_let_transform(obj*, obj*);
extern obj* l_lean_parser_term_let;
obj* l_lean_expander_expand__bracketed__binder___main___closed__7;
@ -373,6 +372,7 @@ obj* l_list_mmap___main___at___private_init_lean_expander_2__expand__core___main
extern obj* l_lean_parser_command_notation_has__view;
obj* l_list_map___main___at___private_init_lean_expander_2__expand__core___main___spec__4(obj*, obj*);
obj* l_list_mmap___main___at_lean_expander_variables_transform___spec__1(obj*, obj*);
obj* l_id_monad___lambda__3___boxed(obj*, obj*, obj*, obj*);
obj* l_list_map___main___at_lean_expander_expand__bracketed__binder___main___spec__4___boxed(obj*, obj*, obj*);
obj* l_lean_expander_constant_transform(obj*, obj*);
obj* l_lean_expander_binder__ident__to__ident___boxed(obj*);
@ -400,22 +400,22 @@ obj* _init_l_lean_expander_transform__m_monad() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10; obj* x_11;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -428,22 +428,22 @@ obj* _init_l_lean_expander_transform__m_monad__reader() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10; obj* x_11;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -457,22 +457,22 @@ obj* _init_l_lean_expander_transform__m_monad__except() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10; obj* x_11;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);

View file

@ -39,6 +39,7 @@ obj* l_lean_nat__has__to__format(obj*);
obj* l_nat_repeat__core___main___at_string_pushn___spec__1(uint32, obj*, obj*, obj*);
obj* l_lean_format_repr___main___closed__5;
obj* l_lean_has__repr___lambda__1(obj*);
obj* l_id___rarg___boxed(obj*);
obj* l_string_quote(obj*);
obj* l_lean_list_to__format___main___rarg___closed__1;
obj* l_lean_to__string__to__format___rarg___lambda__1(obj*);
@ -82,7 +83,6 @@ obj* l_lean_format_space__upto__line___main___lambda__1___boxed(obj*, obj*, obj*
obj* l_lean_format_join(obj*);
extern obj* l_string_join___closed__1;
obj* l_lean_format_prefix__join___boxed(obj*);
obj* l_id___rarg(obj*);
obj* l_lean_format_has__coe(obj*);
obj* l_lean_format_prefix__join___main(obj*);
namespace lean {
@ -1210,7 +1210,7 @@ obj* _init_l_lean_format__has__to__format() {
_start:
{
obj* x_0;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg), 1, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg___boxed), 1, 0);
return x_0;
}
}

View file

@ -80,9 +80,11 @@ obj* l_lean_level_to__nat___boxed(obj*);
obj* l_lean_level__to__format_level_to__format(obj*);
obj* l_lean_level_to__nat___main(obj*);
obj* l_lean_level__to__format_level__has__to__string;
obj* l_lean_nat_imax___boxed(obj*, obj*);
obj* l_lean_level__to__format_result__list_to__format___main(obj*);
extern "C" usize lean_level_hash(obj*);
obj* l_lean_level_to__nat(obj*);
obj* l_nat_max___boxed(obj*, obj*);
obj* l_lean_level_has__mvar___main___boxed(obj*);
obj* l_lean_level_one;
obj* l_nat_repr(obj*);
@ -354,14 +356,22 @@ return x_4;
}
else
{
obj* x_7;
lean::dec(x_1);
lean::dec(x_0);
x_7 = lean::mk_nat_obj(0u);
return x_7;
obj* x_5;
x_5 = lean::mk_nat_obj(0u);
return x_5;
}
}
}
obj* l_lean_nat_imax___boxed(obj* x_0, obj* x_1) {
_start:
{
obj* x_2;
x_2 = l_lean_nat_imax(x_0, x_1);
lean::dec(x_0);
lean::dec(x_1);
return x_2;
}
}
obj* l_lean_level_to__nat___main___lambda__1(obj* x_0) {
_start:
{
@ -393,7 +403,7 @@ obj* _init_l_lean_level_to__nat___main___closed__3() {
_start:
{
obj* x_0;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_nat_max), 2, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_nat_max___boxed), 2, 0);
return x_0;
}
}
@ -401,7 +411,7 @@ obj* _init_l_lean_level_to__nat___main___closed__4() {
_start:
{
obj* x_0;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_nat_imax), 2, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_nat_imax___boxed), 2, 0);
return x_0;
}
}

View file

@ -46,6 +46,7 @@ uint8 l_char_is__digit(uint32);
obj* l_lean_parser_parsec__t_labels__mk__res___rarg(obj*, obj*);
uint32 l_char_of__nat(obj*);
obj* l___private_init_lean_parser_parsec_4__take__while__aux___main___at___private_init_lean_name__mangling_5__parse__mangled__name__aux___main___spec__5(obj*, obj*, obj*);
obj* l_id___rarg___boxed(obj*);
obj* l_string_quote(obj*);
extern obj* l_lean_parser_monad__parsec_eoi__error___rarg___closed__1;
obj* l_lean_parser_monad__parsec_take__while1___at___private_init_lean_name__mangling_5__parse__mangled__name__aux___main___spec__3(obj*);
@ -95,7 +96,6 @@ obj* l_lean_parser_monad__parsec_digit___at___private_init_lean_name__mangling_2
obj* l___private_init_lean_parser_parsec_4__take__while__aux___main___at___private_init_lean_name__mangling_5__parse__mangled__name__aux___main___spec__9(obj*, obj*, obj*);
obj* l___private_init_lean_name__mangling_4__name_mangle__aux(obj*, obj*);
extern obj* l_string_join___closed__1;
obj* l_id___rarg(obj*);
namespace lean {
obj* uint32_to_nat(uint32);
}
@ -1027,7 +1027,7 @@ obj* _init_l_lean_parser_monad__parsec_eoi___at___private_init_lean_name__mangli
_start:
{
obj* x_0; obj* x_2; obj* x_3;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg), 1, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg___boxed), 1, 0);
lean::inc(x_0);
x_2 = lean::alloc_closure(reinterpret_cast<void*>(l_function_comp___rarg), 3, 2);
lean::closure_set(x_2, 0, x_0);
@ -1465,7 +1465,7 @@ lean::dec(x_163);
x_171 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2(x_166);
if (lean::obj_tag(x_171) == 0)
{
obj* x_172; obj* x_174; obj* x_176; obj* x_179; obj* x_180; obj* x_182; uint32 x_185; obj* x_187; obj* x_188; obj* x_189; obj* x_190; obj* x_191;
obj* x_172; obj* x_174; obj* x_176; obj* x_179; obj* x_180; obj* x_182; uint32 x_185; obj* x_188; obj* x_189; obj* x_190; obj* x_191; obj* x_192;
x_172 = lean::cnstr_get(x_171, 0);
lean::inc(x_172);
x_174 = lean::cnstr_get(x_171, 1);
@ -1480,442 +1480,444 @@ x_182 = lean::nat_add(x_180, x_172);
lean::dec(x_172);
lean::dec(x_180);
x_185 = l_char_of__nat(x_182);
lean::dec(x_182);
lean::inc(x_1);
x_187 = lean::string_push(x_1, x_185);
x_188 = l___private_init_lean_name__mangling_2__parse__mangled__string__aux___main(x_6, x_187, x_174);
x_189 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_176, x_188);
x_190 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_168, x_189);
x_191 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_160, x_190);
if (lean::obj_tag(x_191) == 0)
x_188 = lean::string_push(x_1, x_185);
x_189 = l___private_init_lean_name__mangling_2__parse__mangled__string__aux___main(x_6, x_188, x_174);
x_190 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_176, x_189);
x_191 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_168, x_190);
x_192 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_160, x_191);
if (lean::obj_tag(x_192) == 0)
{
obj* x_195; obj* x_196; obj* x_197; obj* x_198;
obj* x_196; obj* x_197; obj* x_198; obj* x_199;
lean::dec(x_6);
lean::dec(x_1);
lean::dec(x_2);
x_195 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_191);
x_196 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_195);
x_197 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_196);
x_198 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_197);
return x_198;
x_196 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_192);
x_197 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_196);
x_198 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_197);
x_199 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_198);
return x_199;
}
else
{
obj* x_199; uint8 x_201;
x_199 = lean::cnstr_get(x_191, 0);
lean::inc(x_199);
x_201 = lean::cnstr_get_scalar<uint8>(x_191, sizeof(void*)*1);
x_149 = x_191;
x_150 = x_199;
x_151 = x_201;
obj* x_200; uint8 x_202;
x_200 = lean::cnstr_get(x_192, 0);
lean::inc(x_200);
x_202 = lean::cnstr_get_scalar<uint8>(x_192, sizeof(void*)*1);
x_149 = x_192;
x_150 = x_200;
x_151 = x_202;
goto lbl_152;
}
}
else
{
obj* x_203; uint8 x_205; obj* x_206; obj* x_207; obj* x_208; obj* x_209; obj* x_210;
obj* x_204; uint8 x_206; obj* x_207; obj* x_208; obj* x_209; obj* x_210; obj* x_211;
lean::dec(x_164);
x_203 = lean::cnstr_get(x_171, 0);
x_205 = lean::cnstr_get_scalar<uint8>(x_171, sizeof(void*)*1);
x_204 = lean::cnstr_get(x_171, 0);
x_206 = lean::cnstr_get_scalar<uint8>(x_171, sizeof(void*)*1);
if (lean::is_exclusive(x_171)) {
x_206 = x_171;
x_207 = x_171;
} else {
lean::inc(x_203);
lean::inc(x_204);
lean::dec(x_171);
x_206 = lean::box(0);
x_207 = lean::box(0);
}
if (lean::is_scalar(x_206)) {
x_207 = lean::alloc_cnstr(1, 1, 1);
if (lean::is_scalar(x_207)) {
x_208 = lean::alloc_cnstr(1, 1, 1);
} else {
x_207 = x_206;
x_208 = x_207;
}
lean::cnstr_set(x_207, 0, x_203);
lean::cnstr_set_scalar(x_207, sizeof(void*)*1, x_205);
x_208 = x_207;
x_209 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_168, x_208);
x_210 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_160, x_209);
if (lean::obj_tag(x_210) == 0)
lean::cnstr_set(x_208, 0, x_204);
lean::cnstr_set_scalar(x_208, sizeof(void*)*1, x_206);
x_209 = x_208;
x_210 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_168, x_209);
x_211 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_160, x_210);
if (lean::obj_tag(x_211) == 0)
{
obj* x_214; obj* x_215; obj* x_216; obj* x_217;
obj* x_215; obj* x_216; obj* x_217; obj* x_218;
lean::dec(x_6);
lean::dec(x_1);
lean::dec(x_2);
x_214 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_210);
x_215 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_214);
x_216 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_215);
x_217 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_216);
return x_217;
x_215 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_211);
x_216 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_215);
x_217 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_216);
x_218 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_217);
return x_218;
}
else
{
obj* x_218; uint8 x_220;
x_218 = lean::cnstr_get(x_210, 0);
lean::inc(x_218);
x_220 = lean::cnstr_get_scalar<uint8>(x_210, sizeof(void*)*1);
x_149 = x_210;
x_150 = x_218;
x_151 = x_220;
obj* x_219; uint8 x_221;
x_219 = lean::cnstr_get(x_211, 0);
lean::inc(x_219);
x_221 = lean::cnstr_get_scalar<uint8>(x_211, sizeof(void*)*1);
x_149 = x_211;
x_150 = x_219;
x_151 = x_221;
goto lbl_152;
}
}
}
else
{
obj* x_221; uint8 x_223; obj* x_224; obj* x_225; obj* x_226; obj* x_227;
x_221 = lean::cnstr_get(x_163, 0);
x_223 = lean::cnstr_get_scalar<uint8>(x_163, sizeof(void*)*1);
obj* x_222; uint8 x_224; obj* x_225; obj* x_226; obj* x_227; obj* x_228;
x_222 = lean::cnstr_get(x_163, 0);
x_224 = lean::cnstr_get_scalar<uint8>(x_163, sizeof(void*)*1);
if (lean::is_exclusive(x_163)) {
x_224 = x_163;
x_225 = x_163;
} else {
lean::inc(x_221);
lean::inc(x_222);
lean::dec(x_163);
x_224 = lean::box(0);
x_225 = lean::box(0);
}
if (lean::is_scalar(x_224)) {
x_225 = lean::alloc_cnstr(1, 1, 1);
if (lean::is_scalar(x_225)) {
x_226 = lean::alloc_cnstr(1, 1, 1);
} else {
x_225 = x_224;
x_226 = x_225;
}
lean::cnstr_set(x_225, 0, x_221);
lean::cnstr_set_scalar(x_225, sizeof(void*)*1, x_223);
x_226 = x_225;
x_227 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_160, x_226);
if (lean::obj_tag(x_227) == 0)
lean::cnstr_set(x_226, 0, x_222);
lean::cnstr_set_scalar(x_226, sizeof(void*)*1, x_224);
x_227 = x_226;
x_228 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_160, x_227);
if (lean::obj_tag(x_228) == 0)
{
obj* x_231; obj* x_232; obj* x_233; obj* x_234;
obj* x_232; obj* x_233; obj* x_234; obj* x_235;
lean::dec(x_6);
lean::dec(x_1);
lean::dec(x_2);
x_231 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_227);
x_232 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_231);
x_233 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_232);
x_234 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_233);
return x_234;
x_232 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_228);
x_233 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_232);
x_234 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_233);
x_235 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_234);
return x_235;
}
else
{
obj* x_235; uint8 x_237;
x_235 = lean::cnstr_get(x_227, 0);
lean::inc(x_235);
x_237 = lean::cnstr_get_scalar<uint8>(x_227, sizeof(void*)*1);
x_149 = x_227;
x_150 = x_235;
x_151 = x_237;
obj* x_236; uint8 x_238;
x_236 = lean::cnstr_get(x_228, 0);
lean::inc(x_236);
x_238 = lean::cnstr_get_scalar<uint8>(x_228, sizeof(void*)*1);
x_149 = x_228;
x_150 = x_236;
x_151 = x_238;
goto lbl_152;
}
}
}
else
{
obj* x_238; uint8 x_240; obj* x_241; obj* x_243; obj* x_244;
x_238 = lean::cnstr_get(x_157, 0);
x_240 = lean::cnstr_get_scalar<uint8>(x_157, sizeof(void*)*1);
obj* x_239; uint8 x_241; obj* x_242; obj* x_244; obj* x_245;
x_239 = lean::cnstr_get(x_157, 0);
x_241 = lean::cnstr_get_scalar<uint8>(x_157, sizeof(void*)*1);
if (lean::is_exclusive(x_157)) {
x_241 = x_157;
x_242 = x_157;
} else {
lean::inc(x_238);
lean::inc(x_239);
lean::dec(x_157);
x_241 = lean::box(0);
x_242 = lean::box(0);
}
lean::inc(x_238);
if (lean::is_scalar(x_241)) {
x_243 = lean::alloc_cnstr(1, 1, 1);
lean::inc(x_239);
if (lean::is_scalar(x_242)) {
x_244 = lean::alloc_cnstr(1, 1, 1);
} else {
x_243 = x_241;
x_244 = x_242;
}
lean::cnstr_set(x_243, 0, x_238);
lean::cnstr_set_scalar(x_243, sizeof(void*)*1, x_240);
x_244 = x_243;
x_149 = x_244;
x_150 = x_238;
x_151 = x_240;
lean::cnstr_set(x_244, 0, x_239);
lean::cnstr_set_scalar(x_244, sizeof(void*)*1, x_241);
x_245 = x_244;
x_149 = x_245;
x_150 = x_239;
x_151 = x_241;
goto lbl_152;
}
}
else
{
obj* x_249; obj* x_250; obj* x_251;
obj* x_250; obj* x_251; obj* x_252;
lean::dec(x_109);
lean::dec(x_6);
lean::dec(x_1);
lean::dec(x_2);
x_249 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_108);
x_250 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_249);
x_251 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_250);
return x_251;
x_250 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_108);
x_251 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_250);
x_252 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_251);
return x_252;
}
lbl_152:
{
if (x_151 == 0)
{
obj* x_253; obj* x_254; obj* x_255;
obj* x_254; obj* x_255; obj* x_256;
lean::dec(x_149);
x_253 = l___private_init_lean_name__mangling_1__string_mangle__aux___main___closed__1;
x_254 = l___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___closed__1;
x_255 = l_lean_parser_monad__parsec_str__core___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__1(x_253, x_254, x_2);
if (lean::obj_tag(x_255) == 0)
x_254 = l___private_init_lean_name__mangling_1__string_mangle__aux___main___closed__1;
x_255 = l___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___closed__1;
x_256 = l_lean_parser_monad__parsec_str__core___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__1(x_254, x_255, x_2);
if (lean::obj_tag(x_256) == 0)
{
obj* x_256; obj* x_258; obj* x_261;
x_256 = lean::cnstr_get(x_255, 1);
lean::inc(x_256);
x_258 = lean::cnstr_get(x_255, 2);
lean::inc(x_258);
lean::dec(x_255);
x_261 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2(x_256);
if (lean::obj_tag(x_261) == 0)
obj* x_257; obj* x_259; obj* x_262;
x_257 = lean::cnstr_get(x_256, 1);
lean::inc(x_257);
x_259 = lean::cnstr_get(x_256, 2);
lean::inc(x_259);
lean::dec(x_256);
x_262 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2(x_257);
if (lean::obj_tag(x_262) == 0)
{
obj* x_262; obj* x_264; obj* x_266; obj* x_269;
x_262 = lean::cnstr_get(x_261, 0);
lean::inc(x_262);
x_264 = lean::cnstr_get(x_261, 1);
lean::inc(x_264);
x_266 = lean::cnstr_get(x_261, 2);
lean::inc(x_266);
lean::dec(x_261);
x_269 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2(x_264);
if (lean::obj_tag(x_269) == 0)
{
obj* x_270; obj* x_272; obj* x_274; obj* x_277;
x_270 = lean::cnstr_get(x_269, 0);
lean::inc(x_270);
x_272 = lean::cnstr_get(x_269, 1);
lean::inc(x_272);
x_274 = lean::cnstr_get(x_269, 2);
lean::inc(x_274);
lean::dec(x_269);
x_277 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2(x_272);
if (lean::obj_tag(x_277) == 0)
{
obj* x_278; obj* x_280; obj* x_282; obj* x_285;
x_278 = lean::cnstr_get(x_277, 0);
lean::inc(x_278);
x_280 = lean::cnstr_get(x_277, 1);
lean::inc(x_280);
x_282 = lean::cnstr_get(x_277, 2);
lean::inc(x_282);
lean::dec(x_277);
x_285 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2(x_280);
if (lean::obj_tag(x_285) == 0)
{
obj* x_286; obj* x_288; obj* x_290; obj* x_293; obj* x_294; obj* x_296; obj* x_297; obj* x_299; obj* x_302; obj* x_303; obj* x_305; obj* x_308; uint32 x_311; obj* x_312; obj* x_313; obj* x_315; obj* x_316; obj* x_317; obj* x_318; obj* x_319; obj* x_320; obj* x_321; obj* x_322; obj* x_323; obj* x_324;
x_286 = lean::cnstr_get(x_285, 0);
lean::inc(x_286);
x_288 = lean::cnstr_get(x_285, 1);
lean::inc(x_288);
x_290 = lean::cnstr_get(x_285, 2);
lean::inc(x_290);
lean::dec(x_285);
x_293 = lean::mk_nat_obj(4096u);
x_294 = lean::nat_mul(x_262, x_293);
obj* x_263; obj* x_265; obj* x_267; obj* x_270;
x_263 = lean::cnstr_get(x_262, 0);
lean::inc(x_263);
x_265 = lean::cnstr_get(x_262, 1);
lean::inc(x_265);
x_267 = lean::cnstr_get(x_262, 2);
lean::inc(x_267);
lean::dec(x_262);
x_296 = lean::mk_nat_obj(256u);
x_297 = lean::nat_mul(x_270, x_296);
x_270 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2(x_265);
if (lean::obj_tag(x_270) == 0)
{
obj* x_271; obj* x_273; obj* x_275; obj* x_278;
x_271 = lean::cnstr_get(x_270, 0);
lean::inc(x_271);
x_273 = lean::cnstr_get(x_270, 1);
lean::inc(x_273);
x_275 = lean::cnstr_get(x_270, 2);
lean::inc(x_275);
lean::dec(x_270);
x_299 = lean::nat_add(x_294, x_297);
lean::dec(x_297);
lean::dec(x_294);
x_302 = lean::mk_nat_obj(16u);
x_303 = lean::nat_mul(x_278, x_302);
x_278 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2(x_273);
if (lean::obj_tag(x_278) == 0)
{
obj* x_279; obj* x_281; obj* x_283; obj* x_286;
x_279 = lean::cnstr_get(x_278, 0);
lean::inc(x_279);
x_281 = lean::cnstr_get(x_278, 1);
lean::inc(x_281);
x_283 = lean::cnstr_get(x_278, 2);
lean::inc(x_283);
lean::dec(x_278);
x_305 = lean::nat_add(x_299, x_303);
lean::dec(x_303);
lean::dec(x_299);
x_308 = lean::nat_add(x_305, x_286);
x_286 = l_lean_parser_parse__hex__digit___at___private_init_lean_name__mangling_2__parse__mangled__string__aux___main___spec__2(x_281);
if (lean::obj_tag(x_286) == 0)
{
obj* x_287; obj* x_289; obj* x_291; obj* x_294; obj* x_295; obj* x_297; obj* x_298; obj* x_300; obj* x_303; obj* x_304; obj* x_306; obj* x_309; uint32 x_312; obj* x_314; obj* x_315; obj* x_317; obj* x_318; obj* x_319; obj* x_320; obj* x_321; obj* x_322; obj* x_323; obj* x_324; obj* x_325; obj* x_326;
x_287 = lean::cnstr_get(x_286, 0);
lean::inc(x_287);
x_289 = lean::cnstr_get(x_286, 1);
lean::inc(x_289);
x_291 = lean::cnstr_get(x_286, 2);
lean::inc(x_291);
lean::dec(x_286);
lean::dec(x_305);
x_311 = l_char_of__nat(x_308);
x_312 = lean::string_push(x_1, x_311);
x_313 = l___private_init_lean_name__mangling_2__parse__mangled__string__aux___main(x_6, x_312, x_288);
x_294 = lean::mk_nat_obj(4096u);
x_295 = lean::nat_mul(x_263, x_294);
lean::dec(x_263);
x_297 = lean::mk_nat_obj(256u);
x_298 = lean::nat_mul(x_271, x_297);
lean::dec(x_271);
x_300 = lean::nat_add(x_295, x_298);
lean::dec(x_298);
lean::dec(x_295);
x_303 = lean::mk_nat_obj(16u);
x_304 = lean::nat_mul(x_279, x_303);
lean::dec(x_279);
x_306 = lean::nat_add(x_300, x_304);
lean::dec(x_304);
lean::dec(x_300);
x_309 = lean::nat_add(x_306, x_287);
lean::dec(x_287);
lean::dec(x_306);
x_312 = l_char_of__nat(x_309);
lean::dec(x_309);
x_314 = lean::string_push(x_1, x_312);
x_315 = l___private_init_lean_name__mangling_2__parse__mangled__string__aux___main(x_6, x_314, x_289);
lean::dec(x_6);
x_315 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_290, x_313);
x_316 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_282, x_315);
x_317 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_274, x_316);
x_318 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_266, x_317);
x_319 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_258, x_318);
x_320 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_150, x_319);
x_321 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_320);
x_322 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_321);
x_323 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_322);
x_324 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_323);
return x_324;
x_317 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_291, x_315);
x_318 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_283, x_317);
x_319 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_275, x_318);
x_320 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_267, x_319);
x_321 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_259, x_320);
x_322 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_150, x_321);
x_323 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_322);
x_324 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_323);
x_325 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_324);
x_326 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_325);
return x_326;
}
else
{
obj* x_330; uint8 x_332; obj* x_333; obj* x_334; obj* x_335; obj* x_336; obj* x_337; obj* x_338; obj* x_339; obj* x_340; obj* x_341; obj* x_342; obj* x_343; obj* x_344;
obj* x_332; uint8 x_334; obj* x_335; obj* x_336; obj* x_337; obj* x_338; obj* x_339; obj* x_340; obj* x_341; obj* x_342; obj* x_343; obj* x_344; obj* x_345; obj* x_346;
lean::dec(x_6);
lean::dec(x_1);
lean::dec(x_278);
lean::dec(x_270);
lean::dec(x_262);
x_330 = lean::cnstr_get(x_285, 0);
x_332 = lean::cnstr_get_scalar<uint8>(x_285, sizeof(void*)*1);
if (lean::is_exclusive(x_285)) {
x_333 = x_285;
lean::dec(x_263);
lean::dec(x_279);
lean::dec(x_271);
x_332 = lean::cnstr_get(x_286, 0);
x_334 = lean::cnstr_get_scalar<uint8>(x_286, sizeof(void*)*1);
if (lean::is_exclusive(x_286)) {
x_335 = x_286;
} else {
lean::inc(x_330);
lean::dec(x_285);
x_333 = lean::box(0);
lean::inc(x_332);
lean::dec(x_286);
x_335 = lean::box(0);
}
if (lean::is_scalar(x_333)) {
x_334 = lean::alloc_cnstr(1, 1, 1);
if (lean::is_scalar(x_335)) {
x_336 = lean::alloc_cnstr(1, 1, 1);
} else {
x_334 = x_333;
x_336 = x_335;
}
lean::cnstr_set(x_334, 0, x_330);
lean::cnstr_set_scalar(x_334, sizeof(void*)*1, x_332);
x_335 = x_334;
x_336 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_282, x_335);
x_337 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_274, x_336);
x_338 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_266, x_337);
x_339 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_258, x_338);
x_340 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_150, x_339);
x_341 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_340);
x_342 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_341);
x_343 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_342);
x_344 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_343);
return x_344;
lean::cnstr_set(x_336, 0, x_332);
lean::cnstr_set_scalar(x_336, sizeof(void*)*1, x_334);
x_337 = x_336;
x_338 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_283, x_337);
x_339 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_275, x_338);
x_340 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_267, x_339);
x_341 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_259, x_340);
x_342 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_150, x_341);
x_343 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_342);
x_344 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_343);
x_345 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_344);
x_346 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_345);
return x_346;
}
}
else
{
obj* x_349; uint8 x_351; obj* x_352; obj* x_353; obj* x_354; obj* x_355; obj* x_356; obj* x_357; obj* x_358; obj* x_359; obj* x_360; obj* x_361; obj* x_362;
obj* x_351; uint8 x_353; obj* x_354; obj* x_355; obj* x_356; obj* x_357; obj* x_358; obj* x_359; obj* x_360; obj* x_361; obj* x_362; obj* x_363; obj* x_364;
lean::dec(x_6);
lean::dec(x_1);
lean::dec(x_270);
lean::dec(x_262);
x_349 = lean::cnstr_get(x_277, 0);
x_351 = lean::cnstr_get_scalar<uint8>(x_277, sizeof(void*)*1);
if (lean::is_exclusive(x_277)) {
x_352 = x_277;
lean::dec(x_263);
lean::dec(x_271);
x_351 = lean::cnstr_get(x_278, 0);
x_353 = lean::cnstr_get_scalar<uint8>(x_278, sizeof(void*)*1);
if (lean::is_exclusive(x_278)) {
x_354 = x_278;
} else {
lean::inc(x_349);
lean::dec(x_277);
x_352 = lean::box(0);
lean::inc(x_351);
lean::dec(x_278);
x_354 = lean::box(0);
}
if (lean::is_scalar(x_352)) {
x_353 = lean::alloc_cnstr(1, 1, 1);
if (lean::is_scalar(x_354)) {
x_355 = lean::alloc_cnstr(1, 1, 1);
} else {
x_353 = x_352;
x_355 = x_354;
}
lean::cnstr_set(x_353, 0, x_349);
lean::cnstr_set_scalar(x_353, sizeof(void*)*1, x_351);
x_354 = x_353;
x_355 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_274, x_354);
x_356 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_266, x_355);
x_357 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_258, x_356);
x_358 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_150, x_357);
x_359 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_358);
x_360 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_359);
x_361 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_360);
x_362 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_361);
return x_362;
lean::cnstr_set(x_355, 0, x_351);
lean::cnstr_set_scalar(x_355, sizeof(void*)*1, x_353);
x_356 = x_355;
x_357 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_275, x_356);
x_358 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_267, x_357);
x_359 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_259, x_358);
x_360 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_150, x_359);
x_361 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_360);
x_362 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_361);
x_363 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_362);
x_364 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_363);
return x_364;
}
}
else
{
obj* x_366; uint8 x_368; obj* x_369; obj* x_370; obj* x_371; obj* x_372; obj* x_373; obj* x_374; obj* x_375; obj* x_376; obj* x_377; obj* x_378;
obj* x_368; uint8 x_370; obj* x_371; obj* x_372; obj* x_373; obj* x_374; obj* x_375; obj* x_376; obj* x_377; obj* x_378; obj* x_379; obj* x_380;
lean::dec(x_6);
lean::dec(x_1);
lean::dec(x_262);
x_366 = lean::cnstr_get(x_269, 0);
x_368 = lean::cnstr_get_scalar<uint8>(x_269, sizeof(void*)*1);
if (lean::is_exclusive(x_269)) {
x_369 = x_269;
lean::dec(x_263);
x_368 = lean::cnstr_get(x_270, 0);
x_370 = lean::cnstr_get_scalar<uint8>(x_270, sizeof(void*)*1);
if (lean::is_exclusive(x_270)) {
x_371 = x_270;
} else {
lean::inc(x_366);
lean::dec(x_269);
x_369 = lean::box(0);
lean::inc(x_368);
lean::dec(x_270);
x_371 = lean::box(0);
}
if (lean::is_scalar(x_369)) {
x_370 = lean::alloc_cnstr(1, 1, 1);
if (lean::is_scalar(x_371)) {
x_372 = lean::alloc_cnstr(1, 1, 1);
} else {
x_370 = x_369;
x_372 = x_371;
}
lean::cnstr_set(x_370, 0, x_366);
lean::cnstr_set_scalar(x_370, sizeof(void*)*1, x_368);
x_371 = x_370;
x_372 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_266, x_371);
x_373 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_258, x_372);
x_374 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_150, x_373);
x_375 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_374);
x_376 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_375);
x_377 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_376);
x_378 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_377);
return x_378;
lean::cnstr_set(x_372, 0, x_368);
lean::cnstr_set_scalar(x_372, sizeof(void*)*1, x_370);
x_373 = x_372;
x_374 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_267, x_373);
x_375 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_259, x_374);
x_376 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_150, x_375);
x_377 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_376);
x_378 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_377);
x_379 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_378);
x_380 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_379);
return x_380;
}
}
else
{
obj* x_381; uint8 x_383; obj* x_384; obj* x_385; obj* x_386; obj* x_387; obj* x_388; obj* x_389; obj* x_390; obj* x_391; obj* x_392;
obj* x_383; uint8 x_385; obj* x_386; obj* x_387; obj* x_388; obj* x_389; obj* x_390; obj* x_391; obj* x_392; obj* x_393; obj* x_394;
lean::dec(x_6);
lean::dec(x_1);
x_381 = lean::cnstr_get(x_261, 0);
x_383 = lean::cnstr_get_scalar<uint8>(x_261, sizeof(void*)*1);
if (lean::is_exclusive(x_261)) {
x_384 = x_261;
x_383 = lean::cnstr_get(x_262, 0);
x_385 = lean::cnstr_get_scalar<uint8>(x_262, sizeof(void*)*1);
if (lean::is_exclusive(x_262)) {
x_386 = x_262;
} else {
lean::inc(x_381);
lean::dec(x_261);
x_384 = lean::box(0);
lean::inc(x_383);
lean::dec(x_262);
x_386 = lean::box(0);
}
if (lean::is_scalar(x_384)) {
x_385 = lean::alloc_cnstr(1, 1, 1);
if (lean::is_scalar(x_386)) {
x_387 = lean::alloc_cnstr(1, 1, 1);
} else {
x_385 = x_384;
x_387 = x_386;
}
lean::cnstr_set(x_385, 0, x_381);
lean::cnstr_set_scalar(x_385, sizeof(void*)*1, x_383);
x_386 = x_385;
x_387 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_258, x_386);
x_388 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_150, x_387);
x_389 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_388);
x_390 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_389);
x_391 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_390);
x_392 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_391);
return x_392;
lean::cnstr_set(x_387, 0, x_383);
lean::cnstr_set_scalar(x_387, sizeof(void*)*1, x_385);
x_388 = x_387;
x_389 = l_lean_parser_parsec__t_bind__mk__res___rarg(x_259, x_388);
x_390 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_150, x_389);
x_391 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_390);
x_392 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_391);
x_393 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_392);
x_394 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_393);
return x_394;
}
}
else
{
obj* x_395; uint8 x_397; obj* x_398; obj* x_399; obj* x_400; obj* x_401; obj* x_402; obj* x_403; obj* x_404; obj* x_405;
obj* x_397; uint8 x_399; obj* x_400; obj* x_401; obj* x_402; obj* x_403; obj* x_404; obj* x_405; obj* x_406; obj* x_407;
lean::dec(x_6);
lean::dec(x_1);
x_395 = lean::cnstr_get(x_255, 0);
x_397 = lean::cnstr_get_scalar<uint8>(x_255, sizeof(void*)*1);
if (lean::is_exclusive(x_255)) {
x_398 = x_255;
x_397 = lean::cnstr_get(x_256, 0);
x_399 = lean::cnstr_get_scalar<uint8>(x_256, sizeof(void*)*1);
if (lean::is_exclusive(x_256)) {
x_400 = x_256;
} else {
lean::inc(x_395);
lean::dec(x_255);
x_398 = lean::box(0);
lean::inc(x_397);
lean::dec(x_256);
x_400 = lean::box(0);
}
if (lean::is_scalar(x_398)) {
x_399 = lean::alloc_cnstr(1, 1, 1);
if (lean::is_scalar(x_400)) {
x_401 = lean::alloc_cnstr(1, 1, 1);
} else {
x_399 = x_398;
x_401 = x_400;
}
lean::cnstr_set(x_399, 0, x_395);
lean::cnstr_set_scalar(x_399, sizeof(void*)*1, x_397);
x_400 = x_399;
x_401 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_150, x_400);
x_402 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_401);
x_403 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_402);
x_404 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_403);
x_405 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_404);
return x_405;
lean::cnstr_set(x_401, 0, x_397);
lean::cnstr_set_scalar(x_401, sizeof(void*)*1, x_399);
x_402 = x_401;
x_403 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_150, x_402);
x_404 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_403);
x_405 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_404);
x_406 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_405);
x_407 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_406);
return x_407;
}
}
else
{
obj* x_410; obj* x_411; obj* x_412; obj* x_413;
obj* x_412; obj* x_413; obj* x_414; obj* x_415;
lean::dec(x_6);
lean::dec(x_1);
lean::dec(x_2);
lean::dec(x_150);
x_410 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_149);
x_411 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_410);
x_412 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_411);
x_413 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_412);
return x_413;
x_412 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_109, x_149);
x_413 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_70, x_412);
x_414 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_33, x_413);
x_415 = l_lean_parser_parsec__t_orelse__mk__res___rarg(x_29, x_414);
return x_415;
}
}
}
@ -1926,13 +1928,13 @@ return x_413;
}
else
{
obj* x_414; obj* x_415;
x_414 = l_lean_parser_parsec_result_mk__eps___rarg___closed__1;
x_415 = lean::alloc_cnstr(0, 3, 0);
lean::cnstr_set(x_415, 0, x_1);
lean::cnstr_set(x_415, 1, x_2);
lean::cnstr_set(x_415, 2, x_414);
return x_415;
obj* x_416; obj* x_417;
x_416 = l_lean_parser_parsec_result_mk__eps___rarg___closed__1;
x_417 = lean::alloc_cnstr(0, 3, 0);
lean::cnstr_set(x_417, 0, x_1);
lean::cnstr_set(x_417, 1, x_2);
lean::cnstr_set(x_417, 2, x_416);
return x_417;
}
}
}

View file

@ -24,6 +24,7 @@ obj* l_lean_parser_command__parser__config__coe__parser__config___boxed(obj*);
obj* l_lean_parser_parser__core__t_lean_parser_monad__parsec(obj*);
obj* l_rbnode_ins___main___at_lean_parser_token__map_insert___spec__5___rarg(obj*, obj*, obj*);
obj* l_lean_parser_trailing__term__parser;
obj* l_id___boxed(obj*);
obj* l_lean_parser_parser__t_monad__except___boxed(obj*, obj*);
obj* l_lean_parser_monad__basic__parser;
obj* l_lean_parser_parser__core__t;
@ -43,7 +44,6 @@ extern obj* l_mjoin___rarg___closed__1;
obj* l_lean_parser_token__map__cons_tokens___boxed(obj*, obj*, obj*, obj*);
obj* l_lean_parser_basic__parser__m_monad;
obj* l_list_mfoldl___main___at_lean_parser_mk__token__trie___spec__1(obj*, obj*);
obj* l_id_monad___lambda__1(obj*, obj*, obj*, obj*);
obj* l_list_mfoldl___main___at_lean_parser_mk__token__trie___spec__1___closed__2;
obj* l_rbmap_find___main___at_lean_parser_token__map_insert___spec__1___rarg(obj*, obj*);
obj* l_lean_parser_command__parser__m;
@ -63,6 +63,7 @@ obj* l_lean_parser_command__parser__m_monad__reader__adapter(obj*, obj*);
obj* l_rbnode_insert___at_lean_parser_token__map_insert___spec__8___boxed(obj*);
uint8 l_lean_parser_syntax_is__of__kind___main(obj*, obj*);
obj* l_rbnode_ins___main___at_lean_parser_token__map_insert___spec__5(obj*);
obj* l_id___rarg___boxed(obj*);
obj* l_rbnode_ins___main___at_lean_parser_token__map_insert___spec__9___rarg(obj*, obj*, obj*);
obj* l_lean_parser_has__tokens_inhabited___boxed(obj*, obj*);
obj* l_lean_parser_command__parser__m_basic__parser___rarg(obj*, obj*, obj*, obj*, obj*, obj*, obj*);
@ -102,7 +103,6 @@ obj* l_rbmap_insert___main___at_lean_parser_token__map_insert___spec__7___boxed(
obj* l_lean_parser_parser__core__t_alternative(obj*);
obj* l_rbnode_find___main___at_lean_parser_token__map_insert___spec__2___rarg(obj*, obj*);
obj* l_rbnode_insert___at_lean_parser_token__map_insert___spec__8(obj*);
obj* l_id_bind(obj*, obj*);
obj* l_lean_parser_token__map_of__list(obj*);
obj* l_lean_parser_command__parser__m_lean_parser_monad__parsec___closed__1;
obj* l_lean_parser_parser__core__t_monad___boxed(obj*);
@ -128,7 +128,6 @@ uint8 nat_dec_eq(obj*, obj*);
obj* l_lean_parser_token__map__cons_tokens___rarg(obj*, obj*);
obj* l_lean_parser_command__parser__m_basic__parser(obj*);
obj* l_lean_parser_term__parser__m_lean_parser_monad__parsec;
obj* l_id(obj*);
obj* l_rbnode_ins___main___at_lean_parser_token__map_insert___spec__5___boxed(obj*);
obj* l_lean_parser_parser__core__t_monad___rarg(obj*);
obj* l_lean_parser_basic__parser__m_monad__reader;
@ -138,7 +137,6 @@ obj* l_lean_parser_trailing__term__parser__m;
obj* l_lean_parser_tokens___rarg___boxed(obj*);
obj* l_rbmap_find___main___at_lean_parser_token__map_insert___spec__1___rarg___boxed(obj*, obj*);
extern obj* l_string_join___closed__1;
obj* l_id___rarg(obj*);
obj* l_lean_parser_list_nil_tokens___boxed(obj*);
obj* l_lean_parser_monad__rec_trans___rarg___boxed(obj*, obj*, obj*, obj*);
obj* l_lean_parser_command__parser__m_alternative___boxed(obj*);
@ -157,7 +155,6 @@ obj* l_rbmap_insert___main___at_lean_parser_token__map_insert___spec__3(obj*);
obj* l_lean_parser_run___rarg___closed__1;
obj* l_lean_parser_command__parser__config__coe__parser__config(obj*);
obj* l_lean_parser_try__view___rarg(obj*, obj*, obj*);
obj* l_id_monad___lambda__3(obj*, obj*, obj*, obj*);
obj* l_reader__t_monad__reader__adapter___boxed(obj*, obj*, obj*, obj*, obj*);
obj* l_lean_parser_mk__token__trie___closed__1;
obj* l_lean_parser_has__view_default___boxed(obj*);
@ -169,6 +166,7 @@ obj* l_lean_parser_parsec_message_text___rarg(obj*);
namespace lean {
obj* string_iterator_offset(obj*);
}
obj* l_id_monad___lambda__1___boxed(obj*, obj*, obj*, obj*);
obj* l_lean_parser_list_cons_tokens___rarg___boxed(obj*, obj*);
obj* l_lean_parser_token__map_of__list___main(obj*);
obj* l_rbnode_ins___main___at_lean_parser_token__map_insert___spec__10___rarg(obj*, obj*, obj*);
@ -209,6 +207,7 @@ obj* l_lean_parser_parser__config__coe(obj*);
obj* l_lean_parser_try__view___boxed(obj*);
obj* l_lean_parser_parser__core__t_lean_parser_monad__parsec___rarg(obj*);
obj* l_lean_parser_log__message___boxed(obj*, obj*, obj*);
obj* l_has__monad__lift__t__trans___rarg___boxed(obj*, obj*, obj*, obj*);
obj* l_lean_parser_parsec__t_run___at_lean_parser_run___spec__1___rarg___boxed(obj*, obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_lean_parser_parser__t_monad__except___rarg(obj*);
obj* l_rbnode_find___main___at_lean_parser_token__map_insert___spec__2___rarg___boxed(obj*, obj*);
@ -216,9 +215,9 @@ obj* l_reader__t_monad___rarg(obj*);
obj* l_lean_parser_trailing__term__parser__m_alternative;
obj* l_lean_parser_basic__parser;
obj* l_nat_repr(obj*);
obj* l_has__monad__lift__t__trans___rarg(obj*, obj*, obj*, obj*);
obj* l_rbnode_ins___main___at_lean_parser_token__map_insert___spec__6___boxed(obj*);
obj* l_lean_parser_command__parser__m_monad___boxed(obj*);
obj* l_id_bind___boxed(obj*, obj*);
obj* l_lean_parser_parser__t_monad___boxed(obj*, obj*);
obj* l_lean_parser_command__parser__m_lean_parser_monad__rec___closed__1;
obj* l_lean_parser_term__parser__m_lean_parser_monad__rec;
@ -227,7 +226,6 @@ obj* l_rbnode_ins___main___at_lean_parser_token__map_insert___spec__10(obj*);
obj* l_lean_parser_token__map_insert(obj*);
obj* l_lean_parser_parsec__t_run___at_lean_parser_run___spec__1(obj*);
obj* l_rbmap_insert___main___at_lean_parser_token__map_insert___spec__3___boxed(obj*);
obj* l_id_monad___lambda__2(obj*, obj*, obj*, obj*);
obj* l_lean_parser_trailing__term__parser__m_lean_parser_monad__rec;
obj* l_lean_parser_parser__t_monad__reader(obj*, obj*);
obj* l_lean_file__map_to__position(obj*, obj*);
@ -248,7 +246,9 @@ obj* l_lean_parser_tokens(obj*, obj*);
obj* l_lean_parser_term__parser;
obj* l_lean_parser_term__parser__m_monad__reader;
obj* l_lean_parser_log__message(obj*, obj*, obj*);
obj* l_id_monad___lambda__2___boxed(obj*, obj*, obj*, obj*);
obj* l_lean_parser_command__parser__m_alternative(obj*);
obj* l_id_monad___lambda__3___boxed(obj*, obj*, obj*, obj*);
obj* l_lean_parser_run___rarg___lambda__1(obj*, obj*, obj*, obj*);
obj* l_lean_parser_command__parser__m_monad__reader___boxed(obj*);
obj* l_rbnode_set__black___main___rarg(obj*);
@ -557,22 +557,22 @@ obj* _init_l_lean_parser_basic__parser__m_monad() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -584,22 +584,22 @@ obj* _init_l_lean_parser_basic__parser__m_alternative() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -611,22 +611,22 @@ obj* _init_l_lean_parser_basic__parser__m_monad__reader() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -638,22 +638,22 @@ obj* _init_l_lean_parser_basic__parser__m_lean_parser_monad__parsec() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -665,22 +665,22 @@ obj* _init_l_lean_parser_basic__parser__m_monad__except() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -1584,22 +1584,22 @@ obj* _init_l_lean_parser_command__parser__m_monad___closed__1() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10; obj* x_11; obj* x_12;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -1630,22 +1630,22 @@ obj* _init_l_lean_parser_command__parser__m_alternative___closed__1() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_11; obj* x_13; obj* x_14; obj* x_15; obj* x_16;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -1680,22 +1680,22 @@ obj* _init_l_lean_parser_command__parser__m_monad__reader___closed__1() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10; obj* x_11; obj* x_12;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -1727,22 +1727,22 @@ obj* _init_l_lean_parser_command__parser__m_lean_parser_monad__parsec___closed__
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_11; obj* x_13; obj* x_15; obj* x_17; obj* x_18; obj* x_19; obj* x_20;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -1789,22 +1789,22 @@ obj* _init_l_lean_parser_command__parser__m_monad__except___closed__1() {
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10; obj* x_11; obj* x_12;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -1835,22 +1835,22 @@ obj* _init_l_lean_parser_command__parser__m_lean_parser_monad__rec___closed__1()
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10; obj* x_12; obj* x_14; obj* x_15; obj* x_16;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -1900,22 +1900,22 @@ obj* _init_l_lean_parser_command__parser__m_monad__reader__adapter___closed__1()
_start:
{
obj* x_0; obj* x_1; obj* x_4; obj* x_5; obj* x_6; obj* x_7; obj* x_8; obj* x_9; obj* x_10; obj* x_11; obj* x_12;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2), 4, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__1___boxed), 4, 0);
x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__2___boxed), 4, 0);
lean::inc(x_1);
lean::inc(x_0);
x_4 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_4, 0, x_0);
lean::cnstr_set(x_4, 1, x_1);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3), 4, 0);
x_5 = lean::alloc_closure(reinterpret_cast<void*>(l_id___boxed), 1, 0);
x_6 = lean::alloc_closure(reinterpret_cast<void*>(l_id_monad___lambda__3___boxed), 4, 0);
x_7 = lean::alloc_cnstr(0, 5, 0);
lean::cnstr_set(x_7, 0, x_4);
lean::cnstr_set(x_7, 1, x_5);
lean::cnstr_set(x_7, 2, x_0);
lean::cnstr_set(x_7, 3, x_1);
lean::cnstr_set(x_7, 4, x_6);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind), 2, 0);
x_8 = lean::alloc_closure(reinterpret_cast<void*>(l_id_bind___boxed), 2, 0);
x_9 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_9, 0, x_7);
lean::cnstr_set(x_9, 1, x_8);
@ -2050,10 +2050,10 @@ x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_reader__t_lift___boxed), 4,
lean::closure_set(x_1, 0, lean::box(0));
lean::closure_set(x_1, 1, lean::box(0));
lean::closure_set(x_1, 2, x_0);
x_2 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg), 1, 0);
x_2 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg___boxed), 1, 0);
x_3 = lean::alloc_closure(reinterpret_cast<void*>(l_lean_parser_command__parser__m_basic__parser___rarg___boxed), 7, 1);
lean::closure_set(x_3, 0, x_2);
x_4 = lean::alloc_closure(reinterpret_cast<void*>(l_has__monad__lift__t__trans___rarg), 4, 2);
x_4 = lean::alloc_closure(reinterpret_cast<void*>(l_has__monad__lift__t__trans___rarg___boxed), 4, 2);
lean::closure_set(x_4, 0, x_1);
lean::closure_set(x_4, 1, x_3);
return x_4;
@ -2160,7 +2160,7 @@ lean::closure_set(x_1, 0, lean::box(0));
lean::closure_set(x_1, 1, lean::box(0));
lean::closure_set(x_1, 2, x_0);
x_2 = l_lean_parser_term__parser__m_lean_parser_monad__basic__parser;
x_3 = lean::alloc_closure(reinterpret_cast<void*>(l_has__monad__lift__t__trans___rarg), 4, 2);
x_3 = lean::alloc_closure(reinterpret_cast<void*>(l_has__monad__lift__t__trans___rarg___boxed), 4, 2);
lean::closure_set(x_3, 0, x_1);
lean::closure_set(x_3, 1, x_2);
return x_3;

View file

@ -26,6 +26,7 @@ obj* l_lean_parser_level_app_has__view_x_27___lambda__2(obj*);
obj* l_lean_parser_monad__parsec_error___at_lean_parser_level_trailing_parser_lean_parser_has__tokens___spec__2(obj*);
extern obj* l_lean_parser_number_has__view_x_27___lambda__2___closed__1;
obj* l_lean_parser_number_parser___at_lean_parser_level_leading_parser_lean_parser_has__tokens___spec__2___rarg(obj*, obj*, obj*);
obj* l_has__monad__lift__t__refl___boxed(obj*, obj*);
obj* l_lean_parser_trailing__level__parser__m_lean_parser_monad__parsec;
obj* l_lean_parser_level_add__lit_parser_lean_parser_has__tokens;
obj* l_lean_parser_level_trailing_has__view_x_27___lambda__1___closed__1;
@ -41,7 +42,6 @@ extern obj* l_mjoin___rarg___closed__1;
extern obj* l_lean_parser_basic__parser__m_monad;
obj* l_lean_parser_level_app;
obj* l_lean_parser_number_parser___at_lean_parser_level_add__lit_parser_lean_parser_has__tokens___spec__2(obj*, obj*);
obj* l_has__monad__lift__t__refl(obj*, obj*);
obj* l_list_mfoldl___main___at_lean_parser_level_paren_parser___spec__2(obj*, obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_lean_parser_trailing__level__parser__coe___boxed(obj*, obj*, obj*, obj*, obj*, obj*);
obj* l___private_init_lean_parser_rec_1__run__aux___at_lean_parser_level__parser_run___spec__7___boxed(obj*, obj*, obj*, obj*, obj*, obj*, obj*);
@ -68,6 +68,7 @@ obj* l_lean_parser_level_add__lit_has__view_x_27___lambda__1___closed__1;
extern obj* l___private_init_lean_parser_combinators_1__many1__aux___main___rarg___closed__1;
obj* l_lean_parser_combinators_choice__aux___main___at_lean_parser_level_trailing_parser_lean_parser_has__tokens___spec__1(obj*, obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_lean_parser_level_trailing_parser_lean_parser_has__tokens;
obj* l_id___rarg___boxed(obj*);
obj* l_lean_parser_level_paren_has__view_x_27___lambda__1___closed__1;
obj* l_lean_parser_curr__lbp___at_lean_parser_level__parser_run___spec__4(obj*, obj*, obj*, obj*);
obj* l_lean_parser_combinators_choice__aux___main___at_lean_parser_level_leading_parser_lean_parser_has__tokens___spec__4(obj*, obj*, obj*, obj*, obj*, obj*);
@ -144,7 +145,6 @@ extern obj* l_lean_parser_finish__comment__block___closed__2;
obj* l_lean_parser_number_parser___at_lean_parser_level_add__lit_parser_lean_parser_has__tokens___spec__2___boxed(obj*, obj*);
extern obj* l_string_join___closed__1;
obj* l_lean_parser_level_leading_parser(obj*, obj*, obj*, obj*);
obj* l_id___rarg(obj*);
obj* l_lean_parser_monad__rec_trans___rarg___boxed(obj*, obj*, obj*, obj*);
obj* l_reader__t_read___rarg(obj*, obj*);
extern obj* l_lean_parser_max__prec;
@ -200,12 +200,12 @@ obj* l_string_trim(obj*);
obj* l_list_mfoldl___main___at_lean_parser_level_app_parser___spec__2(obj*, obj*, obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_option_get___main___at_lean_parser_run___spec__2(obj*);
extern obj* l_lean_parser_curr__lbp___rarg___lambda__3___closed__1;
obj* l_has__monad__lift__t__trans___rarg___boxed(obj*, obj*, obj*, obj*);
obj* l_lean_parser_ident_parser___at_lean_parser_level_leading_parser_lean_parser_has__tokens___spec__3___rarg(obj*, obj*, obj*);
obj* l_reader__t_monad___rarg(obj*);
obj* l_lean_parser_monad__parsec_error___at_lean_parser_level_leading_parser_lean_parser_has__tokens___spec__5___rarg___boxed(obj*, obj*, obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_lean_parser_level_leading_has__view_x_27___lambda__1___closed__5;
extern "C" obj* lean_name_mk_numeral(obj*, obj*);
obj* l_has__monad__lift__t__trans___rarg(obj*, obj*, obj*, obj*);
obj* l_lean_parser_level_add__lit_has__view;
obj* l_lean_parser_monad__parsec_error___at_lean_parser_level_trailing_parser_lean_parser_has__tokens___spec__2___rarg(obj*, obj*, obj*, obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_lean_parser_level_app_parser(obj*, obj*, obj*, obj*, obj*);
@ -319,9 +319,9 @@ x_1 = lean::alloc_closure(reinterpret_cast<void*>(l_reader__t_lift___boxed), 4,
lean::closure_set(x_1, 0, lean::box(0));
lean::closure_set(x_1, 1, lean::box(0));
lean::closure_set(x_1, 2, x_0);
x_2 = lean::alloc_closure(reinterpret_cast<void*>(l_has__monad__lift__t__refl), 2, 1);
x_2 = lean::alloc_closure(reinterpret_cast<void*>(l_has__monad__lift__t__refl___boxed), 2, 1);
lean::closure_set(x_2, 0, lean::box(0));
x_3 = lean::alloc_closure(reinterpret_cast<void*>(l_has__monad__lift__t__trans___rarg), 4, 2);
x_3 = lean::alloc_closure(reinterpret_cast<void*>(l_has__monad__lift__t__trans___rarg___boxed), 4, 2);
lean::closure_set(x_3, 0, x_1);
lean::closure_set(x_3, 1, x_2);
return x_3;
@ -428,7 +428,7 @@ lean::closure_set(x_1, 0, lean::box(0));
lean::closure_set(x_1, 1, lean::box(0));
lean::closure_set(x_1, 2, x_0);
x_2 = l_lean_parser_level__parser__m_lean_parser_monad__basic__parser;
x_3 = lean::alloc_closure(reinterpret_cast<void*>(l_has__monad__lift__t__trans___rarg), 4, 2);
x_3 = lean::alloc_closure(reinterpret_cast<void*>(l_has__monad__lift__t__trans___rarg___boxed), 4, 2);
lean::closure_set(x_3, 0, x_1);
lean::closure_set(x_3, 1, x_2);
return x_3;
@ -620,7 +620,7 @@ obj* _init_l_lean_parser_level_lean_parser_has__view() {
_start:
{
obj* x_0; obj* x_2;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg), 1, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg___boxed), 1, 0);
lean::inc(x_0);
x_2 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_2, 0, x_0);
@ -6081,7 +6081,7 @@ obj* _init_l_lean_parser_level__parser_run_lean_parser_has__view___closed__1() {
_start:
{
obj* x_0;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_has__monad__lift__t__refl), 2, 1);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_has__monad__lift__t__refl___boxed), 2, 1);
lean::closure_set(x_0, 0, lean::box(0));
return x_0;
}

View file

@ -202,6 +202,7 @@ obj* l_lean_parser_monad__parsec_error___at_lean_parser_monad__parsec_take__unti
obj* l_lean_parser_monad__parsec_error___at_lean_parser_monad__parsec_upper___spec__1___boxed(obj*, obj*, obj*);
obj* l_lean_parser_monad__parsec_lookahead___boxed(obj*, obj*, obj*);
obj* l___private_init_lean_parser_parsec_2__take__aux___rarg(obj*, obj*, obj*);
obj* l_id___rarg___boxed(obj*);
obj* l_string_quote(obj*);
obj* l_lean_parser_parsec__t_try___rarg___boxed(obj*, obj*, obj*, obj*, obj*);
obj* l_lean_parser_monad__parsec_eoi__error___rarg___closed__1;
@ -437,7 +438,6 @@ obj* l_lean_parser_monad__parsec_error___at_lean_parser_monad__parsec_any___spec
obj* l_lean_parser_parsec__t_has__monad__lift___boxed(obj*);
obj* l___private_init_lean_parser_parsec_6__take__while__aux_x_27___main___at_lean_parser_monad__parsec_whitespace___spec__2___rarg___boxed(obj*, obj*, obj*);
obj* l_lean_parser_monad__parsec_alpha(obj*, obj*);
obj* l_id___rarg(obj*);
obj* l_lean_parser_monad__parsec_foldr__aux___main___rarg(obj*, obj*, obj*, obj*, obj*);
obj* l_lean_parser_monad__parsec_sep__by1___rarg(obj*, obj*, obj*, obj*, obj*, obj*, obj*);
obj* l_list_mfoldr___main___at_lean_parser_monad__parsec_longest__match___spec__2___rarg___lambda__1(obj*, obj*, obj*, obj*);
@ -1202,7 +1202,7 @@ obj* _init_l_lean_parser_parsec_result_mk__eps___rarg___closed__1() {
_start:
{
obj* x_0; obj* x_1;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg), 1, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg___boxed), 1, 0);
x_1 = lean::alloc_cnstr(1, 1, 0);
lean::cnstr_set(x_1, 0, x_0);
return x_1;

View file

@ -952,7 +952,7 @@ return x_2;
obj* l_lean_parser_parse__quoted__char___rarg___lambda__1(obj* x_0, obj* x_1, obj* x_2, obj* x_3, obj* x_4) {
_start:
{
obj* x_5; obj* x_8; obj* x_11; obj* x_12; obj* x_13; obj* x_15; obj* x_17; obj* x_19; obj* x_21; uint32 x_23; obj* x_24; obj* x_25;
obj* x_5; obj* x_8; obj* x_11; obj* x_12; obj* x_13; obj* x_15; obj* x_17; obj* x_19; obj* x_21; uint32 x_23; obj* x_25; obj* x_26;
x_5 = lean::cnstr_get(x_0, 0);
lean::inc(x_5);
lean::dec(x_0);
@ -972,9 +972,10 @@ lean::dec(x_17);
x_21 = lean::nat_add(x_19, x_4);
lean::dec(x_19);
x_23 = l_char_of__nat(x_21);
x_24 = lean::box_uint32(x_23);
x_25 = lean::apply_2(x_8, lean::box(0), x_24);
return x_25;
lean::dec(x_21);
x_25 = lean::box_uint32(x_23);
x_26 = lean::apply_2(x_8, lean::box(0), x_25);
return x_26;
}
}
obj* l_lean_parser_parse__quoted__char___rarg___lambda__2(obj* x_0, obj* x_1, obj* x_2, obj* x_3, obj* x_4, obj* x_5) {
@ -1024,7 +1025,7 @@ return x_7;
obj* l_lean_parser_parse__quoted__char___rarg___lambda__5(obj* x_0, obj* x_1, obj* x_2) {
_start:
{
obj* x_3; obj* x_6; obj* x_9; obj* x_10; obj* x_11; uint32 x_13; obj* x_14; obj* x_15;
obj* x_3; obj* x_6; obj* x_9; obj* x_10; obj* x_11; uint32 x_13; obj* x_15; obj* x_16;
x_3 = lean::cnstr_get(x_0, 0);
lean::inc(x_3);
lean::dec(x_0);
@ -1036,9 +1037,10 @@ x_10 = lean::nat_mul(x_9, x_1);
x_11 = lean::nat_add(x_10, x_2);
lean::dec(x_10);
x_13 = l_char_of__nat(x_11);
x_14 = lean::box_uint32(x_13);
x_15 = lean::apply_2(x_6, lean::box(0), x_14);
return x_15;
lean::dec(x_11);
x_15 = lean::box_uint32(x_13);
x_16 = lean::apply_2(x_6, lean::box(0), x_15);
return x_16;
}
}
obj* l_lean_parser_parse__quoted__char___rarg___lambda__6(obj* x_0, obj* x_1, obj* x_2, obj* x_3) {

View file

@ -242,6 +242,7 @@ obj* l_lean_parser_term_projection_parser_lean_parser_has__view___lambda__1___bo
obj* l_lean_parser_term_tuple_has__view;
obj* l_rbmap_find___main___at___private_init_lean_parser_term_2__leading___spec__3(obj*);
extern obj* l_lean_parser_level_trailing_parser_lean_parser_has__tokens;
obj* l_id___rarg___boxed(obj*);
obj* l___private_init_lean_parser_combinators_3__sep__by_view__aux___main___at_lean_parser_term_match_has__view_x_27___spec__2(obj*);
obj* l_lean_parser_term_if_parser_lean_parser_has__tokens;
obj* l_lean_parser_term_simple__binder_view_to__binder__info___main(obj*);
@ -560,7 +561,6 @@ extern obj* l_string_join___closed__1;
obj* l_lean_parser_term_binders__ext_has__view_x_27___lambda__1___closed__2;
obj* l_lean_parser_term_simple__explicit__binder_has__view_x_27;
obj* l_lean_parser_term_struct__inst__with_has__view_x_27___lambda__2(obj*);
obj* l_id___rarg(obj*);
obj* l_lean_parser_term_projection__spec_has__view_x_27___lambda__1(obj*);
obj* l_lean_parser_term_lambda_parser_lean_parser_has__view;
extern obj* l_lean_parser_ident_parser_view___rarg___lambda__1___closed__1;
@ -3029,7 +3029,7 @@ obj* _init_l_lean_parser_term_lean_parser_has__view() {
_start:
{
obj* x_0; obj* x_2;
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg), 1, 0);
x_0 = lean::alloc_closure(reinterpret_cast<void*>(l_id___rarg___boxed), 1, 0);
lean::inc(x_0);
x_2 = lean::alloc_cnstr(0, 2, 0);
lean::cnstr_set(x_2, 0, x_0);

File diff suppressed because it is too large Load diff