From d46188de54f86c64cef85aaba800f4171ccffcd5 Mon Sep 17 00:00:00 2001 From: Lean stage0 autoupdater <> Date: Sat, 7 Jun 2025 14:27:00 +0000 Subject: [PATCH] chore: update stage0 --- stage0/src/stdlib_flags.h | 2 - stage0/stdlib/Lake/CLI/Main.c | 6 +- stage0/stdlib/Lean/Elab/ParseImportsFast.c | 3908 +++++++++++--------- 3 files changed, 2088 insertions(+), 1828 deletions(-) diff --git a/stage0/src/stdlib_flags.h b/stage0/src/stdlib_flags.h index 1bbdca66f7..79a0e58edd 100644 --- a/stage0/src/stdlib_flags.h +++ b/stage0/src/stdlib_flags.h @@ -1,7 +1,5 @@ #include "util/options.h" -// Dear bot, please update stage 0 - namespace lean { options get_default_options() { options opts; diff --git a/stage0/stdlib/Lake/CLI/Main.c b/stage0/stdlib/Lake/CLI/Main.c index 4fcb5b4979..0850288f49 100644 --- a/stage0/stdlib/Lake/CLI/Main.c +++ b/stage0/stdlib/Lake/CLI/Main.c @@ -264,6 +264,7 @@ static lean_object* l_Lake_lake_checkTest___closed__1; LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lake_lake_queryKind___spec__1(lean_object*, lean_object*); lean_object* l_Lake_Package_pack(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_lakeLongOption___closed__7; +lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__2(lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l_Lake_lake_setupFile___closed__1; LEAN_EXPORT lean_object* l_Lake_CliStateM_runLogIO___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -289,7 +290,6 @@ static lean_object* l_Lake_lake_script_doc___closed__1; LEAN_EXPORT lean_object* l_Lake_lakeLongOption___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_lakeCli___closed__20; static lean_object* l_Lake_lake_checkTest___closed__6; -lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lake_lake_clean___boxed__const__1; lean_object* l_String_posOfAux(lean_object*, uint32_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_lake_env___lambda__1___boxed__const__1; @@ -56116,7 +56116,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = lean_array_mk(x_1); -x_3 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__2(x_2); +x_3 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__2(x_2); return x_3; } } @@ -56301,7 +56301,7 @@ lean_ctor_set(x_30, 1, x_28); x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_17); -x_32 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__2(x_6); +x_32 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__2(x_6); x_33 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7187____closed__5; x_34 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_34, 0, x_33); diff --git a/stage0/stdlib/Lean/Elab/ParseImportsFast.c b/stage0/stdlib/Lean/Elab/ParseImportsFast.c index b236512a6b..d67ebb6b04 100644 --- a/stage0/stdlib/Lean/Elab/ParseImportsFast.c +++ b/stage0/stdlib/Lean/Elab/ParseImportsFast.c @@ -14,42 +14,44 @@ extern "C" { #endif lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5; LEAN_EXPORT lean_object* l_Lean_ParseImports_isIdCont___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_compress(lean_object*); uint32_t lean_string_utf8_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedParser___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeWhile___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__3___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__2(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); LEAN_EXPORT lean_object* l_Lean_instToJsonImport__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_andthen(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758____spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_finishCommentBlock_eoi___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____lambda__1___boxed(lean_object*); +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__1; static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_keyword___spec__1___closed__2; static lean_object* l_Lean_ParseImports_instInhabitedState___closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent_parse(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_isIdRestFast___boxed(lean_object*); static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7(lean_object*, lean_object*, lean_object*); lean_object* l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187____spec__1(lean_object*, lean_object*); extern uint32_t l_Lean_idBeginEscape; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__3(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389_(lean_object*); static lean_object* l_Lean_instToJsonImport__1___closed__1; +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__3; LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_takeWhile___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___closed__3; +LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758____spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_State_pushImport(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_keyword___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6___closed__1; static lean_object* l_Lean_parseImports_x27___closed__1; static lean_object* l_Lean_ParseImports_moduleIdent_parse___closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536_(lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsExported(uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__1(lean_object*, lean_object*); lean_object* lean_string_utf8_next(lean_object*, lean_object*); @@ -57,48 +59,53 @@ LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil(lean_object*, lean_object LEAN_EXPORT lean_object* l_Lean_ParseImports_setImportAll___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent___lambda__1(lean_object*, lean_object*, lean_object*); uint8_t lean_uint32_dec_le(uint32_t, uint32_t); +static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__3; LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedParser___rarg(lean_object*); static lean_object* l_Lean_ParseImports_whitespace___closed__2; LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717_(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keyword___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_whitespace(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_setImportAll(uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_parseImports_x27___closed__3; -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1; +LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____spec__1(lean_object*); static lean_object* l_Lean_ParseImports_moduleIdent_parse___closed__4; -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____lambda__1___boxed(lean_object*); -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5; +static lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__1; +LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_whitespace___spec__1(uint32_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__2; uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_State_next___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__3; LEAN_EXPORT uint8_t l_Lean_ParseImports_isIdCont(lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_keyword___spec__1___closed__1; static lean_object* l_Lean_ParseImports_main___closed__1; -LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__2(lean_object*); +static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__4; LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); uint32_t lean_string_utf8_get_fast(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_finishCommentBlock___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__2; LEAN_EXPORT lean_object* l_Lean_ParseImports_many(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keyword(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430_(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758____spec__2(size_t, size_t, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____lambda__1(lean_object*); static lean_object* l_Lean_ParseImports_State_mkEOIError___closed__2; -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__2; LEAN_EXPORT lean_object* l_Lean_ParseImports_State_mkEOIError(lean_object*); -LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__1(lean_object*); +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__4; LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsExported___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__1(lean_object*); lean_object* l_IO_FS_readFile(lean_object*, lean_object*); uint8_t l_Lean_isLetterLike(uint32_t); -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658_(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__3(size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__1; +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_instAndThenParser(lean_object*, lean_object*, lean_object*, lean_object*); extern uint32_t l_Lean_idEndEscape; LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedParser___rarg___boxed(lean_object*); @@ -107,13 +114,13 @@ LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedParser(lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_State_next_x27(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_State_next_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_isIdRestCold___boxed(lean_object*); -static lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6___closed__2; static lean_object* l_Lean_ParseImports_State_mkEOIError___closed__1; +LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsMeta___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_parseImports_x27___closed__2; static lean_object* l_Lean_ParseImports_moduleIdent___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_IO_println___at_Lean_Environment_displayStats___spec__3(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__2; LEAN_EXPORT lean_object* l_Lean_ParseImports_State_mkError(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_moduleIdent_parse___closed__3; @@ -123,8 +130,9 @@ LEAN_EXPORT lean_object* l_Lean_ParseImports_finishCommentBlock_eoi(lean_object* LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_printImportsJson___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); lean_object* l_Array_shrink___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__3; LEAN_EXPORT lean_object* l_Lean_parseImports_x27(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__3; +static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__1; LEAN_EXPORT lean_object* l_Lean_parseImports_x27___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_instInhabitedState___closed__2; LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_keyword___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -133,51 +141,48 @@ static lean_object* l_Lean_ParseImports_main___closed__2; static lean_object* l_Lean_ParseImports_whitespace___closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_finishCommentBlock(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_main(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495_(lean_object*); static lean_object* l_Lean_instToJsonPrintImportResult___closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent(lean_object*, lean_object*); -static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__2; lean_object* lean_string_utf8_next_fast(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instToJsonPrintImportsResult; lean_object* lean_array_mk(lean_object*); -static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__4; size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____lambda__1(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_takeWhile___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____closed__2; LEAN_EXPORT uint8_t l_Lean_ParseImports_isIdRestCold(uint32_t); +LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsMeta(uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_instToJsonParseImportsResult___closed__1; static lean_object* l_Lean_ParseImports_finishCommentBlock_eoi___closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_whitespace___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699_(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4; static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___closed__1; -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__1; lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_State_next(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedState; -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_State_setPos(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeWhile(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instToJsonPrintImportsResult___closed__1; -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__2; LEAN_EXPORT lean_object* lean_print_imports_json(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_ParseImports_moduleIdent_parse___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_printImportsJson___spec__1(size_t, size_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_whitespace___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758_(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__2; LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_ParseImports_isIdRestFast(uint32_t); LEAN_EXPORT lean_object* l_Lean_instToJsonPrintImportResult; @@ -198,13 +203,14 @@ x_1 = lean_box(0); x_2 = l_Lean_ParseImports_instInhabitedState___closed__1; x_3 = lean_unsigned_to_nat(0u); x_4 = 0; -x_5 = lean_alloc_ctor(0, 3, 3); +x_5 = lean_alloc_ctor(0, 3, 4); lean_ctor_set(x_5, 0, x_2); lean_ctor_set(x_5, 1, x_3); lean_ctor_set(x_5, 2, x_1); lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 1, x_4); lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 2, x_4); +lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 3, x_4); return x_5; } } @@ -264,23 +270,25 @@ return x_1; } else { -lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; +lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11; x_5 = lean_ctor_get(x_1, 0); x_6 = lean_ctor_get(x_1, 2); x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 1); x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 2); +x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 3); lean_inc(x_6); lean_inc(x_5); lean_dec(x_1); -x_10 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_10, 0, x_5); -lean_ctor_set(x_10, 1, x_2); -lean_ctor_set(x_10, 2, x_6); -lean_ctor_set_uint8(x_10, sizeof(void*)*3, x_7); -lean_ctor_set_uint8(x_10, sizeof(void*)*3 + 1, x_8); -lean_ctor_set_uint8(x_10, sizeof(void*)*3 + 2, x_9); -return x_10; +x_11 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 1, x_2); +lean_ctor_set(x_11, 2, x_6); +lean_ctor_set_uint8(x_11, sizeof(void*)*3, x_7); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 3, x_10); +return x_11; } } } @@ -301,25 +309,27 @@ return x_1; } else { -lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; x_6 = lean_ctor_get(x_1, 0); x_7 = lean_ctor_get(x_1, 1); x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 1); x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 2); +x_11 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 3); lean_inc(x_7); lean_inc(x_6); lean_dec(x_1); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_2); -x_12 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_12, 0, x_6); -lean_ctor_set(x_12, 1, x_7); -lean_ctor_set(x_12, 2, x_11); -lean_ctor_set_uint8(x_12, sizeof(void*)*3, x_8); -lean_ctor_set_uint8(x_12, sizeof(void*)*3 + 1, x_9); -lean_ctor_set_uint8(x_12, sizeof(void*)*3 + 2, x_10); -return x_12; +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_2); +x_13 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_7); +lean_ctor_set(x_13, 2, x_12); +lean_ctor_set_uint8(x_13, sizeof(void*)*3, x_8); +lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 1, x_9); +lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 2, x_10); +lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 3, x_11); +return x_13; } } } @@ -357,24 +367,26 @@ return x_1; } else { -lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; x_5 = lean_ctor_get(x_1, 0); x_6 = lean_ctor_get(x_1, 1); x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 1); x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 2); +x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 3); lean_inc(x_6); lean_inc(x_5); lean_dec(x_1); -x_10 = l_Lean_ParseImports_State_mkEOIError___closed__2; -x_11 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_11, 0, x_5); -lean_ctor_set(x_11, 1, x_6); -lean_ctor_set(x_11, 2, x_10); -lean_ctor_set_uint8(x_11, sizeof(void*)*3, x_7); -lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 1, x_8); -lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 2, x_9); -return x_11; +x_11 = l_Lean_ParseImports_State_mkEOIError___closed__2; +x_12 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_12, 0, x_5); +lean_ctor_set(x_12, 1, x_6); +lean_ctor_set(x_12, 2, x_11); +lean_ctor_set_uint8(x_12, sizeof(void*)*3, x_7); +lean_ctor_set_uint8(x_12, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_12, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_12, sizeof(void*)*3 + 3, x_10); +return x_12; } } } @@ -394,24 +406,26 @@ return x_1; } else { -lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; x_7 = lean_ctor_get(x_1, 0); x_8 = lean_ctor_get(x_1, 2); x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 1); x_11 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 2); +x_12 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 3); lean_inc(x_8); lean_inc(x_7); lean_dec(x_1); -x_12 = lean_string_utf8_next(x_2, x_3); -x_13 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_13, 0, x_7); -lean_ctor_set(x_13, 1, x_12); -lean_ctor_set(x_13, 2, x_8); -lean_ctor_set_uint8(x_13, sizeof(void*)*3, x_9); -lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 1, x_10); -lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 2, x_11); -return x_13; +x_13 = lean_string_utf8_next(x_2, x_3); +x_14 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set(x_14, 2, x_8); +lean_ctor_set_uint8(x_14, sizeof(void*)*3, x_9); +lean_ctor_set_uint8(x_14, sizeof(void*)*3 + 1, x_10); +lean_ctor_set_uint8(x_14, sizeof(void*)*3 + 2, x_11); +lean_ctor_set_uint8(x_14, sizeof(void*)*3 + 3, x_12); +return x_14; } } } @@ -441,24 +455,26 @@ return x_1; } else { -lean_object* x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; x_8 = lean_ctor_get(x_1, 0); x_9 = lean_ctor_get(x_1, 2); x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); x_11 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 1); x_12 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 2); +x_13 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 3); lean_inc(x_9); lean_inc(x_8); lean_dec(x_1); -x_13 = lean_string_utf8_next_fast(x_2, x_3); -x_14 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_14, 0, x_8); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set(x_14, 2, x_9); -lean_ctor_set_uint8(x_14, sizeof(void*)*3, x_10); -lean_ctor_set_uint8(x_14, sizeof(void*)*3 + 1, x_11); -lean_ctor_set_uint8(x_14, sizeof(void*)*3 + 2, x_12); -return x_14; +x_14 = lean_string_utf8_next_fast(x_2, x_3); +x_15 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_15, 0, x_8); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_15, 2, x_9); +lean_ctor_set_uint8(x_15, sizeof(void*)*3, x_10); +lean_ctor_set_uint8(x_15, sizeof(void*)*3 + 1, x_11); +lean_ctor_set_uint8(x_15, sizeof(void*)*3 + 2, x_12); +lean_ctor_set_uint8(x_15, sizeof(void*)*3 + 3, x_13); +return x_15; } } } @@ -506,31 +522,33 @@ return x_1; } else { -lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; x_5 = lean_ctor_get(x_1, 0); x_6 = lean_ctor_get(x_1, 1); x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 1); x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 2); +x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 3); lean_inc(x_6); lean_inc(x_5); lean_dec(x_1); -x_10 = l_Lean_ParseImports_finishCommentBlock_eoi___closed__2; -x_11 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_11, 0, x_5); -lean_ctor_set(x_11, 1, x_6); -lean_ctor_set(x_11, 2, x_10); -lean_ctor_set_uint8(x_11, sizeof(void*)*3, x_7); -lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 1, x_8); -lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 2, x_9); -return x_11; +x_11 = l_Lean_ParseImports_finishCommentBlock_eoi___closed__2; +x_12 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_12, 0, x_5); +lean_ctor_set(x_12, 1, x_6); +lean_ctor_set(x_12, 2, x_11); +lean_ctor_set_uint8(x_12, sizeof(void*)*3, x_7); +lean_ctor_set_uint8(x_12, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_12, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_12, sizeof(void*)*3 + 3, x_10); +return x_12; } } } LEAN_EXPORT lean_object* l_Lean_ParseImports_finishCommentBlock(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_3, 1); @@ -540,275 +558,270 @@ lean_inc(x_6); x_7 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); x_8 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); x_9 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); -x_10 = lean_string_utf8_at_end(x_2, x_5); -if (x_10 == 0) +x_10 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); +x_11 = lean_string_utf8_at_end(x_2, x_5); +if (x_11 == 0) { -uint32_t x_11; lean_object* x_12; uint32_t x_13; uint8_t x_14; -x_11 = lean_string_utf8_get_fast(x_2, x_5); -x_12 = lean_string_utf8_next_fast(x_2, x_5); +uint32_t x_12; lean_object* x_13; uint32_t x_14; uint8_t x_15; +x_12 = lean_string_utf8_get_fast(x_2, x_5); +x_13 = lean_string_utf8_next_fast(x_2, x_5); lean_dec(x_5); -x_13 = 45; -x_14 = lean_uint32_dec_eq(x_11, x_13); -if (x_14 == 0) +x_14 = 45; +x_15 = lean_uint32_dec_eq(x_12, x_14); +if (x_15 == 0) { -uint32_t x_15; uint8_t x_16; -x_15 = 47; -x_16 = lean_uint32_dec_eq(x_11, x_15); -if (x_16 == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_3); +uint32_t x_16; uint8_t x_17; +x_16 = 47; +x_17 = lean_uint32_dec_eq(x_12, x_16); if (x_17 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_3, 2); -lean_dec(x_18); -x_19 = lean_ctor_get(x_3, 1); +uint8_t x_18; +x_18 = !lean_is_exclusive(x_3); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_3, 2); lean_dec(x_19); -x_20 = lean_ctor_get(x_3, 0); +x_20 = lean_ctor_get(x_3, 1); lean_dec(x_20); -lean_ctor_set(x_3, 1, x_12); +x_21 = lean_ctor_get(x_3, 0); +lean_dec(x_21); +lean_ctor_set(x_3, 1, x_13); goto _start; } else { -lean_object* x_22; +lean_object* x_23; lean_dec(x_3); -x_22 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_22, 0, x_4); -lean_ctor_set(x_22, 1, x_12); -lean_ctor_set(x_22, 2, x_6); -lean_ctor_set_uint8(x_22, sizeof(void*)*3, x_7); -lean_ctor_set_uint8(x_22, sizeof(void*)*3 + 1, x_8); -lean_ctor_set_uint8(x_22, sizeof(void*)*3 + 2, x_9); -x_3 = x_22; +x_23 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_23, 0, x_4); +lean_ctor_set(x_23, 1, x_13); +lean_ctor_set(x_23, 2, x_6); +lean_ctor_set_uint8(x_23, sizeof(void*)*3, x_7); +lean_ctor_set_uint8(x_23, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_23, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_23, sizeof(void*)*3 + 3, x_10); +x_3 = x_23; goto _start; } } else { -uint8_t x_24; -x_24 = lean_string_utf8_at_end(x_2, x_12); -if (x_24 == 0) -{ uint8_t x_25; -x_25 = !lean_is_exclusive(x_3); +x_25 = lean_string_utf8_at_end(x_2, x_13); if (x_25 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint32_t x_29; uint8_t x_30; -x_26 = lean_ctor_get(x_3, 2); -lean_dec(x_26); -x_27 = lean_ctor_get(x_3, 1); +uint8_t x_26; +x_26 = !lean_is_exclusive(x_3); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint32_t x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 2); lean_dec(x_27); -x_28 = lean_ctor_get(x_3, 0); +x_28 = lean_ctor_get(x_3, 1); lean_dec(x_28); -x_29 = lean_string_utf8_get_fast(x_2, x_12); -x_30 = lean_uint32_dec_eq(x_29, x_13); -if (x_30 == 0) +x_29 = lean_ctor_get(x_3, 0); +lean_dec(x_29); +x_30 = lean_string_utf8_get_fast(x_2, x_13); +x_31 = lean_uint32_dec_eq(x_30, x_14); +if (x_31 == 0) { -lean_ctor_set(x_3, 1, x_12); +lean_ctor_set(x_3, 1, x_13); goto _start; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_unsigned_to_nat(1u); -x_33 = lean_nat_add(x_1, x_32); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_unsigned_to_nat(1u); +x_34 = lean_nat_add(x_1, x_33); lean_dec(x_1); -x_34 = lean_string_utf8_next_fast(x_2, x_12); -lean_dec(x_12); -lean_ctor_set(x_3, 1, x_34); -x_1 = x_33; +x_35 = lean_string_utf8_next_fast(x_2, x_13); +lean_dec(x_13); +lean_ctor_set(x_3, 1, x_35); +x_1 = x_34; goto _start; } } else { -uint32_t x_36; uint8_t x_37; +uint32_t x_37; uint8_t x_38; lean_dec(x_3); -x_36 = lean_string_utf8_get_fast(x_2, x_12); -x_37 = lean_uint32_dec_eq(x_36, x_13); -if (x_37 == 0) +x_37 = lean_string_utf8_get_fast(x_2, x_13); +x_38 = lean_uint32_dec_eq(x_37, x_14); +if (x_38 == 0) { -lean_object* x_38; -x_38 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_38, 0, x_4); -lean_ctor_set(x_38, 1, x_12); -lean_ctor_set(x_38, 2, x_6); -lean_ctor_set_uint8(x_38, sizeof(void*)*3, x_7); -lean_ctor_set_uint8(x_38, sizeof(void*)*3 + 1, x_8); -lean_ctor_set_uint8(x_38, sizeof(void*)*3 + 2, x_9); -x_3 = x_38; +lean_object* x_39; +x_39 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_39, 0, x_4); +lean_ctor_set(x_39, 1, x_13); +lean_ctor_set(x_39, 2, x_6); +lean_ctor_set_uint8(x_39, sizeof(void*)*3, x_7); +lean_ctor_set_uint8(x_39, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_39, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_39, sizeof(void*)*3 + 3, x_10); +x_3 = x_39; goto _start; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_unsigned_to_nat(1u); -x_41 = lean_nat_add(x_1, x_40); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_add(x_1, x_41); lean_dec(x_1); -x_42 = lean_string_utf8_next_fast(x_2, x_12); -lean_dec(x_12); -x_43 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_43, 0, x_4); -lean_ctor_set(x_43, 1, x_42); -lean_ctor_set(x_43, 2, x_6); -lean_ctor_set_uint8(x_43, sizeof(void*)*3, x_7); -lean_ctor_set_uint8(x_43, sizeof(void*)*3 + 1, x_8); -lean_ctor_set_uint8(x_43, sizeof(void*)*3 + 2, x_9); -x_1 = x_41; -x_3 = x_43; +x_43 = lean_string_utf8_next_fast(x_2, x_13); +lean_dec(x_13); +x_44 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_44, 0, x_4); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_6); +lean_ctor_set_uint8(x_44, sizeof(void*)*3, x_7); +lean_ctor_set_uint8(x_44, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_44, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_44, sizeof(void*)*3 + 3, x_10); +x_1 = x_42; +x_3 = x_44; goto _start; } } } else { -lean_object* x_45; -lean_dec(x_12); +lean_object* x_46; +lean_dec(x_13); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -x_45 = l_Lean_ParseImports_finishCommentBlock_eoi(x_3); -return x_45; +x_46 = l_Lean_ParseImports_finishCommentBlock_eoi(x_3); +return x_46; } } } else { -uint8_t x_46; -x_46 = lean_string_utf8_at_end(x_2, x_12); -if (x_46 == 0) -{ uint8_t x_47; -x_47 = !lean_is_exclusive(x_3); +x_47 = lean_string_utf8_at_end(x_2, x_13); if (x_47 == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; uint32_t x_51; uint32_t x_52; uint8_t x_53; -x_48 = lean_ctor_get(x_3, 2); -lean_dec(x_48); -x_49 = lean_ctor_get(x_3, 1); +uint8_t x_48; +x_48 = !lean_is_exclusive(x_3); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint32_t x_52; uint32_t x_53; uint8_t x_54; +x_49 = lean_ctor_get(x_3, 2); lean_dec(x_49); -x_50 = lean_ctor_get(x_3, 0); +x_50 = lean_ctor_get(x_3, 1); lean_dec(x_50); -x_51 = lean_string_utf8_get_fast(x_2, x_12); -x_52 = 47; -x_53 = lean_uint32_dec_eq(x_51, x_52); -if (x_53 == 0) +x_51 = lean_ctor_get(x_3, 0); +lean_dec(x_51); +x_52 = lean_string_utf8_get_fast(x_2, x_13); +x_53 = 47; +x_54 = lean_uint32_dec_eq(x_52, x_53); +if (x_54 == 0) { -lean_object* x_54; -x_54 = lean_string_utf8_next_fast(x_2, x_12); -lean_dec(x_12); -lean_ctor_set(x_3, 1, x_54); +lean_object* x_55; +x_55 = lean_string_utf8_next_fast(x_2, x_13); +lean_dec(x_13); +lean_ctor_set(x_3, 1, x_55); goto _start; } else { -lean_object* x_56; uint8_t x_57; -x_56 = lean_unsigned_to_nat(1u); -x_57 = lean_nat_dec_eq(x_1, x_56); -if (x_57 == 0) +lean_object* x_57; uint8_t x_58; +x_57 = lean_unsigned_to_nat(1u); +x_58 = lean_nat_dec_eq(x_1, x_57); +if (x_58 == 0) { -lean_object* x_58; lean_object* x_59; -x_58 = lean_nat_sub(x_1, x_56); +lean_object* x_59; lean_object* x_60; +x_59 = lean_nat_sub(x_1, x_57); lean_dec(x_1); -x_59 = lean_string_utf8_next_fast(x_2, x_12); -lean_dec(x_12); -lean_ctor_set(x_3, 1, x_59); -x_1 = x_58; +x_60 = lean_string_utf8_next_fast(x_2, x_13); +lean_dec(x_13); +lean_ctor_set(x_3, 1, x_60); +x_1 = x_59; goto _start; } else { -lean_object* x_61; +lean_object* x_62; lean_dec(x_1); -x_61 = lean_string_utf8_next(x_2, x_12); -lean_dec(x_12); -lean_ctor_set(x_3, 1, x_61); +x_62 = lean_string_utf8_next(x_2, x_13); +lean_dec(x_13); +lean_ctor_set(x_3, 1, x_62); return x_3; } } } else { -uint32_t x_62; uint32_t x_63; uint8_t x_64; +uint32_t x_63; uint32_t x_64; uint8_t x_65; lean_dec(x_3); -x_62 = lean_string_utf8_get_fast(x_2, x_12); -x_63 = 47; -x_64 = lean_uint32_dec_eq(x_62, x_63); -if (x_64 == 0) +x_63 = lean_string_utf8_get_fast(x_2, x_13); +x_64 = 47; +x_65 = lean_uint32_dec_eq(x_63, x_64); +if (x_65 == 0) { -lean_object* x_65; lean_object* x_66; -x_65 = lean_string_utf8_next_fast(x_2, x_12); -lean_dec(x_12); -x_66 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_66, 0, x_4); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_6); -lean_ctor_set_uint8(x_66, sizeof(void*)*3, x_7); -lean_ctor_set_uint8(x_66, sizeof(void*)*3 + 1, x_8); -lean_ctor_set_uint8(x_66, sizeof(void*)*3 + 2, x_9); -x_3 = x_66; +lean_object* x_66; lean_object* x_67; +x_66 = lean_string_utf8_next_fast(x_2, x_13); +lean_dec(x_13); +x_67 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_67, 0, x_4); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set(x_67, 2, x_6); +lean_ctor_set_uint8(x_67, sizeof(void*)*3, x_7); +lean_ctor_set_uint8(x_67, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_67, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_67, sizeof(void*)*3 + 3, x_10); +x_3 = x_67; goto _start; } else { -lean_object* x_68; uint8_t x_69; -x_68 = lean_unsigned_to_nat(1u); -x_69 = lean_nat_dec_eq(x_1, x_68); -if (x_69 == 0) +lean_object* x_69; uint8_t x_70; +x_69 = lean_unsigned_to_nat(1u); +x_70 = lean_nat_dec_eq(x_1, x_69); +if (x_70 == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_nat_sub(x_1, x_68); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_nat_sub(x_1, x_69); lean_dec(x_1); -x_71 = lean_string_utf8_next_fast(x_2, x_12); -lean_dec(x_12); -x_72 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_72, 0, x_4); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set(x_72, 2, x_6); -lean_ctor_set_uint8(x_72, sizeof(void*)*3, x_7); -lean_ctor_set_uint8(x_72, sizeof(void*)*3 + 1, x_8); -lean_ctor_set_uint8(x_72, sizeof(void*)*3 + 2, x_9); -x_1 = x_70; -x_3 = x_72; +x_72 = lean_string_utf8_next_fast(x_2, x_13); +lean_dec(x_13); +x_73 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_73, 0, x_4); +lean_ctor_set(x_73, 1, x_72); +lean_ctor_set(x_73, 2, x_6); +lean_ctor_set_uint8(x_73, sizeof(void*)*3, x_7); +lean_ctor_set_uint8(x_73, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_73, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_73, sizeof(void*)*3 + 3, x_10); +x_1 = x_71; +x_3 = x_73; goto _start; } else { -lean_object* x_74; lean_object* x_75; +lean_object* x_75; lean_object* x_76; lean_dec(x_1); -x_74 = lean_string_utf8_next(x_2, x_12); -lean_dec(x_12); -x_75 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_75, 0, x_4); -lean_ctor_set(x_75, 1, x_74); -lean_ctor_set(x_75, 2, x_6); -lean_ctor_set_uint8(x_75, sizeof(void*)*3, x_7); -lean_ctor_set_uint8(x_75, sizeof(void*)*3 + 1, x_8); -lean_ctor_set_uint8(x_75, sizeof(void*)*3 + 2, x_9); -return x_75; -} -} -} -} -else -{ -lean_object* x_76; -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -x_76 = l_Lean_ParseImports_finishCommentBlock_eoi(x_3); +x_75 = lean_string_utf8_next(x_2, x_13); +lean_dec(x_13); +x_76 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_76, 0, x_4); +lean_ctor_set(x_76, 1, x_75); +lean_ctor_set(x_76, 2, x_6); +lean_ctor_set_uint8(x_76, sizeof(void*)*3, x_7); +lean_ctor_set_uint8(x_76, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_76, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_76, sizeof(void*)*3 + 3, x_10); return x_76; } } } +} else { lean_object* x_77; +lean_dec(x_13); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_77 = l_Lean_ParseImports_finishCommentBlock_eoi(x_3); @@ -816,6 +829,18 @@ return x_77; } } } +else +{ +lean_object* x_78; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_78 = l_Lean_ParseImports_finishCommentBlock_eoi(x_3); +return x_78; +} +} +} LEAN_EXPORT lean_object* l_Lean_ParseImports_finishCommentBlock___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -828,7 +853,7 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_3, 1); @@ -838,48 +863,50 @@ lean_inc(x_6); x_7 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); x_8 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); x_9 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); -x_10 = lean_string_utf8_at_end(x_2, x_5); -if (x_10 == 0) +x_10 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); +x_11 = lean_string_utf8_at_end(x_2, x_5); +if (x_11 == 0) { -uint32_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_string_utf8_get_fast(x_2, x_5); -x_12 = lean_box_uint32(x_11); +uint32_t x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_string_utf8_get_fast(x_2, x_5); +x_13 = lean_box_uint32(x_12); lean_inc(x_1); -x_13 = lean_apply_1(x_1, x_12); -x_14 = lean_unbox(x_13); -lean_dec(x_13); -if (x_14 == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_3); +x_14 = lean_apply_1(x_1, x_13); +x_15 = lean_unbox(x_14); +lean_dec(x_14); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_3, 2); -lean_dec(x_16); -x_17 = lean_ctor_get(x_3, 1); +uint8_t x_16; +x_16 = !lean_is_exclusive(x_3); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_3, 2); lean_dec(x_17); -x_18 = lean_ctor_get(x_3, 0); +x_18 = lean_ctor_get(x_3, 1); lean_dec(x_18); -x_19 = lean_string_utf8_next_fast(x_2, x_5); +x_19 = lean_ctor_get(x_3, 0); +lean_dec(x_19); +x_20 = lean_string_utf8_next_fast(x_2, x_5); lean_dec(x_5); -lean_ctor_set(x_3, 1, x_19); +lean_ctor_set(x_3, 1, x_20); goto _start; } else { -lean_object* x_21; lean_object* x_22; +lean_object* x_22; lean_object* x_23; lean_dec(x_3); -x_21 = lean_string_utf8_next_fast(x_2, x_5); +x_22 = lean_string_utf8_next_fast(x_2, x_5); lean_dec(x_5); -x_22 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_22, 0, x_4); -lean_ctor_set(x_22, 1, x_21); -lean_ctor_set(x_22, 2, x_6); -lean_ctor_set_uint8(x_22, sizeof(void*)*3, x_7); -lean_ctor_set_uint8(x_22, sizeof(void*)*3 + 1, x_8); -lean_ctor_set_uint8(x_22, sizeof(void*)*3 + 2, x_9); -x_3 = x_22; +x_23 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_23, 0, x_4); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_6); +lean_ctor_set_uint8(x_23, sizeof(void*)*3, x_7); +lean_ctor_set_uint8(x_23, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_23, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_23, sizeof(void*)*3 + 3, x_10); +x_3 = x_23; goto _start; } } @@ -914,7 +941,7 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_takeWhile___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_3, 1); @@ -924,17 +951,18 @@ lean_inc(x_6); x_7 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); x_8 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); x_9 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); -x_10 = lean_string_utf8_at_end(x_2, x_5); -if (x_10 == 0) +x_10 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); +x_11 = lean_string_utf8_at_end(x_2, x_5); +if (x_11 == 0) { -uint32_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_string_utf8_get_fast(x_2, x_5); -x_12 = lean_box_uint32(x_11); +uint32_t x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_string_utf8_get_fast(x_2, x_5); +x_13 = lean_box_uint32(x_12); lean_inc(x_1); -x_13 = lean_apply_1(x_1, x_12); -x_14 = lean_unbox(x_13); -lean_dec(x_13); -if (x_14 == 0) +x_14 = lean_apply_1(x_1, x_13); +x_15 = lean_unbox(x_14); +lean_dec(x_14); +if (x_15 == 0) { lean_dec(x_6); lean_dec(x_5); @@ -944,36 +972,37 @@ return x_3; } else { -uint8_t x_15; -x_15 = !lean_is_exclusive(x_3); -if (x_15 == 0) +uint8_t x_16; +x_16 = !lean_is_exclusive(x_3); +if (x_16 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_3, 2); -lean_dec(x_16); -x_17 = lean_ctor_get(x_3, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_3, 2); lean_dec(x_17); -x_18 = lean_ctor_get(x_3, 0); +x_18 = lean_ctor_get(x_3, 1); lean_dec(x_18); -x_19 = lean_string_utf8_next_fast(x_2, x_5); +x_19 = lean_ctor_get(x_3, 0); +lean_dec(x_19); +x_20 = lean_string_utf8_next_fast(x_2, x_5); lean_dec(x_5); -lean_ctor_set(x_3, 1, x_19); +lean_ctor_set(x_3, 1, x_20); goto _start; } else { -lean_object* x_21; lean_object* x_22; +lean_object* x_22; lean_object* x_23; lean_dec(x_3); -x_21 = lean_string_utf8_next_fast(x_2, x_5); +x_22 = lean_string_utf8_next_fast(x_2, x_5); lean_dec(x_5); -x_22 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_22, 0, x_4); -lean_ctor_set(x_22, 1, x_21); -lean_ctor_set(x_22, 2, x_6); -lean_ctor_set_uint8(x_22, sizeof(void*)*3, x_7); -lean_ctor_set_uint8(x_22, sizeof(void*)*3 + 1, x_8); -lean_ctor_set_uint8(x_22, sizeof(void*)*3 + 2, x_9); -x_3 = x_22; +x_23 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_23, 0, x_4); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_6); +lean_ctor_set_uint8(x_23, sizeof(void*)*3, x_7); +lean_ctor_set_uint8(x_23, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_23, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_23, sizeof(void*)*3 + 3, x_10); +x_3 = x_23; goto _start; } } @@ -1064,7 +1093,7 @@ return x_5; LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_whitespace___spec__1(uint32_t x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_3, 1); @@ -1074,44 +1103,46 @@ lean_inc(x_6); x_7 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); x_8 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); x_9 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); -x_10 = lean_string_utf8_at_end(x_2, x_5); -if (x_10 == 0) +x_10 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); +x_11 = lean_string_utf8_at_end(x_2, x_5); +if (x_11 == 0) { -uint32_t x_11; uint8_t x_12; -x_11 = lean_string_utf8_get_fast(x_2, x_5); -x_12 = lean_uint32_dec_eq(x_11, x_1); -if (x_12 == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_3); +uint32_t x_12; uint8_t x_13; +x_12 = lean_string_utf8_get_fast(x_2, x_5); +x_13 = lean_uint32_dec_eq(x_12, x_1); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_3, 2); -lean_dec(x_14); -x_15 = lean_ctor_get(x_3, 1); +uint8_t x_14; +x_14 = !lean_is_exclusive(x_3); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_3, 2); lean_dec(x_15); -x_16 = lean_ctor_get(x_3, 0); +x_16 = lean_ctor_get(x_3, 1); lean_dec(x_16); -x_17 = lean_string_utf8_next_fast(x_2, x_5); +x_17 = lean_ctor_get(x_3, 0); +lean_dec(x_17); +x_18 = lean_string_utf8_next_fast(x_2, x_5); lean_dec(x_5); -lean_ctor_set(x_3, 1, x_17); +lean_ctor_set(x_3, 1, x_18); goto _start; } else { -lean_object* x_19; lean_object* x_20; +lean_object* x_20; lean_object* x_21; lean_dec(x_3); -x_19 = lean_string_utf8_next_fast(x_2, x_5); +x_20 = lean_string_utf8_next_fast(x_2, x_5); lean_dec(x_5); -x_20 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_20, 0, x_4); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set(x_20, 2, x_6); -lean_ctor_set_uint8(x_20, sizeof(void*)*3, x_7); -lean_ctor_set_uint8(x_20, sizeof(void*)*3 + 1, x_8); -lean_ctor_set_uint8(x_20, sizeof(void*)*3 + 2, x_9); -x_3 = x_20; +x_21 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_21, 0, x_4); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_21, 2, x_6); +lean_ctor_set_uint8(x_21, sizeof(void*)*3, x_7); +lean_ctor_set_uint8(x_21, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_21, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_21, sizeof(void*)*3 + 3, x_10); +x_3 = x_21; goto _start; } } @@ -1153,7 +1184,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_ParseImports_whitespace(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; lean_object* x_9; uint8_t x_23; +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; uint8_t x_25; x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); x_4 = lean_ctor_get(x_2, 1); @@ -1163,40 +1194,41 @@ lean_inc(x_5); x_6 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 1); x_8 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 2); -x_23 = lean_string_utf8_at_end(x_1, x_4); -if (x_23 == 0) +x_9 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 3); +x_25 = lean_string_utf8_at_end(x_1, x_4); +if (x_25 == 0) { -uint32_t x_24; uint32_t x_25; uint8_t x_26; -x_24 = lean_string_utf8_get_fast(x_1, x_4); -x_25 = 9; -x_26 = lean_uint32_dec_eq(x_24, x_25); -if (x_26 == 0) -{ -uint32_t x_27; uint8_t x_28; -x_27 = 32; -x_28 = lean_uint32_dec_eq(x_24, x_27); +uint32_t x_26; uint32_t x_27; uint8_t x_28; +x_26 = lean_string_utf8_get_fast(x_1, x_4); +x_27 = 9; +x_28 = lean_uint32_dec_eq(x_26, x_27); if (x_28 == 0) { uint32_t x_29; uint8_t x_30; -x_29 = 13; -x_30 = lean_uint32_dec_eq(x_24, x_29); +x_29 = 32; +x_30 = lean_uint32_dec_eq(x_26, x_29); if (x_30 == 0) { uint32_t x_31; uint8_t x_32; -x_31 = 10; -x_32 = lean_uint32_dec_eq(x_24, x_31); +x_31 = 13; +x_32 = lean_uint32_dec_eq(x_26, x_31); if (x_32 == 0) { uint32_t x_33; uint8_t x_34; -x_33 = 45; -x_34 = lean_uint32_dec_eq(x_24, x_33); +x_33 = 10; +x_34 = lean_uint32_dec_eq(x_26, x_33); if (x_34 == 0) { uint32_t x_35; uint8_t x_36; -x_35 = 47; -x_36 = lean_uint32_dec_eq(x_24, x_35); +x_35 = 45; +x_36 = lean_uint32_dec_eq(x_26, x_35); if (x_36 == 0) { +uint32_t x_37; uint8_t x_38; +x_37 = 47; +x_38 = lean_uint32_dec_eq(x_26, x_37); +if (x_38 == 0) +{ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1204,93 +1236,94 @@ return x_2; } else { -lean_object* x_37; uint32_t x_38; uint8_t x_39; -x_37 = lean_string_utf8_next_fast(x_1, x_4); +lean_object* x_39; uint32_t x_40; uint8_t x_41; +x_39 = lean_string_utf8_next_fast(x_1, x_4); lean_dec(x_4); -x_38 = lean_string_utf8_get(x_1, x_37); -x_39 = lean_uint32_dec_eq(x_38, x_33); -if (x_39 == 0) +x_40 = lean_string_utf8_get(x_1, x_39); +x_41 = lean_uint32_dec_eq(x_40, x_35); +if (x_41 == 0) { -lean_dec(x_37); +lean_dec(x_39); lean_dec(x_5); lean_dec(x_3); return x_2; } else { -lean_object* x_40; uint32_t x_41; uint8_t x_42; -x_40 = lean_string_utf8_next(x_1, x_37); -lean_dec(x_37); -x_41 = lean_string_utf8_get(x_1, x_40); -x_42 = lean_uint32_dec_eq(x_41, x_33); -if (x_42 == 0) -{ -uint32_t x_43; uint8_t x_44; -x_43 = 33; -x_44 = lean_uint32_dec_eq(x_41, x_43); +lean_object* x_42; uint32_t x_43; uint8_t x_44; +x_42 = lean_string_utf8_next(x_1, x_39); +lean_dec(x_39); +x_43 = lean_string_utf8_get(x_1, x_42); +x_44 = lean_uint32_dec_eq(x_43, x_35); if (x_44 == 0) { -uint8_t x_45; -x_45 = !lean_is_exclusive(x_2); -if (x_45 == 0) +uint32_t x_45; uint8_t x_46; +x_45 = 33; +x_46 = lean_uint32_dec_eq(x_43, x_45); +if (x_46 == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_46 = lean_ctor_get(x_2, 2); -lean_dec(x_46); -x_47 = lean_ctor_get(x_2, 1); -lean_dec(x_47); -x_48 = lean_ctor_get(x_2, 0); +uint8_t x_47; +x_47 = !lean_is_exclusive(x_2); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_48 = lean_ctor_get(x_2, 2); lean_dec(x_48); -x_49 = lean_string_utf8_next(x_1, x_40); -lean_dec(x_40); -lean_ctor_set(x_2, 1, x_49); -x_50 = lean_unsigned_to_nat(1u); -x_51 = l_Lean_ParseImports_finishCommentBlock(x_50, x_1, x_2); -x_52 = lean_ctor_get(x_51, 2); -lean_inc(x_52); -if (lean_obj_tag(x_52) == 0) +x_49 = lean_ctor_get(x_2, 1); +lean_dec(x_49); +x_50 = lean_ctor_get(x_2, 0); +lean_dec(x_50); +x_51 = lean_string_utf8_next(x_1, x_42); +lean_dec(x_42); +lean_ctor_set(x_2, 1, x_51); +x_52 = lean_unsigned_to_nat(1u); +x_53 = l_Lean_ParseImports_finishCommentBlock(x_52, x_1, x_2); +x_54 = lean_ctor_get(x_53, 2); +lean_inc(x_54); +if (lean_obj_tag(x_54) == 0) { -x_2 = x_51; +x_2 = x_53; goto _start; } else { -lean_dec(x_52); -return x_51; +lean_dec(x_54); +return x_53; } } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_dec(x_2); -x_54 = lean_string_utf8_next(x_1, x_40); -lean_dec(x_40); -x_55 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_55, 0, x_3); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_55, 2, x_5); -lean_ctor_set_uint8(x_55, sizeof(void*)*3, x_6); -lean_ctor_set_uint8(x_55, sizeof(void*)*3 + 1, x_7); -lean_ctor_set_uint8(x_55, sizeof(void*)*3 + 2, x_8); -x_56 = lean_unsigned_to_nat(1u); -x_57 = l_Lean_ParseImports_finishCommentBlock(x_56, x_1, x_55); -x_58 = lean_ctor_get(x_57, 2); -lean_inc(x_58); -if (lean_obj_tag(x_58) == 0) +x_56 = lean_string_utf8_next(x_1, x_42); +lean_dec(x_42); +x_57 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_57, 0, x_3); +lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_57, 2, x_5); +lean_ctor_set_uint8(x_57, sizeof(void*)*3, x_6); +lean_ctor_set_uint8(x_57, sizeof(void*)*3 + 1, x_7); +lean_ctor_set_uint8(x_57, sizeof(void*)*3 + 2, x_8); +lean_ctor_set_uint8(x_57, sizeof(void*)*3 + 3, x_9); +x_58 = lean_unsigned_to_nat(1u); +x_59 = l_Lean_ParseImports_finishCommentBlock(x_58, x_1, x_57); +x_60 = lean_ctor_get(x_59, 2); +lean_inc(x_60); +if (lean_obj_tag(x_60) == 0) { -x_2 = x_57; +x_2 = x_59; goto _start; } else { -lean_dec(x_58); -return x_57; +lean_dec(x_60); +return x_59; } } } else { -lean_dec(x_40); +lean_dec(x_42); lean_dec(x_5); lean_dec(x_3); return x_2; @@ -1298,7 +1331,7 @@ return x_2; } else { -lean_dec(x_40); +lean_dec(x_42); lean_dec(x_5); lean_dec(x_3); return x_2; @@ -1308,73 +1341,74 @@ return x_2; } else { -lean_object* x_60; uint32_t x_61; uint8_t x_62; -x_60 = lean_string_utf8_next_fast(x_1, x_4); +lean_object* x_62; uint32_t x_63; uint8_t x_64; +x_62 = lean_string_utf8_next_fast(x_1, x_4); lean_dec(x_4); -x_61 = lean_string_utf8_get(x_1, x_60); -x_62 = lean_uint32_dec_eq(x_61, x_33); -if (x_62 == 0) +x_63 = lean_string_utf8_get(x_1, x_62); +x_64 = lean_uint32_dec_eq(x_63, x_35); +if (x_64 == 0) { -lean_dec(x_60); +lean_dec(x_62); lean_dec(x_5); lean_dec(x_3); return x_2; } else { -uint8_t x_63; -x_63 = !lean_is_exclusive(x_2); -if (x_63 == 0) +uint8_t x_65; +x_65 = !lean_is_exclusive(x_2); +if (x_65 == 0) { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_64 = lean_ctor_get(x_2, 2); -lean_dec(x_64); -x_65 = lean_ctor_get(x_2, 1); -lean_dec(x_65); -x_66 = lean_ctor_get(x_2, 0); +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_66 = lean_ctor_get(x_2, 2); lean_dec(x_66); -x_67 = lean_string_utf8_next(x_1, x_60); -lean_dec(x_60); -lean_ctor_set(x_2, 1, x_67); -x_68 = l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_whitespace___spec__1(x_31, x_1, x_2); -x_69 = lean_ctor_get(x_68, 2); -lean_inc(x_69); -if (lean_obj_tag(x_69) == 0) +x_67 = lean_ctor_get(x_2, 1); +lean_dec(x_67); +x_68 = lean_ctor_get(x_2, 0); +lean_dec(x_68); +x_69 = lean_string_utf8_next(x_1, x_62); +lean_dec(x_62); +lean_ctor_set(x_2, 1, x_69); +x_70 = l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_whitespace___spec__1(x_33, x_1, x_2); +x_71 = lean_ctor_get(x_70, 2); +lean_inc(x_71); +if (lean_obj_tag(x_71) == 0) { -x_2 = x_68; +x_2 = x_70; goto _start; } else { -lean_dec(x_69); -return x_68; +lean_dec(x_71); +return x_70; } } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_dec(x_2); -x_71 = lean_string_utf8_next(x_1, x_60); -lean_dec(x_60); -x_72 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_72, 0, x_3); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set(x_72, 2, x_5); -lean_ctor_set_uint8(x_72, sizeof(void*)*3, x_6); -lean_ctor_set_uint8(x_72, sizeof(void*)*3 + 1, x_7); -lean_ctor_set_uint8(x_72, sizeof(void*)*3 + 2, x_8); -x_73 = l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_whitespace___spec__1(x_31, x_1, x_72); -x_74 = lean_ctor_get(x_73, 2); -lean_inc(x_74); -if (lean_obj_tag(x_74) == 0) +x_73 = lean_string_utf8_next(x_1, x_62); +lean_dec(x_62); +x_74 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_74, 0, x_3); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_74, 2, x_5); +lean_ctor_set_uint8(x_74, sizeof(void*)*3, x_6); +lean_ctor_set_uint8(x_74, sizeof(void*)*3 + 1, x_7); +lean_ctor_set_uint8(x_74, sizeof(void*)*3 + 2, x_8); +lean_ctor_set_uint8(x_74, sizeof(void*)*3 + 3, x_9); +x_75 = l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_whitespace___spec__1(x_33, x_1, x_74); +x_76 = lean_ctor_get(x_75, 2); +lean_inc(x_76); +if (lean_obj_tag(x_76) == 0) { -x_2 = x_73; +x_2 = x_75; goto _start; } else { -lean_dec(x_74); -return x_73; +lean_dec(x_76); +return x_75; } } } @@ -1382,65 +1416,66 @@ return x_73; } else { -lean_object* x_76; -lean_dec(x_5); -lean_dec(x_3); -x_76 = lean_box(0); -x_9 = x_76; -goto block_22; -} -} -else -{ -lean_object* x_77; -lean_dec(x_5); -lean_dec(x_3); -x_77 = lean_box(0); -x_9 = x_77; -goto block_22; -} -} -else -{ lean_object* x_78; lean_dec(x_5); lean_dec(x_3); x_78 = lean_box(0); -x_9 = x_78; -goto block_22; +x_10 = x_78; +goto block_24; } } else { -uint8_t x_79; +lean_object* x_79; lean_dec(x_5); -x_79 = !lean_is_exclusive(x_2); -if (x_79 == 0) +lean_dec(x_3); +x_79 = lean_box(0); +x_10 = x_79; +goto block_24; +} +} +else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_80 = lean_ctor_get(x_2, 2); -lean_dec(x_80); -x_81 = lean_ctor_get(x_2, 1); -lean_dec(x_81); -x_82 = lean_ctor_get(x_2, 0); +lean_object* x_80; +lean_dec(x_5); +lean_dec(x_3); +x_80 = lean_box(0); +x_10 = x_80; +goto block_24; +} +} +else +{ +uint8_t x_81; +lean_dec(x_5); +x_81 = !lean_is_exclusive(x_2); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_82 = lean_ctor_get(x_2, 2); lean_dec(x_82); -x_83 = l_Lean_ParseImports_whitespace___closed__2; -lean_ctor_set(x_2, 2, x_83); +x_83 = lean_ctor_get(x_2, 1); +lean_dec(x_83); +x_84 = lean_ctor_get(x_2, 0); +lean_dec(x_84); +x_85 = l_Lean_ParseImports_whitespace___closed__2; +lean_ctor_set(x_2, 2, x_85); return x_2; } else { -lean_object* x_84; lean_object* x_85; +lean_object* x_86; lean_object* x_87; lean_dec(x_2); -x_84 = l_Lean_ParseImports_whitespace___closed__2; -x_85 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_85, 0, x_3); -lean_ctor_set(x_85, 1, x_4); -lean_ctor_set(x_85, 2, x_84); -lean_ctor_set_uint8(x_85, sizeof(void*)*3, x_6); -lean_ctor_set_uint8(x_85, sizeof(void*)*3 + 1, x_7); -lean_ctor_set_uint8(x_85, sizeof(void*)*3 + 2, x_8); -return x_85; +x_86 = l_Lean_ParseImports_whitespace___closed__2; +x_87 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_87, 0, x_3); +lean_ctor_set(x_87, 1, x_4); +lean_ctor_set(x_87, 2, x_86); +lean_ctor_set_uint8(x_87, sizeof(void*)*3, x_6); +lean_ctor_set_uint8(x_87, sizeof(void*)*3 + 1, x_7); +lean_ctor_set_uint8(x_87, sizeof(void*)*3 + 2, x_8); +lean_ctor_set_uint8(x_87, sizeof(void*)*3 + 3, x_9); +return x_87; } } } @@ -1451,42 +1486,44 @@ lean_dec(x_4); lean_dec(x_3); return x_2; } -block_22: +block_24: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; -lean_dec(x_9); -x_10 = lean_ctor_get(x_2, 0); -lean_inc(x_10); -x_11 = lean_string_utf8_next(x_1, x_4); +lean_object* x_11; lean_object* x_12; uint8_t x_13; +lean_dec(x_10); +x_11 = lean_ctor_get(x_2, 0); +lean_inc(x_11); +x_12 = lean_string_utf8_next(x_1, x_4); lean_dec(x_4); -x_12 = !lean_is_exclusive(x_2); -if (x_12 == 0) +x_13 = !lean_is_exclusive(x_2); +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_2, 1); -lean_dec(x_13); -x_14 = lean_ctor_get(x_2, 0); +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_2, 1); lean_dec(x_14); -lean_ctor_set(x_2, 1, x_11); +x_15 = lean_ctor_get(x_2, 0); +lean_dec(x_15); +lean_ctor_set(x_2, 1, x_12); goto _start; } else { -lean_object* x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; -x_16 = lean_ctor_get(x_2, 2); -x_17 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); -x_18 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 1); -x_19 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 2); -lean_inc(x_16); +lean_object* x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_2, 2); +x_18 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); +x_19 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 1); +x_20 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 2); +x_21 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 3); +lean_inc(x_17); lean_dec(x_2); -x_20 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_20, 0, x_10); -lean_ctor_set(x_20, 1, x_11); -lean_ctor_set(x_20, 2, x_16); -lean_ctor_set_uint8(x_20, sizeof(void*)*3, x_17); -lean_ctor_set_uint8(x_20, sizeof(void*)*3 + 1, x_18); -lean_ctor_set_uint8(x_20, sizeof(void*)*3 + 2, x_19); -x_2 = x_20; +x_22 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_22, 0, x_11); +lean_ctor_set(x_22, 1, x_12); +lean_ctor_set(x_22, 2, x_17); +lean_ctor_set_uint8(x_22, sizeof(void*)*3, x_18); +lean_ctor_set_uint8(x_22, sizeof(void*)*3 + 1, x_19); +lean_ctor_set_uint8(x_22, sizeof(void*)*3 + 2, x_20); +lean_ctor_set_uint8(x_22, sizeof(void*)*3 + 3, x_21); +x_2 = x_22; goto _start; } } @@ -1576,25 +1613,27 @@ return x_21; } else { -lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_22 = lean_ctor_get(x_5, 0); x_23 = lean_ctor_get(x_5, 2); x_24 = lean_ctor_get_uint8(x_5, sizeof(void*)*3); x_25 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 1); x_26 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 2); +x_27 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 3); lean_inc(x_23); lean_inc(x_22); lean_dec(x_5); -x_27 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_27, 0, x_22); -lean_ctor_set(x_27, 1, x_7); -lean_ctor_set(x_27, 2, x_23); -lean_ctor_set_uint8(x_27, sizeof(void*)*3, x_24); -lean_ctor_set_uint8(x_27, sizeof(void*)*3 + 1, x_25); -lean_ctor_set_uint8(x_27, sizeof(void*)*3 + 2, x_26); -x_28 = l_Lean_ParseImports_whitespace(x_4, x_27); -x_29 = lean_apply_2(x_3, x_4, x_28); -return x_29; +x_28 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_7); +lean_ctor_set(x_28, 2, x_23); +lean_ctor_set_uint8(x_28, sizeof(void*)*3, x_24); +lean_ctor_set_uint8(x_28, sizeof(void*)*3 + 1, x_25); +lean_ctor_set_uint8(x_28, sizeof(void*)*3 + 2, x_26); +lean_ctor_set_uint8(x_28, sizeof(void*)*3 + 3, x_27); +x_29 = l_Lean_ParseImports_whitespace(x_4, x_28); +x_30 = lean_apply_2(x_3, x_4, x_29); +return x_30; } } } @@ -1681,117 +1720,123 @@ return x_4; } else { -lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; +lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; x_19 = lean_ctor_get(x_4, 0); x_20 = lean_ctor_get(x_4, 1); x_21 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); x_22 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 1); x_23 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 2); +x_24 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 3); lean_inc(x_20); lean_inc(x_19); lean_dec(x_4); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_15); -x_25 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_25, 0, x_19); -lean_ctor_set(x_25, 1, x_20); -lean_ctor_set(x_25, 2, x_24); -lean_ctor_set_uint8(x_25, sizeof(void*)*3, x_21); -lean_ctor_set_uint8(x_25, sizeof(void*)*3 + 1, x_22); -lean_ctor_set_uint8(x_25, sizeof(void*)*3 + 2, x_23); -return x_25; +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_15); +x_26 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_26, 0, x_19); +lean_ctor_set(x_26, 1, x_20); +lean_ctor_set(x_26, 2, x_25); +lean_ctor_set_uint8(x_26, sizeof(void*)*3, x_21); +lean_ctor_set_uint8(x_26, sizeof(void*)*3 + 1, x_22); +lean_ctor_set_uint8(x_26, sizeof(void*)*3 + 2, x_23); +lean_ctor_set_uint8(x_26, sizeof(void*)*3 + 3, x_24); +return x_26; } } else { -lean_object* x_26; lean_object* x_27; -x_26 = lean_string_utf8_next_fast(x_2, x_5); +lean_object* x_27; lean_object* x_28; +x_27 = lean_string_utf8_next_fast(x_2, x_5); lean_dec(x_5); -x_27 = lean_string_utf8_next_fast(x_3, x_6); +x_28 = lean_string_utf8_next_fast(x_3, x_6); lean_dec(x_6); -x_5 = x_26; -x_6 = x_27; +x_5 = x_27; +x_6 = x_28; goto _start; } } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_dec(x_6); lean_dec(x_5); -x_29 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_keyword___spec__1___closed__1; -x_30 = lean_string_append(x_29, x_1); -x_31 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_keyword___spec__1___closed__2; -x_32 = lean_string_append(x_30, x_31); -x_33 = !lean_is_exclusive(x_4); -if (x_33 == 0) +x_30 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_keyword___spec__1___closed__1; +x_31 = lean_string_append(x_30, x_1); +x_32 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_keyword___spec__1___closed__2; +x_33 = lean_string_append(x_31, x_32); +x_34 = !lean_is_exclusive(x_4); +if (x_34 == 0) { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_4, 2); -lean_dec(x_34); -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_32); -lean_ctor_set(x_4, 2, x_35); +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_4, 2); +lean_dec(x_35); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_33); +lean_ctor_set(x_4, 2, x_36); return x_4; } else { -lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; -x_36 = lean_ctor_get(x_4, 0); -x_37 = lean_ctor_get(x_4, 1); -x_38 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); -x_39 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 1); -x_40 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 2); +lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; +x_37 = lean_ctor_get(x_4, 0); +x_38 = lean_ctor_get(x_4, 1); +x_39 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); +x_40 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 1); +x_41 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 2); +x_42 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 3); +lean_inc(x_38); lean_inc(x_37); -lean_inc(x_36); lean_dec(x_4); -x_41 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_41, 0, x_32); -x_42 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_42, 0, x_36); -lean_ctor_set(x_42, 1, x_37); -lean_ctor_set(x_42, 2, x_41); -lean_ctor_set_uint8(x_42, sizeof(void*)*3, x_38); -lean_ctor_set_uint8(x_42, sizeof(void*)*3 + 1, x_39); -lean_ctor_set_uint8(x_42, sizeof(void*)*3 + 2, x_40); -return x_42; +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_33); +x_44 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_44, 0, x_37); +lean_ctor_set(x_44, 1, x_38); +lean_ctor_set(x_44, 2, x_43); +lean_ctor_set_uint8(x_44, sizeof(void*)*3, x_39); +lean_ctor_set_uint8(x_44, sizeof(void*)*3 + 1, x_40); +lean_ctor_set_uint8(x_44, sizeof(void*)*3 + 2, x_41); +lean_ctor_set_uint8(x_44, sizeof(void*)*3 + 3, x_42); +return x_44; } } } else { -uint8_t x_43; +uint8_t x_45; lean_dec(x_5); -x_43 = !lean_is_exclusive(x_4); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_4); +if (x_45 == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_4, 1); -lean_dec(x_44); +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_4, 1); +lean_dec(x_46); lean_ctor_set(x_4, 1, x_6); -x_45 = l_Lean_ParseImports_whitespace(x_3, x_4); -return x_45; +x_47 = l_Lean_ParseImports_whitespace(x_3, x_4); +return x_47; } else { -lean_object* x_46; lean_object* x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; -x_46 = lean_ctor_get(x_4, 0); -x_47 = lean_ctor_get(x_4, 2); -x_48 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); -x_49 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 1); -x_50 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 2); -lean_inc(x_47); -lean_inc(x_46); +lean_object* x_48; lean_object* x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; +x_48 = lean_ctor_get(x_4, 0); +x_49 = lean_ctor_get(x_4, 2); +x_50 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); +x_51 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 1); +x_52 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 2); +x_53 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 3); +lean_inc(x_49); +lean_inc(x_48); lean_dec(x_4); -x_51 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_51, 0, x_46); -lean_ctor_set(x_51, 1, x_6); -lean_ctor_set(x_51, 2, x_47); -lean_ctor_set_uint8(x_51, sizeof(void*)*3, x_48); -lean_ctor_set_uint8(x_51, sizeof(void*)*3 + 1, x_49); -lean_ctor_set_uint8(x_51, sizeof(void*)*3 + 2, x_50); -x_52 = l_Lean_ParseImports_whitespace(x_3, x_51); -return x_52; +x_54 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_54, 0, x_48); +lean_ctor_set(x_54, 1, x_6); +lean_ctor_set(x_54, 2, x_49); +lean_ctor_set_uint8(x_54, sizeof(void*)*3, x_50); +lean_ctor_set_uint8(x_54, sizeof(void*)*3 + 1, x_51); +lean_ctor_set_uint8(x_54, sizeof(void*)*3 + 2, x_52); +lean_ctor_set_uint8(x_54, sizeof(void*)*3 + 3, x_53); +x_55 = l_Lean_ParseImports_whitespace(x_3, x_54); +return x_55; } } } @@ -1998,26 +2043,28 @@ return x_2; } else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; x_6 = lean_ctor_get(x_2, 0); x_7 = lean_ctor_get(x_2, 1); x_8 = lean_ctor_get(x_2, 2); x_9 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); x_10 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 1); x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 2); +x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 3); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_dec(x_2); -x_12 = lean_array_push(x_6, x_1); -x_13 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_7); -lean_ctor_set(x_13, 2, x_8); -lean_ctor_set_uint8(x_13, sizeof(void*)*3, x_9); -lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 1, x_10); -lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 2, x_11); -return x_13; +x_13 = lean_array_push(x_6, x_1); +x_14 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_7); +lean_ctor_set(x_14, 2, x_8); +lean_ctor_set_uint8(x_14, sizeof(void*)*3, x_9); +lean_ctor_set_uint8(x_14, sizeof(void*)*3 + 1, x_10); +lean_ctor_set_uint8(x_14, sizeof(void*)*3 + 2, x_11); +lean_ctor_set_uint8(x_14, sizeof(void*)*3 + 3, x_12); +return x_14; } } } @@ -2332,158 +2379,150 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; uint8_t x_18; +lean_object* x_3; lean_object* x_4; uint8_t x_19; x_3 = lean_ctor_get(x_2, 1); lean_inc(x_3); -x_18 = lean_string_utf8_at_end(x_1, x_3); -if (x_18 == 0) +x_19 = lean_string_utf8_at_end(x_1, x_3); +if (x_19 == 0) { -uint32_t x_19; lean_object* x_20; lean_object* x_44; uint32_t x_53; uint8_t x_54; -x_19 = lean_string_utf8_get_fast(x_1, x_3); -x_53 = 65; -x_54 = lean_uint32_dec_le(x_53, x_19); -if (x_54 == 0) +uint32_t x_20; lean_object* x_21; lean_object* x_45; uint32_t x_54; uint8_t x_55; +x_20 = lean_string_utf8_get_fast(x_1, x_3); +x_54 = 65; +x_55 = lean_uint32_dec_le(x_54, x_20); +if (x_55 == 0) { -uint32_t x_55; uint8_t x_56; -x_55 = 97; -x_56 = lean_uint32_dec_le(x_55, x_19); -if (x_56 == 0) +uint32_t x_56; uint8_t x_57; +x_56 = 97; +x_57 = lean_uint32_dec_le(x_56, x_20); +if (x_57 == 0) { -lean_object* x_57; -x_57 = lean_box(0); -x_44 = x_57; -goto block_52; +lean_object* x_58; +x_58 = lean_box(0); +x_45 = x_58; +goto block_53; } else { -uint32_t x_58; uint8_t x_59; -x_58 = 122; -x_59 = lean_uint32_dec_le(x_19, x_58); -if (x_59 == 0) -{ -lean_object* x_60; -x_60 = lean_box(0); -x_44 = x_60; -goto block_52; -} -else +uint32_t x_59; uint8_t x_60; +x_59 = 122; +x_60 = lean_uint32_dec_le(x_20, x_59); +if (x_60 == 0) { lean_object* x_61; x_61 = lean_box(0); -x_4 = x_61; -goto block_17; +x_45 = x_61; +goto block_53; +} +else +{ +lean_object* x_62; +x_62 = lean_box(0); +x_4 = x_62; +goto block_18; } } } else { -uint32_t x_62; uint8_t x_63; -x_62 = 90; -x_63 = lean_uint32_dec_le(x_19, x_62); -if (x_63 == 0) +uint32_t x_63; uint8_t x_64; +x_63 = 90; +x_64 = lean_uint32_dec_le(x_20, x_63); +if (x_64 == 0) { -uint32_t x_64; uint8_t x_65; -x_64 = 97; -x_65 = lean_uint32_dec_le(x_64, x_19); -if (x_65 == 0) +uint32_t x_65; uint8_t x_66; +x_65 = 97; +x_66 = lean_uint32_dec_le(x_65, x_20); +if (x_66 == 0) { -lean_object* x_66; -x_66 = lean_box(0); -x_44 = x_66; -goto block_52; +lean_object* x_67; +x_67 = lean_box(0); +x_45 = x_67; +goto block_53; } else { -uint32_t x_67; uint8_t x_68; -x_67 = 122; -x_68 = lean_uint32_dec_le(x_19, x_67); -if (x_68 == 0) -{ -lean_object* x_69; -x_69 = lean_box(0); -x_44 = x_69; -goto block_52; -} -else +uint32_t x_68; uint8_t x_69; +x_68 = 122; +x_69 = lean_uint32_dec_le(x_20, x_68); +if (x_69 == 0) { lean_object* x_70; x_70 = lean_box(0); -x_4 = x_70; -goto block_17; -} -} +x_45 = x_70; +goto block_53; } else { lean_object* x_71; x_71 = lean_box(0); x_4 = x_71; -goto block_17; +goto block_18; } } -block_43: +} +else { -uint32_t x_21; uint8_t x_22; -lean_dec(x_20); -x_21 = 46; -x_22 = lean_uint32_dec_eq(x_19, x_21); -if (x_22 == 0) +lean_object* x_72; +x_72 = lean_box(0); +x_4 = x_72; +goto block_18; +} +} +block_44: { -uint32_t x_23; uint8_t x_24; -x_23 = 10; -x_24 = lean_uint32_dec_eq(x_19, x_23); -if (x_24 == 0) +uint32_t x_22; uint8_t x_23; +lean_dec(x_21); +x_22 = 46; +x_23 = lean_uint32_dec_eq(x_20, x_22); +if (x_23 == 0) { -uint32_t x_25; uint8_t x_26; -x_25 = 32; -x_26 = lean_uint32_dec_eq(x_19, x_25); -if (x_26 == 0) +uint32_t x_24; uint8_t x_25; +x_24 = 10; +x_25 = lean_uint32_dec_eq(x_20, x_24); +if (x_25 == 0) { -uint32_t x_27; uint8_t x_28; -x_27 = 95; -x_28 = lean_uint32_dec_eq(x_19, x_27); -if (x_28 == 0) +uint32_t x_26; uint8_t x_27; +x_26 = 32; +x_27 = lean_uint32_dec_eq(x_20, x_26); +if (x_27 == 0) { -uint32_t x_29; uint8_t x_30; -x_29 = 39; -x_30 = lean_uint32_dec_eq(x_19, x_29); -if (x_30 == 0) +uint32_t x_28; uint8_t x_29; +x_28 = 95; +x_29 = lean_uint32_dec_eq(x_20, x_28); +if (x_29 == 0) { -uint32_t x_31; uint8_t x_32; -x_31 = 33; -x_32 = lean_uint32_dec_eq(x_19, x_31); -if (x_32 == 0) +uint32_t x_30; uint8_t x_31; +x_30 = 39; +x_31 = lean_uint32_dec_eq(x_20, x_30); +if (x_31 == 0) { -uint32_t x_33; uint8_t x_34; -x_33 = 63; -x_34 = lean_uint32_dec_eq(x_19, x_33); -if (x_34 == 0) +uint32_t x_32; uint8_t x_33; +x_32 = 33; +x_33 = lean_uint32_dec_eq(x_20, x_32); +if (x_33 == 0) { -uint8_t x_35; -x_35 = l_Lean_isLetterLike(x_19); +uint32_t x_34; uint8_t x_35; +x_34 = 63; +x_35 = lean_uint32_dec_eq(x_20, x_34); if (x_35 == 0) { uint8_t x_36; -x_36 = l_Lean_isSubScriptAlnum(x_19); +x_36 = l_Lean_isLetterLike(x_20); if (x_36 == 0) { +uint8_t x_37; +x_37 = l_Lean_isSubScriptAlnum(x_20); +if (x_37 == 0) +{ lean_dec(x_3); return x_2; } else { -lean_object* x_37; -x_37 = lean_box(0); -x_4 = x_37; -goto block_17; -} -} -else -{ lean_object* x_38; x_38 = lean_box(0); x_4 = x_38; -goto block_17; +goto block_18; } } else @@ -2491,7 +2530,7 @@ else lean_object* x_39; x_39 = lean_box(0); x_4 = x_39; -goto block_17; +goto block_18; } } else @@ -2499,7 +2538,7 @@ else lean_object* x_40; x_40 = lean_box(0); x_4 = x_40; -goto block_17; +goto block_18; } } else @@ -2507,7 +2546,7 @@ else lean_object* x_41; x_41 = lean_box(0); x_4 = x_41; -goto block_17; +goto block_18; } } else @@ -2515,7 +2554,15 @@ else lean_object* x_42; x_42 = lean_box(0); x_4 = x_42; -goto block_17; +goto block_18; +} +} +else +{ +lean_object* x_43; +x_43 = lean_box(0); +x_4 = x_43; +goto block_18; } } else @@ -2536,37 +2583,37 @@ lean_dec(x_3); return x_2; } } -block_52: +block_53: { -uint32_t x_45; uint8_t x_46; -lean_dec(x_44); -x_45 = 48; -x_46 = lean_uint32_dec_le(x_45, x_19); -if (x_46 == 0) +uint32_t x_46; uint8_t x_47; +lean_dec(x_45); +x_46 = 48; +x_47 = lean_uint32_dec_le(x_46, x_20); +if (x_47 == 0) { -lean_object* x_47; -x_47 = lean_box(0); -x_20 = x_47; -goto block_43; +lean_object* x_48; +x_48 = lean_box(0); +x_21 = x_48; +goto block_44; } else { -uint32_t x_48; uint8_t x_49; -x_48 = 57; -x_49 = lean_uint32_dec_le(x_19, x_48); -if (x_49 == 0) -{ -lean_object* x_50; -x_50 = lean_box(0); -x_20 = x_50; -goto block_43; -} -else +uint32_t x_49; uint8_t x_50; +x_49 = 57; +x_50 = lean_uint32_dec_le(x_20, x_49); +if (x_50 == 0) { lean_object* x_51; x_51 = lean_box(0); -x_4 = x_51; -goto block_17; +x_21 = x_51; +goto block_44; +} +else +{ +lean_object* x_52; +x_52 = lean_box(0); +x_4 = x_52; +goto block_18; } } } @@ -2576,7 +2623,7 @@ else lean_dec(x_3); return x_2; } -block_17: +block_18: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_dec(x_4); @@ -2597,21 +2644,23 @@ goto _start; } else { -lean_object* x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; +lean_object* x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; x_11 = lean_ctor_get(x_2, 2); x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); x_13 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 1); x_14 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 2); +x_15 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 3); lean_inc(x_11); lean_dec(x_2); -x_15 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_15, 0, x_5); -lean_ctor_set(x_15, 1, x_6); -lean_ctor_set(x_15, 2, x_11); -lean_ctor_set_uint8(x_15, sizeof(void*)*3, x_12); -lean_ctor_set_uint8(x_15, sizeof(void*)*3 + 1, x_13); -lean_ctor_set_uint8(x_15, sizeof(void*)*3 + 2, x_14); -x_2 = x_15; +x_16 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_6); +lean_ctor_set(x_16, 2, x_11); +lean_ctor_set_uint8(x_16, sizeof(void*)*3, x_12); +lean_ctor_set_uint8(x_16, sizeof(void*)*3 + 1, x_13); +lean_ctor_set_uint8(x_16, sizeof(void*)*3 + 2, x_14); +lean_ctor_set_uint8(x_16, sizeof(void*)*3 + 3, x_15); +x_2 = x_16; goto _start; } } @@ -2620,7 +2669,7 @@ goto _start; LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__2(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); x_4 = lean_ctor_get(x_2, 1); @@ -2630,45 +2679,47 @@ lean_inc(x_5); x_6 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 1); x_8 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 2); -x_9 = lean_string_utf8_at_end(x_1, x_4); -if (x_9 == 0) +x_9 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 3); +x_10 = lean_string_utf8_at_end(x_1, x_4); +if (x_10 == 0) { -uint32_t x_10; uint32_t x_11; uint8_t x_12; -x_10 = lean_string_utf8_get_fast(x_1, x_4); -x_11 = l_Lean_idEndEscape; -x_12 = lean_uint32_dec_eq(x_10, x_11); -if (x_12 == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_2); +uint32_t x_11; uint32_t x_12; uint8_t x_13; +x_11 = lean_string_utf8_get_fast(x_1, x_4); +x_12 = l_Lean_idEndEscape; +x_13 = lean_uint32_dec_eq(x_11, x_12); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_2, 2); -lean_dec(x_14); -x_15 = lean_ctor_get(x_2, 1); +uint8_t x_14; +x_14 = !lean_is_exclusive(x_2); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_2, 2); lean_dec(x_15); -x_16 = lean_ctor_get(x_2, 0); +x_16 = lean_ctor_get(x_2, 1); lean_dec(x_16); -x_17 = lean_string_utf8_next_fast(x_1, x_4); +x_17 = lean_ctor_get(x_2, 0); +lean_dec(x_17); +x_18 = lean_string_utf8_next_fast(x_1, x_4); lean_dec(x_4); -lean_ctor_set(x_2, 1, x_17); +lean_ctor_set(x_2, 1, x_18); goto _start; } else { -lean_object* x_19; lean_object* x_20; +lean_object* x_20; lean_object* x_21; lean_dec(x_2); -x_19 = lean_string_utf8_next_fast(x_1, x_4); +x_20 = lean_string_utf8_next_fast(x_1, x_4); lean_dec(x_4); -x_20 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_20, 0, x_3); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set(x_20, 2, x_5); -lean_ctor_set_uint8(x_20, sizeof(void*)*3, x_6); -lean_ctor_set_uint8(x_20, sizeof(void*)*3 + 1, x_7); -lean_ctor_set_uint8(x_20, sizeof(void*)*3 + 2, x_8); -x_2 = x_20; +x_21 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_21, 0, x_3); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_21, 2, x_5); +lean_ctor_set_uint8(x_21, sizeof(void*)*3, x_6); +lean_ctor_set_uint8(x_21, sizeof(void*)*3 + 1, x_7); +lean_ctor_set_uint8(x_21, sizeof(void*)*3 + 2, x_8); +lean_ctor_set_uint8(x_21, sizeof(void*)*3 + 3, x_9); +x_2 = x_21; goto _start; } } @@ -2728,7 +2779,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent_parse(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); x_6 = lean_ctor_get(x_4, 1); @@ -2738,860 +2789,872 @@ lean_inc(x_7); x_8 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); x_9 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 1); x_10 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 2); -x_11 = lean_string_utf8_at_end(x_1, x_6); -if (x_11 == 0) +x_11 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 3); +x_12 = lean_string_utf8_at_end(x_1, x_6); +if (x_12 == 0) { -lean_object* x_12; lean_object* x_13; uint32_t x_73; lean_object* x_74; uint32_t x_83; uint8_t x_84; +lean_object* x_13; lean_object* x_14; uint32_t x_75; lean_object* x_76; uint32_t x_85; uint8_t x_86; if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); lean_ctor_release(x_4, 2); - x_12 = x_4; + x_13 = x_4; } else { lean_dec_ref(x_4); - x_12 = lean_box(0); + x_13 = lean_box(0); } -x_73 = lean_string_utf8_get_fast(x_1, x_6); -x_83 = l_Lean_idBeginEscape; -x_84 = lean_uint32_dec_eq(x_73, x_83); -if (x_84 == 0) -{ -uint32_t x_85; uint8_t x_86; -x_85 = 65; -x_86 = lean_uint32_dec_le(x_85, x_73); +x_75 = lean_string_utf8_get_fast(x_1, x_6); +x_85 = l_Lean_idBeginEscape; +x_86 = lean_uint32_dec_eq(x_75, x_85); if (x_86 == 0) { uint32_t x_87; uint8_t x_88; -x_87 = 97; -x_88 = lean_uint32_dec_le(x_87, x_73); +x_87 = 65; +x_88 = lean_uint32_dec_le(x_87, x_75); if (x_88 == 0) { -lean_object* x_89; -x_89 = lean_box(0); -x_74 = x_89; -goto block_82; +uint32_t x_89; uint8_t x_90; +x_89 = 97; +x_90 = lean_uint32_dec_le(x_89, x_75); +if (x_90 == 0) +{ +lean_object* x_91; +x_91 = lean_box(0); +x_76 = x_91; +goto block_84; } else { -uint32_t x_90; uint8_t x_91; -x_90 = 122; -x_91 = lean_uint32_dec_le(x_73, x_90); -if (x_91 == 0) +uint32_t x_92; uint8_t x_93; +x_92 = 122; +x_93 = lean_uint32_dec_le(x_75, x_92); +if (x_93 == 0) { -lean_object* x_92; -x_92 = lean_box(0); -x_74 = x_92; -goto block_82; +lean_object* x_94; +x_94 = lean_box(0); +x_76 = x_94; +goto block_84; } else { -lean_object* x_93; -x_93 = lean_box(0); -x_13 = x_93; -goto block_72; +lean_object* x_95; +x_95 = lean_box(0); +x_14 = x_95; +goto block_74; } } } else { -uint32_t x_94; uint8_t x_95; -x_94 = 90; -x_95 = lean_uint32_dec_le(x_73, x_94); -if (x_95 == 0) -{ uint32_t x_96; uint8_t x_97; -x_96 = 97; -x_97 = lean_uint32_dec_le(x_96, x_73); +x_96 = 90; +x_97 = lean_uint32_dec_le(x_75, x_96); if (x_97 == 0) { -lean_object* x_98; -x_98 = lean_box(0); -x_74 = x_98; -goto block_82; +uint32_t x_98; uint8_t x_99; +x_98 = 97; +x_99 = lean_uint32_dec_le(x_98, x_75); +if (x_99 == 0) +{ +lean_object* x_100; +x_100 = lean_box(0); +x_76 = x_100; +goto block_84; } else { -uint32_t x_99; uint8_t x_100; -x_99 = 122; -x_100 = lean_uint32_dec_le(x_73, x_99); -if (x_100 == 0) -{ -lean_object* x_101; -x_101 = lean_box(0); -x_74 = x_101; -goto block_82; -} -else -{ -lean_object* x_102; -x_102 = lean_box(0); -x_13 = x_102; -goto block_72; -} -} -} -else +uint32_t x_101; uint8_t x_102; +x_101 = 122; +x_102 = lean_uint32_dec_le(x_75, x_101); +if (x_102 == 0) { lean_object* x_103; x_103 = lean_box(0); -x_13 = x_103; -goto block_72; +x_76 = x_103; +goto block_84; +} +else +{ +lean_object* x_104; +x_104 = lean_box(0); +x_14 = x_104; +goto block_74; } } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; -lean_dec(x_12); -x_104 = lean_string_utf8_next_fast(x_1, x_6); +lean_object* x_105; +x_105 = lean_box(0); +x_14 = x_105; +goto block_74; +} +} +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +lean_dec(x_13); +x_106 = lean_string_utf8_next_fast(x_1, x_6); lean_dec(x_6); -lean_inc(x_104); -x_105 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_105, 0, x_5); -lean_ctor_set(x_105, 1, x_104); -lean_ctor_set(x_105, 2, x_7); -lean_ctor_set_uint8(x_105, sizeof(void*)*3, x_8); -lean_ctor_set_uint8(x_105, sizeof(void*)*3 + 1, x_9); -lean_ctor_set_uint8(x_105, sizeof(void*)*3 + 2, x_10); -x_106 = l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__2(x_1, x_105); -x_107 = !lean_is_exclusive(x_106); -if (x_107 == 0) +lean_inc(x_106); +x_107 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_107, 0, x_5); +lean_ctor_set(x_107, 1, x_106); +lean_ctor_set(x_107, 2, x_7); +lean_ctor_set_uint8(x_107, sizeof(void*)*3, x_8); +lean_ctor_set_uint8(x_107, sizeof(void*)*3 + 1, x_9); +lean_ctor_set_uint8(x_107, sizeof(void*)*3 + 2, x_10); +lean_ctor_set_uint8(x_107, sizeof(void*)*3 + 3, x_11); +x_108 = l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__2(x_1, x_107); +x_109 = !lean_is_exclusive(x_108); +if (x_109 == 0) { -lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; uint8_t x_112; uint8_t x_113; uint8_t x_114; -x_108 = lean_ctor_get(x_106, 0); -x_109 = lean_ctor_get(x_106, 1); -x_110 = lean_ctor_get(x_106, 2); -x_111 = lean_ctor_get_uint8(x_106, sizeof(void*)*3); -x_112 = lean_ctor_get_uint8(x_106, sizeof(void*)*3 + 1); -x_113 = lean_ctor_get_uint8(x_106, sizeof(void*)*3 + 2); -x_114 = lean_string_utf8_at_end(x_1, x_109); -if (x_114 == 0) +lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; uint8_t x_114; uint8_t x_115; uint8_t x_116; uint8_t x_117; +x_110 = lean_ctor_get(x_108, 0); +x_111 = lean_ctor_get(x_108, 1); +x_112 = lean_ctor_get(x_108, 2); +x_113 = lean_ctor_get_uint8(x_108, sizeof(void*)*3); +x_114 = lean_ctor_get_uint8(x_108, sizeof(void*)*3 + 1); +x_115 = lean_ctor_get_uint8(x_108, sizeof(void*)*3 + 2); +x_116 = lean_ctor_get_uint8(x_108, sizeof(void*)*3 + 3); +x_117 = lean_string_utf8_at_end(x_1, x_111); +if (x_117 == 0) { -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint32_t x_123; uint32_t x_124; uint8_t x_125; -x_115 = lean_string_utf8_next_fast(x_1, x_109); +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint32_t x_126; uint32_t x_127; uint8_t x_128; +x_118 = lean_string_utf8_next_fast(x_1, x_111); +lean_inc(x_112); +lean_inc(x_118); lean_inc(x_110); -lean_inc(x_115); -lean_inc(x_108); -lean_ctor_set(x_106, 1, x_115); -x_116 = lean_string_utf8_extract(x_1, x_104, x_109); -lean_dec(x_109); -lean_dec(x_104); -x_117 = l_Lean_Name_str___override(x_3, x_116); -x_123 = lean_string_utf8_get(x_1, x_115); -x_124 = 46; -x_125 = lean_uint32_dec_eq(x_123, x_124); -if (x_125 == 0) -{ -lean_object* x_126; -lean_dec(x_115); -lean_dec(x_110); -lean_dec(x_108); -x_126 = lean_apply_3(x_2, x_117, x_1, x_106); -return x_126; -} -else -{ -lean_object* x_127; uint8_t x_128; -x_127 = lean_string_utf8_next(x_1, x_115); -x_128 = lean_string_utf8_at_end(x_1, x_127); +lean_ctor_set(x_108, 1, x_118); +x_119 = lean_string_utf8_extract(x_1, x_106, x_111); +lean_dec(x_111); +lean_dec(x_106); +x_120 = l_Lean_Name_str___override(x_3, x_119); +x_126 = lean_string_utf8_get(x_1, x_118); +x_127 = 46; +x_128 = lean_uint32_dec_eq(x_126, x_127); if (x_128 == 0) { -uint32_t x_129; lean_object* x_130; uint32_t x_140; uint8_t x_141; -x_129 = lean_string_utf8_get_fast(x_1, x_127); -lean_dec(x_127); -x_140 = 65; -x_141 = lean_uint32_dec_le(x_140, x_129); -if (x_141 == 0) -{ -uint32_t x_142; uint8_t x_143; -x_142 = 97; -x_143 = lean_uint32_dec_le(x_142, x_129); -if (x_143 == 0) -{ -lean_object* x_144; -x_144 = lean_box(0); -x_130 = x_144; -goto block_139; +lean_object* x_129; +lean_dec(x_118); +lean_dec(x_112); +lean_dec(x_110); +x_129 = lean_apply_3(x_2, x_120, x_1, x_108); +return x_129; } else { +lean_object* x_130; uint8_t x_131; +x_130 = lean_string_utf8_next(x_1, x_118); +x_131 = lean_string_utf8_at_end(x_1, x_130); +if (x_131 == 0) +{ +uint32_t x_132; lean_object* x_133; uint32_t x_143; uint8_t x_144; +x_132 = lean_string_utf8_get_fast(x_1, x_130); +lean_dec(x_130); +x_143 = 65; +x_144 = lean_uint32_dec_le(x_143, x_132); +if (x_144 == 0) +{ uint32_t x_145; uint8_t x_146; -x_145 = 122; -x_146 = lean_uint32_dec_le(x_129, x_145); +x_145 = 97; +x_146 = lean_uint32_dec_le(x_145, x_132); if (x_146 == 0) { lean_object* x_147; x_147 = lean_box(0); -x_130 = x_147; -goto block_139; +x_133 = x_147; +goto block_142; } else { -lean_object* x_148; -lean_dec(x_106); -x_148 = lean_box(0); -x_118 = x_148; -goto block_122; +uint32_t x_148; uint8_t x_149; +x_148 = 122; +x_149 = lean_uint32_dec_le(x_132, x_148); +if (x_149 == 0) +{ +lean_object* x_150; +x_150 = lean_box(0); +x_133 = x_150; +goto block_142; +} +else +{ +lean_object* x_151; +lean_dec(x_108); +x_151 = lean_box(0); +x_121 = x_151; +goto block_125; } } } else { -uint32_t x_149; uint8_t x_150; -x_149 = 90; -x_150 = lean_uint32_dec_le(x_129, x_149); -if (x_150 == 0) -{ -uint32_t x_151; uint8_t x_152; -x_151 = 97; -x_152 = lean_uint32_dec_le(x_151, x_129); -if (x_152 == 0) -{ -lean_object* x_153; -x_153 = lean_box(0); -x_130 = x_153; -goto block_139; -} -else +uint32_t x_152; uint8_t x_153; +x_152 = 90; +x_153 = lean_uint32_dec_le(x_132, x_152); +if (x_153 == 0) { uint32_t x_154; uint8_t x_155; -x_154 = 122; -x_155 = lean_uint32_dec_le(x_129, x_154); +x_154 = 97; +x_155 = lean_uint32_dec_le(x_154, x_132); if (x_155 == 0) { lean_object* x_156; x_156 = lean_box(0); -x_130 = x_156; -goto block_139; +x_133 = x_156; +goto block_142; } else { -lean_object* x_157; -lean_dec(x_106); -x_157 = lean_box(0); -x_118 = x_157; -goto block_122; -} -} -} -else -{ -lean_object* x_158; -lean_dec(x_106); -x_158 = lean_box(0); -x_118 = x_158; -goto block_122; -} -} -block_139: -{ -uint32_t x_131; uint8_t x_132; -lean_dec(x_130); -x_131 = 95; -x_132 = lean_uint32_dec_eq(x_129, x_131); -if (x_132 == 0) -{ -uint8_t x_133; -x_133 = l_Lean_isLetterLike(x_129); -if (x_133 == 0) -{ -uint8_t x_134; -x_134 = lean_uint32_dec_eq(x_129, x_83); -if (x_134 == 0) -{ -lean_object* x_135; -lean_dec(x_115); -lean_dec(x_110); -lean_dec(x_108); -x_135 = lean_apply_3(x_2, x_117, x_1, x_106); -return x_135; -} -else -{ -lean_object* x_136; -lean_dec(x_106); -x_136 = lean_box(0); -x_118 = x_136; -goto block_122; -} -} -else -{ -lean_object* x_137; -lean_dec(x_106); -x_137 = lean_box(0); -x_118 = x_137; -goto block_122; -} -} -else -{ -lean_object* x_138; -lean_dec(x_106); -x_138 = lean_box(0); -x_118 = x_138; -goto block_122; -} -} -} -else +uint32_t x_157; uint8_t x_158; +x_157 = 122; +x_158 = lean_uint32_dec_le(x_132, x_157); +if (x_158 == 0) { lean_object* x_159; -lean_dec(x_127); -lean_dec(x_115); -lean_dec(x_110); -lean_dec(x_108); -x_159 = lean_apply_3(x_2, x_117, x_1, x_106); -return x_159; -} -} -block_122: -{ -lean_object* x_119; lean_object* x_120; -lean_dec(x_118); -x_119 = lean_string_utf8_next(x_1, x_115); -lean_dec(x_115); -x_120 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_120, 0, x_108); -lean_ctor_set(x_120, 1, x_119); -lean_ctor_set(x_120, 2, x_110); -lean_ctor_set_uint8(x_120, sizeof(void*)*3, x_111); -lean_ctor_set_uint8(x_120, sizeof(void*)*3 + 1, x_112); -lean_ctor_set_uint8(x_120, sizeof(void*)*3 + 2, x_113); -x_3 = x_117; -x_4 = x_120; -goto _start; -} +x_159 = lean_box(0); +x_133 = x_159; +goto block_142; } else { lean_object* x_160; +lean_dec(x_108); +x_160 = lean_box(0); +x_121 = x_160; +goto block_125; +} +} +} +else +{ +lean_object* x_161; +lean_dec(x_108); +x_161 = lean_box(0); +x_121 = x_161; +goto block_125; +} +} +block_142: +{ +uint32_t x_134; uint8_t x_135; +lean_dec(x_133); +x_134 = 95; +x_135 = lean_uint32_dec_eq(x_132, x_134); +if (x_135 == 0) +{ +uint8_t x_136; +x_136 = l_Lean_isLetterLike(x_132); +if (x_136 == 0) +{ +uint8_t x_137; +x_137 = lean_uint32_dec_eq(x_132, x_85); +if (x_137 == 0) +{ +lean_object* x_138; +lean_dec(x_118); +lean_dec(x_112); lean_dec(x_110); -lean_dec(x_104); +x_138 = lean_apply_3(x_2, x_120, x_1, x_108); +return x_138; +} +else +{ +lean_object* x_139; +lean_dec(x_108); +x_139 = lean_box(0); +x_121 = x_139; +goto block_125; +} +} +else +{ +lean_object* x_140; +lean_dec(x_108); +x_140 = lean_box(0); +x_121 = x_140; +goto block_125; +} +} +else +{ +lean_object* x_141; +lean_dec(x_108); +x_141 = lean_box(0); +x_121 = x_141; +goto block_125; +} +} +} +else +{ +lean_object* x_162; +lean_dec(x_130); +lean_dec(x_118); +lean_dec(x_112); +lean_dec(x_110); +x_162 = lean_apply_3(x_2, x_120, x_1, x_108); +return x_162; +} +} +block_125: +{ +lean_object* x_122; lean_object* x_123; +lean_dec(x_121); +x_122 = lean_string_utf8_next(x_1, x_118); +lean_dec(x_118); +x_123 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_123, 0, x_110); +lean_ctor_set(x_123, 1, x_122); +lean_ctor_set(x_123, 2, x_112); +lean_ctor_set_uint8(x_123, sizeof(void*)*3, x_113); +lean_ctor_set_uint8(x_123, sizeof(void*)*3 + 1, x_114); +lean_ctor_set_uint8(x_123, sizeof(void*)*3 + 2, x_115); +lean_ctor_set_uint8(x_123, sizeof(void*)*3 + 3, x_116); +x_3 = x_120; +x_4 = x_123; +goto _start; +} +} +else +{ +lean_object* x_163; +lean_dec(x_112); +lean_dec(x_106); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_160 = l_Lean_ParseImports_moduleIdent_parse___closed__4; -lean_ctor_set(x_106, 2, x_160); -return x_106; +x_163 = l_Lean_ParseImports_moduleIdent_parse___closed__4; +lean_ctor_set(x_108, 2, x_163); +return x_108; } } else { -lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; uint8_t x_165; uint8_t x_166; uint8_t x_167; -x_161 = lean_ctor_get(x_106, 0); -x_162 = lean_ctor_get(x_106, 1); -x_163 = lean_ctor_get(x_106, 2); -x_164 = lean_ctor_get_uint8(x_106, sizeof(void*)*3); -x_165 = lean_ctor_get_uint8(x_106, sizeof(void*)*3 + 1); -x_166 = lean_ctor_get_uint8(x_106, sizeof(void*)*3 + 2); -lean_inc(x_163); -lean_inc(x_162); -lean_inc(x_161); +lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; uint8_t x_168; uint8_t x_169; uint8_t x_170; uint8_t x_171; +x_164 = lean_ctor_get(x_108, 0); +x_165 = lean_ctor_get(x_108, 1); +x_166 = lean_ctor_get(x_108, 2); +x_167 = lean_ctor_get_uint8(x_108, sizeof(void*)*3); +x_168 = lean_ctor_get_uint8(x_108, sizeof(void*)*3 + 1); +x_169 = lean_ctor_get_uint8(x_108, sizeof(void*)*3 + 2); +x_170 = lean_ctor_get_uint8(x_108, sizeof(void*)*3 + 3); +lean_inc(x_166); +lean_inc(x_165); +lean_inc(x_164); +lean_dec(x_108); +x_171 = lean_string_utf8_at_end(x_1, x_165); +if (x_171 == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint32_t x_181; uint32_t x_182; uint8_t x_183; +x_172 = lean_string_utf8_next_fast(x_1, x_165); +lean_inc(x_166); +lean_inc(x_172); +lean_inc(x_164); +x_173 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_173, 0, x_164); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set(x_173, 2, x_166); +lean_ctor_set_uint8(x_173, sizeof(void*)*3, x_167); +lean_ctor_set_uint8(x_173, sizeof(void*)*3 + 1, x_168); +lean_ctor_set_uint8(x_173, sizeof(void*)*3 + 2, x_169); +lean_ctor_set_uint8(x_173, sizeof(void*)*3 + 3, x_170); +x_174 = lean_string_utf8_extract(x_1, x_106, x_165); +lean_dec(x_165); lean_dec(x_106); -x_167 = lean_string_utf8_at_end(x_1, x_162); -if (x_167 == 0) +x_175 = l_Lean_Name_str___override(x_3, x_174); +x_181 = lean_string_utf8_get(x_1, x_172); +x_182 = 46; +x_183 = lean_uint32_dec_eq(x_181, x_182); +if (x_183 == 0) { -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint32_t x_177; uint32_t x_178; uint8_t x_179; -x_168 = lean_string_utf8_next_fast(x_1, x_162); -lean_inc(x_163); -lean_inc(x_168); -lean_inc(x_161); -x_169 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_169, 0, x_161); -lean_ctor_set(x_169, 1, x_168); -lean_ctor_set(x_169, 2, x_163); -lean_ctor_set_uint8(x_169, sizeof(void*)*3, x_164); -lean_ctor_set_uint8(x_169, sizeof(void*)*3 + 1, x_165); -lean_ctor_set_uint8(x_169, sizeof(void*)*3 + 2, x_166); -x_170 = lean_string_utf8_extract(x_1, x_104, x_162); -lean_dec(x_162); -lean_dec(x_104); -x_171 = l_Lean_Name_str___override(x_3, x_170); -x_177 = lean_string_utf8_get(x_1, x_168); -x_178 = 46; -x_179 = lean_uint32_dec_eq(x_177, x_178); -if (x_179 == 0) -{ -lean_object* x_180; -lean_dec(x_168); -lean_dec(x_163); -lean_dec(x_161); -x_180 = lean_apply_3(x_2, x_171, x_1, x_169); -return x_180; +lean_object* x_184; +lean_dec(x_172); +lean_dec(x_166); +lean_dec(x_164); +x_184 = lean_apply_3(x_2, x_175, x_1, x_173); +return x_184; } else { -lean_object* x_181; uint8_t x_182; -x_181 = lean_string_utf8_next(x_1, x_168); -x_182 = lean_string_utf8_at_end(x_1, x_181); -if (x_182 == 0) +lean_object* x_185; uint8_t x_186; +x_185 = lean_string_utf8_next(x_1, x_172); +x_186 = lean_string_utf8_at_end(x_1, x_185); +if (x_186 == 0) { -uint32_t x_183; lean_object* x_184; uint32_t x_194; uint8_t x_195; -x_183 = lean_string_utf8_get_fast(x_1, x_181); -lean_dec(x_181); -x_194 = 65; -x_195 = lean_uint32_dec_le(x_194, x_183); -if (x_195 == 0) +uint32_t x_187; lean_object* x_188; uint32_t x_198; uint8_t x_199; +x_187 = lean_string_utf8_get_fast(x_1, x_185); +lean_dec(x_185); +x_198 = 65; +x_199 = lean_uint32_dec_le(x_198, x_187); +if (x_199 == 0) { -uint32_t x_196; uint8_t x_197; -x_196 = 97; -x_197 = lean_uint32_dec_le(x_196, x_183); -if (x_197 == 0) -{ -lean_object* x_198; -x_198 = lean_box(0); -x_184 = x_198; -goto block_193; -} -else -{ -uint32_t x_199; uint8_t x_200; -x_199 = 122; -x_200 = lean_uint32_dec_le(x_183, x_199); -if (x_200 == 0) -{ -lean_object* x_201; -x_201 = lean_box(0); -x_184 = x_201; -goto block_193; -} -else +uint32_t x_200; uint8_t x_201; +x_200 = 97; +x_201 = lean_uint32_dec_le(x_200, x_187); +if (x_201 == 0) { lean_object* x_202; -lean_dec(x_169); x_202 = lean_box(0); -x_172 = x_202; -goto block_176; -} -} +x_188 = x_202; +goto block_197; } else { uint32_t x_203; uint8_t x_204; -x_203 = 90; -x_204 = lean_uint32_dec_le(x_183, x_203); +x_203 = 122; +x_204 = lean_uint32_dec_le(x_187, x_203); if (x_204 == 0) { -uint32_t x_205; uint8_t x_206; -x_205 = 97; -x_206 = lean_uint32_dec_le(x_205, x_183); -if (x_206 == 0) -{ -lean_object* x_207; -x_207 = lean_box(0); -x_184 = x_207; -goto block_193; +lean_object* x_205; +x_205 = lean_box(0); +x_188 = x_205; +goto block_197; } else { -uint32_t x_208; uint8_t x_209; -x_208 = 122; -x_209 = lean_uint32_dec_le(x_183, x_208); -if (x_209 == 0) -{ -lean_object* x_210; -x_210 = lean_box(0); -x_184 = x_210; -goto block_193; +lean_object* x_206; +lean_dec(x_173); +x_206 = lean_box(0); +x_176 = x_206; +goto block_180; +} +} } else { +uint32_t x_207; uint8_t x_208; +x_207 = 90; +x_208 = lean_uint32_dec_le(x_187, x_207); +if (x_208 == 0) +{ +uint32_t x_209; uint8_t x_210; +x_209 = 97; +x_210 = lean_uint32_dec_le(x_209, x_187); +if (x_210 == 0) +{ lean_object* x_211; -lean_dec(x_169); x_211 = lean_box(0); -x_172 = x_211; -goto block_176; -} -} +x_188 = x_211; +goto block_197; } else { -lean_object* x_212; -lean_dec(x_169); -x_212 = lean_box(0); -x_172 = x_212; -goto block_176; -} -} -block_193: +uint32_t x_212; uint8_t x_213; +x_212 = 122; +x_213 = lean_uint32_dec_le(x_187, x_212); +if (x_213 == 0) { -uint32_t x_185; uint8_t x_186; -lean_dec(x_184); -x_185 = 95; -x_186 = lean_uint32_dec_eq(x_183, x_185); -if (x_186 == 0) -{ -uint8_t x_187; -x_187 = l_Lean_isLetterLike(x_183); -if (x_187 == 0) -{ -uint8_t x_188; -x_188 = lean_uint32_dec_eq(x_183, x_83); -if (x_188 == 0) -{ -lean_object* x_189; -lean_dec(x_168); -lean_dec(x_163); -lean_dec(x_161); -x_189 = lean_apply_3(x_2, x_171, x_1, x_169); -return x_189; +lean_object* x_214; +x_214 = lean_box(0); +x_188 = x_214; +goto block_197; } else { -lean_object* x_190; -lean_dec(x_169); -x_190 = lean_box(0); -x_172 = x_190; -goto block_176; -} -} -else -{ -lean_object* x_191; -lean_dec(x_169); -x_191 = lean_box(0); -x_172 = x_191; -goto block_176; -} -} -else -{ -lean_object* x_192; -lean_dec(x_169); -x_192 = lean_box(0); -x_172 = x_192; -goto block_176; -} -} -} -else -{ -lean_object* x_213; -lean_dec(x_181); -lean_dec(x_168); -lean_dec(x_163); -lean_dec(x_161); -x_213 = lean_apply_3(x_2, x_171, x_1, x_169); -return x_213; -} -} -block_176: -{ -lean_object* x_173; lean_object* x_174; -lean_dec(x_172); -x_173 = lean_string_utf8_next(x_1, x_168); -lean_dec(x_168); -x_174 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_174, 0, x_161); -lean_ctor_set(x_174, 1, x_173); -lean_ctor_set(x_174, 2, x_163); -lean_ctor_set_uint8(x_174, sizeof(void*)*3, x_164); -lean_ctor_set_uint8(x_174, sizeof(void*)*3 + 1, x_165); -lean_ctor_set_uint8(x_174, sizeof(void*)*3 + 2, x_166); -x_3 = x_171; -x_4 = x_174; -goto _start; -} -} -else -{ -lean_object* x_214; lean_object* x_215; -lean_dec(x_163); -lean_dec(x_104); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_214 = l_Lean_ParseImports_moduleIdent_parse___closed__4; -x_215 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_215, 0, x_161); -lean_ctor_set(x_215, 1, x_162); -lean_ctor_set(x_215, 2, x_214); -lean_ctor_set_uint8(x_215, sizeof(void*)*3, x_164); -lean_ctor_set_uint8(x_215, sizeof(void*)*3 + 1, x_165); -lean_ctor_set_uint8(x_215, sizeof(void*)*3 + 2, x_166); -return x_215; -} -} -} -block_72: -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint32_t x_34; uint32_t x_35; uint8_t x_36; -lean_dec(x_13); -x_14 = lean_string_utf8_next_fast(x_1, x_6); -if (lean_is_scalar(x_12)) { - x_15 = lean_alloc_ctor(0, 3, 3); -} else { - x_15 = x_12; -} -lean_ctor_set(x_15, 0, x_5); -lean_ctor_set(x_15, 1, x_14); -lean_ctor_set(x_15, 2, x_7); -lean_ctor_set_uint8(x_15, sizeof(void*)*3, x_8); -lean_ctor_set_uint8(x_15, sizeof(void*)*3 + 1, x_9); -lean_ctor_set_uint8(x_15, sizeof(void*)*3 + 2, x_10); -x_16 = l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__1(x_1, x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -x_18 = lean_string_utf8_extract(x_1, x_6, x_17); -lean_dec(x_6); -x_19 = l_Lean_Name_str___override(x_3, x_18); -x_34 = lean_string_utf8_get(x_1, x_17); -x_35 = 46; -x_36 = lean_uint32_dec_eq(x_34, x_35); -if (x_36 == 0) -{ -lean_object* x_37; -lean_dec(x_17); -x_37 = lean_apply_3(x_2, x_19, x_1, x_16); -return x_37; -} -else -{ -lean_object* x_38; uint8_t x_39; -x_38 = lean_string_utf8_next(x_1, x_17); -x_39 = lean_string_utf8_at_end(x_1, x_38); -if (x_39 == 0) -{ -uint32_t x_40; lean_object* x_41; uint32_t x_52; uint8_t x_53; -x_40 = lean_string_utf8_get_fast(x_1, x_38); -lean_dec(x_38); -x_52 = 65; -x_53 = lean_uint32_dec_le(x_52, x_40); -if (x_53 == 0) -{ -uint32_t x_54; uint8_t x_55; -x_54 = 97; -x_55 = lean_uint32_dec_le(x_54, x_40); -if (x_55 == 0) -{ -lean_object* x_56; -x_56 = lean_box(0); -x_41 = x_56; -goto block_51; -} -else -{ -uint32_t x_57; uint8_t x_58; -x_57 = 122; -x_58 = lean_uint32_dec_le(x_40, x_57); -if (x_58 == 0) -{ -lean_object* x_59; -x_59 = lean_box(0); -x_41 = x_59; -goto block_51; -} -else -{ -lean_object* x_60; -x_60 = lean_box(0); -x_20 = x_60; -goto block_33; -} -} -} -else -{ -uint32_t x_61; uint8_t x_62; -x_61 = 90; -x_62 = lean_uint32_dec_le(x_40, x_61); -if (x_62 == 0) -{ -uint32_t x_63; uint8_t x_64; -x_63 = 97; -x_64 = lean_uint32_dec_le(x_63, x_40); -if (x_64 == 0) -{ -lean_object* x_65; -x_65 = lean_box(0); -x_41 = x_65; -goto block_51; -} -else -{ -uint32_t x_66; uint8_t x_67; -x_66 = 122; -x_67 = lean_uint32_dec_le(x_40, x_66); -if (x_67 == 0) -{ -lean_object* x_68; -x_68 = lean_box(0); -x_41 = x_68; -goto block_51; -} -else -{ -lean_object* x_69; -x_69 = lean_box(0); -x_20 = x_69; -goto block_33; -} -} -} -else -{ -lean_object* x_70; -x_70 = lean_box(0); -x_20 = x_70; -goto block_33; -} -} -block_51: -{ -uint32_t x_42; uint8_t x_43; -lean_dec(x_41); -x_42 = 95; -x_43 = lean_uint32_dec_eq(x_40, x_42); -if (x_43 == 0) -{ -uint8_t x_44; -x_44 = l_Lean_isLetterLike(x_40); -if (x_44 == 0) -{ -uint32_t x_45; uint8_t x_46; -x_45 = l_Lean_idBeginEscape; -x_46 = lean_uint32_dec_eq(x_40, x_45); -if (x_46 == 0) -{ -lean_object* x_47; -lean_dec(x_17); -x_47 = lean_apply_3(x_2, x_19, x_1, x_16); -return x_47; -} -else -{ -lean_object* x_48; -x_48 = lean_box(0); -x_20 = x_48; -goto block_33; -} -} -else -{ -lean_object* x_49; -x_49 = lean_box(0); -x_20 = x_49; -goto block_33; -} -} -else -{ -lean_object* x_50; -x_50 = lean_box(0); -x_20 = x_50; -goto block_33; -} -} -} -else -{ -lean_object* x_71; -lean_dec(x_38); -lean_dec(x_17); -x_71 = lean_apply_3(x_2, x_19, x_1, x_16); -return x_71; -} -} -block_33: -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; -lean_dec(x_20); -x_21 = lean_ctor_get(x_16, 0); -lean_inc(x_21); -x_22 = lean_string_utf8_next(x_1, x_17); -lean_dec(x_17); -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_16, 1); -lean_dec(x_24); -x_25 = lean_ctor_get(x_16, 0); -lean_dec(x_25); -lean_ctor_set(x_16, 1, x_22); -x_3 = x_19; -x_4 = x_16; -goto _start; -} -else -{ -lean_object* x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_16, 2); -x_28 = lean_ctor_get_uint8(x_16, sizeof(void*)*3); -x_29 = lean_ctor_get_uint8(x_16, sizeof(void*)*3 + 1); -x_30 = lean_ctor_get_uint8(x_16, sizeof(void*)*3 + 2); -lean_inc(x_27); -lean_dec(x_16); -x_31 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_31, 0, x_21); -lean_ctor_set(x_31, 1, x_22); -lean_ctor_set(x_31, 2, x_27); -lean_ctor_set_uint8(x_31, sizeof(void*)*3, x_28); -lean_ctor_set_uint8(x_31, sizeof(void*)*3 + 1, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*3 + 2, x_30); -x_3 = x_19; -x_4 = x_31; -goto _start; -} -} -} -block_82: -{ -uint32_t x_75; uint8_t x_76; -lean_dec(x_74); -x_75 = 95; -x_76 = lean_uint32_dec_eq(x_73, x_75); -if (x_76 == 0) -{ -uint8_t x_77; -x_77 = l_Lean_isLetterLike(x_73); -if (x_77 == 0) -{ -lean_object* x_78; lean_object* x_79; -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_78 = l_Lean_ParseImports_moduleIdent_parse___closed__2; -x_79 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_79, 0, x_5); -lean_ctor_set(x_79, 1, x_6); -lean_ctor_set(x_79, 2, x_78); -lean_ctor_set_uint8(x_79, sizeof(void*)*3, x_8); -lean_ctor_set_uint8(x_79, sizeof(void*)*3 + 1, x_9); -lean_ctor_set_uint8(x_79, sizeof(void*)*3 + 2, x_10); -return x_79; -} -else -{ -lean_object* x_80; -x_80 = lean_box(0); -x_13 = x_80; -goto block_72; -} -} -else -{ -lean_object* x_81; -x_81 = lean_box(0); -x_13 = x_81; -goto block_72; +lean_object* x_215; +lean_dec(x_173); +x_215 = lean_box(0); +x_176 = x_215; +goto block_180; } } } else { lean_object* x_216; +lean_dec(x_173); +x_216 = lean_box(0); +x_176 = x_216; +goto block_180; +} +} +block_197: +{ +uint32_t x_189; uint8_t x_190; +lean_dec(x_188); +x_189 = 95; +x_190 = lean_uint32_dec_eq(x_187, x_189); +if (x_190 == 0) +{ +uint8_t x_191; +x_191 = l_Lean_isLetterLike(x_187); +if (x_191 == 0) +{ +uint8_t x_192; +x_192 = lean_uint32_dec_eq(x_187, x_85); +if (x_192 == 0) +{ +lean_object* x_193; +lean_dec(x_172); +lean_dec(x_166); +lean_dec(x_164); +x_193 = lean_apply_3(x_2, x_175, x_1, x_173); +return x_193; +} +else +{ +lean_object* x_194; +lean_dec(x_173); +x_194 = lean_box(0); +x_176 = x_194; +goto block_180; +} +} +else +{ +lean_object* x_195; +lean_dec(x_173); +x_195 = lean_box(0); +x_176 = x_195; +goto block_180; +} +} +else +{ +lean_object* x_196; +lean_dec(x_173); +x_196 = lean_box(0); +x_176 = x_196; +goto block_180; +} +} +} +else +{ +lean_object* x_217; +lean_dec(x_185); +lean_dec(x_172); +lean_dec(x_166); +lean_dec(x_164); +x_217 = lean_apply_3(x_2, x_175, x_1, x_173); +return x_217; +} +} +block_180: +{ +lean_object* x_177; lean_object* x_178; +lean_dec(x_176); +x_177 = lean_string_utf8_next(x_1, x_172); +lean_dec(x_172); +x_178 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_178, 0, x_164); +lean_ctor_set(x_178, 1, x_177); +lean_ctor_set(x_178, 2, x_166); +lean_ctor_set_uint8(x_178, sizeof(void*)*3, x_167); +lean_ctor_set_uint8(x_178, sizeof(void*)*3 + 1, x_168); +lean_ctor_set_uint8(x_178, sizeof(void*)*3 + 2, x_169); +lean_ctor_set_uint8(x_178, sizeof(void*)*3 + 3, x_170); +x_3 = x_175; +x_4 = x_178; +goto _start; +} +} +else +{ +lean_object* x_218; lean_object* x_219; +lean_dec(x_166); +lean_dec(x_106); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_218 = l_Lean_ParseImports_moduleIdent_parse___closed__4; +x_219 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_219, 0, x_164); +lean_ctor_set(x_219, 1, x_165); +lean_ctor_set(x_219, 2, x_218); +lean_ctor_set_uint8(x_219, sizeof(void*)*3, x_167); +lean_ctor_set_uint8(x_219, sizeof(void*)*3 + 1, x_168); +lean_ctor_set_uint8(x_219, sizeof(void*)*3 + 2, x_169); +lean_ctor_set_uint8(x_219, sizeof(void*)*3 + 3, x_170); +return x_219; +} +} +} +block_74: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint32_t x_36; uint32_t x_37; uint8_t x_38; +lean_dec(x_14); +x_15 = lean_string_utf8_next_fast(x_1, x_6); +if (lean_is_scalar(x_13)) { + x_16 = lean_alloc_ctor(0, 3, 4); +} else { + x_16 = x_13; +} +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set(x_16, 2, x_7); +lean_ctor_set_uint8(x_16, sizeof(void*)*3, x_8); +lean_ctor_set_uint8(x_16, sizeof(void*)*3 + 1, x_9); +lean_ctor_set_uint8(x_16, sizeof(void*)*3 + 2, x_10); +lean_ctor_set_uint8(x_16, sizeof(void*)*3 + 3, x_11); +x_17 = l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__1(x_1, x_16); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_string_utf8_extract(x_1, x_6, x_18); +lean_dec(x_6); +x_20 = l_Lean_Name_str___override(x_3, x_19); +x_36 = lean_string_utf8_get(x_1, x_18); +x_37 = 46; +x_38 = lean_uint32_dec_eq(x_36, x_37); +if (x_38 == 0) +{ +lean_object* x_39; +lean_dec(x_18); +x_39 = lean_apply_3(x_2, x_20, x_1, x_17); +return x_39; +} +else +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_string_utf8_next(x_1, x_18); +x_41 = lean_string_utf8_at_end(x_1, x_40); +if (x_41 == 0) +{ +uint32_t x_42; lean_object* x_43; uint32_t x_54; uint8_t x_55; +x_42 = lean_string_utf8_get_fast(x_1, x_40); +lean_dec(x_40); +x_54 = 65; +x_55 = lean_uint32_dec_le(x_54, x_42); +if (x_55 == 0) +{ +uint32_t x_56; uint8_t x_57; +x_56 = 97; +x_57 = lean_uint32_dec_le(x_56, x_42); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_box(0); +x_43 = x_58; +goto block_53; +} +else +{ +uint32_t x_59; uint8_t x_60; +x_59 = 122; +x_60 = lean_uint32_dec_le(x_42, x_59); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_box(0); +x_43 = x_61; +goto block_53; +} +else +{ +lean_object* x_62; +x_62 = lean_box(0); +x_21 = x_62; +goto block_35; +} +} +} +else +{ +uint32_t x_63; uint8_t x_64; +x_63 = 90; +x_64 = lean_uint32_dec_le(x_42, x_63); +if (x_64 == 0) +{ +uint32_t x_65; uint8_t x_66; +x_65 = 97; +x_66 = lean_uint32_dec_le(x_65, x_42); +if (x_66 == 0) +{ +lean_object* x_67; +x_67 = lean_box(0); +x_43 = x_67; +goto block_53; +} +else +{ +uint32_t x_68; uint8_t x_69; +x_68 = 122; +x_69 = lean_uint32_dec_le(x_42, x_68); +if (x_69 == 0) +{ +lean_object* x_70; +x_70 = lean_box(0); +x_43 = x_70; +goto block_53; +} +else +{ +lean_object* x_71; +x_71 = lean_box(0); +x_21 = x_71; +goto block_35; +} +} +} +else +{ +lean_object* x_72; +x_72 = lean_box(0); +x_21 = x_72; +goto block_35; +} +} +block_53: +{ +uint32_t x_44; uint8_t x_45; +lean_dec(x_43); +x_44 = 95; +x_45 = lean_uint32_dec_eq(x_42, x_44); +if (x_45 == 0) +{ +uint8_t x_46; +x_46 = l_Lean_isLetterLike(x_42); +if (x_46 == 0) +{ +uint32_t x_47; uint8_t x_48; +x_47 = l_Lean_idBeginEscape; +x_48 = lean_uint32_dec_eq(x_42, x_47); +if (x_48 == 0) +{ +lean_object* x_49; +lean_dec(x_18); +x_49 = lean_apply_3(x_2, x_20, x_1, x_17); +return x_49; +} +else +{ +lean_object* x_50; +x_50 = lean_box(0); +x_21 = x_50; +goto block_35; +} +} +else +{ +lean_object* x_51; +x_51 = lean_box(0); +x_21 = x_51; +goto block_35; +} +} +else +{ +lean_object* x_52; +x_52 = lean_box(0); +x_21 = x_52; +goto block_35; +} +} +} +else +{ +lean_object* x_73; +lean_dec(x_40); +lean_dec(x_18); +x_73 = lean_apply_3(x_2, x_20, x_1, x_17); +return x_73; +} +} +block_35: +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +lean_dec(x_21); +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_22); +x_23 = lean_string_utf8_next(x_1, x_18); +lean_dec(x_18); +x_24 = !lean_is_exclusive(x_17); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_17, 1); +lean_dec(x_25); +x_26 = lean_ctor_get(x_17, 0); +lean_dec(x_26); +lean_ctor_set(x_17, 1, x_23); +x_3 = x_20; +x_4 = x_17; +goto _start; +} +else +{ +lean_object* x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; +x_28 = lean_ctor_get(x_17, 2); +x_29 = lean_ctor_get_uint8(x_17, sizeof(void*)*3); +x_30 = lean_ctor_get_uint8(x_17, sizeof(void*)*3 + 1); +x_31 = lean_ctor_get_uint8(x_17, sizeof(void*)*3 + 2); +x_32 = lean_ctor_get_uint8(x_17, sizeof(void*)*3 + 3); +lean_inc(x_28); +lean_dec(x_17); +x_33 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_23); +lean_ctor_set(x_33, 2, x_28); +lean_ctor_set_uint8(x_33, sizeof(void*)*3, x_29); +lean_ctor_set_uint8(x_33, sizeof(void*)*3 + 1, x_30); +lean_ctor_set_uint8(x_33, sizeof(void*)*3 + 2, x_31); +lean_ctor_set_uint8(x_33, sizeof(void*)*3 + 3, x_32); +x_3 = x_20; +x_4 = x_33; +goto _start; +} +} +} +block_84: +{ +uint32_t x_77; uint8_t x_78; +lean_dec(x_76); +x_77 = 95; +x_78 = lean_uint32_dec_eq(x_75, x_77); +if (x_78 == 0) +{ +uint8_t x_79; +x_79 = l_Lean_isLetterLike(x_75); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_80 = l_Lean_ParseImports_moduleIdent_parse___closed__2; +x_81 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_81, 0, x_5); +lean_ctor_set(x_81, 1, x_6); +lean_ctor_set(x_81, 2, x_80); +lean_ctor_set_uint8(x_81, sizeof(void*)*3, x_8); +lean_ctor_set_uint8(x_81, sizeof(void*)*3 + 1, x_9); +lean_ctor_set_uint8(x_81, sizeof(void*)*3 + 2, x_10); +lean_ctor_set_uint8(x_81, sizeof(void*)*3 + 3, x_11); +return x_81; +} +else +{ +lean_object* x_82; +x_82 = lean_box(0); +x_14 = x_82; +goto block_74; +} +} +else +{ +lean_object* x_83; +x_83 = lean_box(0); +x_14 = x_83; +goto block_74; +} +} +} +else +{ +lean_object* x_220; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_216 = l_Lean_ParseImports_State_mkEOIError(x_4); -return x_216; +x_220 = l_Lean_ParseImports_State_mkEOIError(x_4); +return x_220; } } } @@ -3617,9 +3680,9 @@ LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent___lambda__1(lean_object _start: { uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); -x_5 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); -x_6 = 0; +x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); +x_5 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_6 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); x_7 = lean_alloc_ctor(0, 1, 3); lean_ctor_set(x_7, 0, x_1); lean_ctor_set_uint8(x_7, sizeof(void*)*1, x_4); @@ -3709,6 +3772,7 @@ lean_ctor_set(x_3, 0, x_15); lean_ctor_set_uint8(x_3, sizeof(void*)*3, x_17); lean_ctor_set_uint8(x_3, sizeof(void*)*3 + 1, x_17); lean_ctor_set_uint8(x_3, sizeof(void*)*3 + 2, x_17); +lean_ctor_set_uint8(x_3, sizeof(void*)*3 + 3, x_17); return x_3; } } @@ -3738,19 +3802,20 @@ x_21 = l_Array_shrink___rarg(x_20, x_6); lean_dec(x_6); x_22 = lean_box(0); x_23 = 0; -x_24 = lean_alloc_ctor(0, 3, 3); +x_24 = lean_alloc_ctor(0, 3, 4); lean_ctor_set(x_24, 0, x_21); lean_ctor_set(x_24, 1, x_5); lean_ctor_set(x_24, 2, x_22); lean_ctor_set_uint8(x_24, sizeof(void*)*3, x_23); lean_ctor_set_uint8(x_24, sizeof(void*)*3 + 1, x_23); lean_ctor_set_uint8(x_24, sizeof(void*)*3 + 2, x_23); +lean_ctor_set_uint8(x_24, sizeof(void*)*3 + 3, x_23); return x_24; } } } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsExported(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsMeta(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -3762,24 +3827,72 @@ return x_3; } else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11; x_5 = lean_ctor_get(x_3, 0); x_6 = lean_ctor_get(x_3, 1); x_7 = lean_ctor_get(x_3, 2); x_8 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); x_9 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_10 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_dec(x_3); -x_10 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_10, 0, x_5); -lean_ctor_set(x_10, 1, x_6); -lean_ctor_set(x_10, 2, x_7); -lean_ctor_set_uint8(x_10, sizeof(void*)*3, x_8); -lean_ctor_set_uint8(x_10, sizeof(void*)*3 + 1, x_1); -lean_ctor_set_uint8(x_10, sizeof(void*)*3 + 2, x_9); -return x_10; +x_11 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 1, x_6); +lean_ctor_set(x_11, 2, x_7); +lean_ctor_set_uint8(x_11, sizeof(void*)*3, x_8); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 1, x_1); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 2, x_9); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 3, x_10); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsMeta___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_1); +lean_dec(x_1); +x_5 = l_Lean_ParseImports_setIsMeta(x_4, x_2, x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsExported(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_ctor_set_uint8(x_3, sizeof(void*)*3 + 2, x_1); +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +x_8 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); +x_9 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); +x_10 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_3); +x_11 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 1, x_6); +lean_ctor_set(x_11, 2, x_7); +lean_ctor_set_uint8(x_11, sizeof(void*)*3, x_8); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 1, x_9); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 2, x_1); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 3, x_10); +return x_11; } } } @@ -3801,29 +3914,31 @@ uint8_t x_4; x_4 = !lean_is_exclusive(x_3); if (x_4 == 0) { -lean_ctor_set_uint8(x_3, sizeof(void*)*3 + 2, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*3 + 3, x_1); return x_3; } else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11; x_5 = lean_ctor_get(x_3, 0); x_6 = lean_ctor_get(x_3, 1); x_7 = lean_ctor_get(x_3, 2); x_8 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); x_9 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); +x_10 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_dec(x_3); -x_10 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_10, 0, x_5); -lean_ctor_set(x_10, 1, x_6); -lean_ctor_set(x_10, 2, x_7); -lean_ctor_set_uint8(x_10, sizeof(void*)*3, x_8); -lean_ctor_set_uint8(x_10, sizeof(void*)*3 + 1, x_9); -lean_ctor_set_uint8(x_10, sizeof(void*)*3 + 2, x_1); -return x_10; +x_11 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 1, x_6); +lean_ctor_set(x_11, 2, x_7); +lean_ctor_set_uint8(x_11, sizeof(void*)*3, x_8); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 1, x_9); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 2, x_10); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 3, x_1); +return x_11; } } } @@ -3868,110 +3983,116 @@ return x_3; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; x_13 = lean_ctor_get(x_3, 0); x_14 = lean_ctor_get(x_3, 1); x_15 = lean_ctor_get(x_3, 2); x_16 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); x_17 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_18 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_dec(x_3); -x_18 = 1; -x_19 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_19, 0, x_13); -lean_ctor_set(x_19, 1, x_14); -lean_ctor_set(x_19, 2, x_15); -lean_ctor_set_uint8(x_19, sizeof(void*)*3, x_18); -lean_ctor_set_uint8(x_19, sizeof(void*)*3 + 1, x_16); -lean_ctor_set_uint8(x_19, sizeof(void*)*3 + 2, x_17); -return x_19; +x_19 = 1; +x_20 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_20, 1, x_14); +lean_ctor_set(x_20, 2, x_15); +lean_ctor_set_uint8(x_20, sizeof(void*)*3, x_19); +lean_ctor_set_uint8(x_20, sizeof(void*)*3 + 1, x_16); +lean_ctor_set_uint8(x_20, sizeof(void*)*3 + 2, x_17); +lean_ctor_set_uint8(x_20, sizeof(void*)*3 + 3, x_18); +return x_20; } } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_string_utf8_next_fast(x_1, x_4); +lean_object* x_21; lean_object* x_22; +x_21 = lean_string_utf8_next_fast(x_1, x_4); lean_dec(x_4); -x_21 = lean_string_utf8_next_fast(x_2, x_5); +x_22 = lean_string_utf8_next_fast(x_2, x_5); lean_dec(x_5); -x_4 = x_20; -x_5 = x_21; +x_4 = x_21; +x_5 = x_22; goto _start; } } else { -uint8_t x_23; +uint8_t x_24; lean_dec(x_5); lean_dec(x_4); -x_23 = !lean_is_exclusive(x_3); -if (x_23 == 0) +x_24 = !lean_is_exclusive(x_3); +if (x_24 == 0) { -uint8_t x_24; -x_24 = 1; -lean_ctor_set_uint8(x_3, sizeof(void*)*3, x_24); +uint8_t x_25; +x_25 = 1; +lean_ctor_set_uint8(x_3, sizeof(void*)*3, x_25); return x_3; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; lean_object* x_31; -x_25 = lean_ctor_get(x_3, 0); -x_26 = lean_ctor_get(x_3, 1); -x_27 = lean_ctor_get(x_3, 2); -x_28 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); -x_29 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; +x_26 = lean_ctor_get(x_3, 0); +x_27 = lean_ctor_get(x_3, 1); +x_28 = lean_ctor_get(x_3, 2); +x_29 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); +x_30 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_31 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); +lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); lean_dec(x_3); -x_30 = 1; -x_31 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_31, 0, x_25); -lean_ctor_set(x_31, 1, x_26); -lean_ctor_set(x_31, 2, x_27); -lean_ctor_set_uint8(x_31, sizeof(void*)*3, x_30); -lean_ctor_set_uint8(x_31, sizeof(void*)*3 + 1, x_28); -lean_ctor_set_uint8(x_31, sizeof(void*)*3 + 2, x_29); -return x_31; +x_32 = 1; +x_33 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_33, 0, x_26); +lean_ctor_set(x_33, 1, x_27); +lean_ctor_set(x_33, 2, x_28); +lean_ctor_set_uint8(x_33, sizeof(void*)*3, x_32); +lean_ctor_set_uint8(x_33, sizeof(void*)*3 + 1, x_29); +lean_ctor_set_uint8(x_33, sizeof(void*)*3 + 2, x_30); +lean_ctor_set_uint8(x_33, sizeof(void*)*3 + 3, x_31); +return x_33; } } } else { -uint8_t x_32; +uint8_t x_34; lean_dec(x_4); -x_32 = !lean_is_exclusive(x_3); -if (x_32 == 0) +x_34 = !lean_is_exclusive(x_3); +if (x_34 == 0) { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_3, 1); -lean_dec(x_33); +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_3, 1); +lean_dec(x_35); lean_ctor_set(x_3, 1, x_5); -x_34 = l_Lean_ParseImports_whitespace(x_2, x_3); -return x_34; +x_36 = l_Lean_ParseImports_whitespace(x_2, x_3); +return x_36; } else { -lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; -x_35 = lean_ctor_get(x_3, 0); -x_36 = lean_ctor_get(x_3, 2); -x_37 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); -x_38 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); -x_39 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); -lean_inc(x_36); -lean_inc(x_35); +lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; +x_37 = lean_ctor_get(x_3, 0); +x_38 = lean_ctor_get(x_3, 2); +x_39 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); +x_40 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); +x_41 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_42 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); +lean_inc(x_38); +lean_inc(x_37); lean_dec(x_3); -x_40 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_40, 0, x_35); -lean_ctor_set(x_40, 1, x_5); -lean_ctor_set(x_40, 2, x_36); -lean_ctor_set_uint8(x_40, sizeof(void*)*3, x_37); -lean_ctor_set_uint8(x_40, sizeof(void*)*3 + 1, x_38); -lean_ctor_set_uint8(x_40, sizeof(void*)*3 + 2, x_39); -x_41 = l_Lean_ParseImports_whitespace(x_2, x_40); -return x_41; +x_43 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_43, 0, x_37); +lean_ctor_set(x_43, 1, x_5); +lean_ctor_set(x_43, 2, x_38); +lean_ctor_set_uint8(x_43, sizeof(void*)*3, x_39); +lean_ctor_set_uint8(x_43, sizeof(void*)*3 + 1, x_40); +lean_ctor_set_uint8(x_43, sizeof(void*)*3 + 2, x_41); +lean_ctor_set_uint8(x_43, sizeof(void*)*3 + 3, x_42); +x_44 = l_Lean_ParseImports_whitespace(x_2, x_43); +return x_44; } } } @@ -4071,24 +4192,26 @@ return x_20; } else { -lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; +lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; x_21 = lean_ctor_get(x_3, 0); x_22 = lean_ctor_get(x_3, 2); x_23 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); x_24 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); x_25 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_26 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); lean_inc(x_22); lean_inc(x_21); lean_dec(x_3); -x_26 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_5); -lean_ctor_set(x_26, 2, x_22); -lean_ctor_set_uint8(x_26, sizeof(void*)*3, x_23); -lean_ctor_set_uint8(x_26, sizeof(void*)*3 + 1, x_24); -lean_ctor_set_uint8(x_26, sizeof(void*)*3 + 2, x_25); -x_27 = l_Lean_ParseImports_whitespace(x_2, x_26); -return x_27; +x_27 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_27, 0, x_21); +lean_ctor_set(x_27, 1, x_5); +lean_ctor_set(x_27, 2, x_22); +lean_ctor_set_uint8(x_27, sizeof(void*)*3, x_23); +lean_ctor_set_uint8(x_27, sizeof(void*)*3 + 1, x_24); +lean_ctor_set_uint8(x_27, sizeof(void*)*3 + 2, x_25); +lean_ctor_set_uint8(x_27, sizeof(void*)*3 + 3, x_26); +x_28 = l_Lean_ParseImports_whitespace(x_2, x_27); +return x_28; } } } @@ -4157,31 +4280,123 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; +lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; x_23 = lean_ctor_get(x_3, 0); x_24 = lean_ctor_get(x_3, 2); x_25 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); x_26 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); x_27 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_28 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); lean_inc(x_24); lean_inc(x_23); lean_dec(x_3); -x_28 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set(x_28, 1, x_5); -lean_ctor_set(x_28, 2, x_24); -lean_ctor_set_uint8(x_28, sizeof(void*)*3, x_25); -lean_ctor_set_uint8(x_28, sizeof(void*)*3 + 1, x_26); -lean_ctor_set_uint8(x_28, sizeof(void*)*3 + 2, x_27); -x_29 = l_Lean_ParseImports_whitespace(x_2, x_28); -x_30 = 0; -x_31 = l_Lean_ParseImports_setIsExported(x_30, x_2, x_29); -return x_31; +x_29 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_29, 0, x_23); +lean_ctor_set(x_29, 1, x_5); +lean_ctor_set(x_29, 2, x_24); +lean_ctor_set_uint8(x_29, sizeof(void*)*3, x_25); +lean_ctor_set_uint8(x_29, sizeof(void*)*3 + 1, x_26); +lean_ctor_set_uint8(x_29, sizeof(void*)*3 + 2, x_27); +lean_ctor_set_uint8(x_29, sizeof(void*)*3 + 3, x_28); +x_30 = l_Lean_ParseImports_whitespace(x_2, x_29); +x_31 = 0; +x_32 = l_Lean_ParseImports_setIsExported(x_31, x_2, x_30); +return x_32; } } } } -static lean_object* _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__1() { +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_string_utf8_at_end(x_1, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +x_7 = lean_string_utf8_at_end(x_2, x_5); +if (x_7 == 0) +{ +uint32_t x_8; uint32_t x_9; uint8_t x_10; +x_8 = lean_string_utf8_get_fast(x_1, x_4); +x_9 = lean_string_utf8_get_fast(x_2, x_5); +x_10 = lean_uint32_dec_eq(x_8, x_9); +if (x_10 == 0) +{ +uint8_t x_11; lean_object* x_12; +lean_dec(x_5); +lean_dec(x_4); +x_11 = 1; +x_12 = l_Lean_ParseImports_setIsMeta(x_11, x_2, x_3); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_string_utf8_next_fast(x_1, x_4); +lean_dec(x_4); +x_14 = lean_string_utf8_next_fast(x_2, x_5); +lean_dec(x_5); +x_4 = x_13; +x_5 = x_14; +goto _start; +} +} +else +{ +uint8_t x_16; lean_object* x_17; +lean_dec(x_5); +lean_dec(x_4); +x_16 = 1; +x_17 = l_Lean_ParseImports_setIsMeta(x_16, x_2, x_3); +return x_17; +} +} +else +{ +uint8_t x_18; +lean_dec(x_4); +x_18 = !lean_is_exclusive(x_3); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_3, 1); +lean_dec(x_19); +lean_ctor_set(x_3, 1, x_5); +x_20 = l_Lean_ParseImports_whitespace(x_2, x_3); +x_21 = 0; +x_22 = l_Lean_ParseImports_setIsMeta(x_21, x_2, x_20); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; +x_23 = lean_ctor_get(x_3, 0); +x_24 = lean_ctor_get(x_3, 2); +x_25 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); +x_26 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); +x_27 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_28 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_3); +x_29 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_29, 0, x_23); +lean_ctor_set(x_29, 1, x_5); +lean_ctor_set(x_29, 2, x_24); +lean_ctor_set_uint8(x_29, sizeof(void*)*3, x_25); +lean_ctor_set_uint8(x_29, sizeof(void*)*3 + 1, x_26); +lean_ctor_set_uint8(x_29, sizeof(void*)*3 + 2, x_27); +lean_ctor_set_uint8(x_29, sizeof(void*)*3 + 3, x_28); +x_30 = l_Lean_ParseImports_whitespace(x_2, x_29); +x_31 = 0; +x_32 = l_Lean_ParseImports_setIsMeta(x_31, x_2, x_30); +return x_32; +} +} +} +} +static lean_object* _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__1() { _start: { lean_object* x_1; @@ -4189,37 +4404,37 @@ x_1 = lean_mk_string_unchecked("import", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__2() { +static lean_object* _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_keyword___spec__1___closed__1; -x_2 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__1; +x_2 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__3() { +static lean_object* _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__2; +x_1 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__2; x_2 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_keyword___spec__1___closed__2; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__4() { +static lean_object* _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__3; +x_1 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__3; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; @@ -4245,121 +4460,127 @@ if (x_11 == 0) lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_3, 2); lean_dec(x_12); -x_13 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__4; +x_13 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__4; lean_ctor_set(x_3, 2, x_13); return x_3; } else { -lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; x_14 = lean_ctor_get(x_3, 0); x_15 = lean_ctor_get(x_3, 1); x_16 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); x_17 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); x_18 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_19 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); lean_inc(x_15); lean_inc(x_14); lean_dec(x_3); -x_19 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__4; -x_20 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_20, 0, x_14); -lean_ctor_set(x_20, 1, x_15); -lean_ctor_set(x_20, 2, x_19); -lean_ctor_set_uint8(x_20, sizeof(void*)*3, x_16); -lean_ctor_set_uint8(x_20, sizeof(void*)*3 + 1, x_17); -lean_ctor_set_uint8(x_20, sizeof(void*)*3 + 2, x_18); -return x_20; +x_20 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__4; +x_21 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_15); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set_uint8(x_21, sizeof(void*)*3, x_16); +lean_ctor_set_uint8(x_21, sizeof(void*)*3 + 1, x_17); +lean_ctor_set_uint8(x_21, sizeof(void*)*3 + 2, x_18); +lean_ctor_set_uint8(x_21, sizeof(void*)*3 + 3, x_19); +return x_21; } } else { -lean_object* x_21; lean_object* x_22; -x_21 = lean_string_utf8_next_fast(x_1, x_4); +lean_object* x_22; lean_object* x_23; +x_22 = lean_string_utf8_next_fast(x_1, x_4); lean_dec(x_4); -x_22 = lean_string_utf8_next_fast(x_2, x_5); +x_23 = lean_string_utf8_next_fast(x_2, x_5); lean_dec(x_5); -x_4 = x_21; -x_5 = x_22; +x_4 = x_22; +x_5 = x_23; goto _start; } } else { -uint8_t x_24; +uint8_t x_25; lean_dec(x_5); lean_dec(x_4); -x_24 = !lean_is_exclusive(x_3); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_3); +if (x_25 == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_3, 2); -lean_dec(x_25); -x_26 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__4; -lean_ctor_set(x_3, 2, x_26); +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_3, 2); +lean_dec(x_26); +x_27 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__4; +lean_ctor_set(x_3, 2, x_27); return x_3; } else { -lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; -x_27 = lean_ctor_get(x_3, 0); -x_28 = lean_ctor_get(x_3, 1); -x_29 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); -x_30 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); -x_31 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_28 = lean_ctor_get(x_3, 0); +x_29 = lean_ctor_get(x_3, 1); +x_30 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); +x_31 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); +x_32 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_33 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); +lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); lean_dec(x_3); -x_32 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__4; -x_33 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_33, 0, x_27); -lean_ctor_set(x_33, 1, x_28); -lean_ctor_set(x_33, 2, x_32); -lean_ctor_set_uint8(x_33, sizeof(void*)*3, x_29); -lean_ctor_set_uint8(x_33, sizeof(void*)*3 + 1, x_30); -lean_ctor_set_uint8(x_33, sizeof(void*)*3 + 2, x_31); -return x_33; +x_34 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__4; +x_35 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_35, 0, x_28); +lean_ctor_set(x_35, 1, x_29); +lean_ctor_set(x_35, 2, x_34); +lean_ctor_set_uint8(x_35, sizeof(void*)*3, x_30); +lean_ctor_set_uint8(x_35, sizeof(void*)*3 + 1, x_31); +lean_ctor_set_uint8(x_35, sizeof(void*)*3 + 2, x_32); +lean_ctor_set_uint8(x_35, sizeof(void*)*3 + 3, x_33); +return x_35; } } } else { -uint8_t x_34; +uint8_t x_36; lean_dec(x_4); -x_34 = !lean_is_exclusive(x_3); -if (x_34 == 0) +x_36 = !lean_is_exclusive(x_3); +if (x_36 == 0) { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_3, 1); -lean_dec(x_35); +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_3, 1); +lean_dec(x_37); lean_ctor_set(x_3, 1, x_5); -x_36 = l_Lean_ParseImports_whitespace(x_2, x_3); -return x_36; +x_38 = l_Lean_ParseImports_whitespace(x_2, x_3); +return x_38; } else { -lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; -x_37 = lean_ctor_get(x_3, 0); -x_38 = lean_ctor_get(x_3, 2); -x_39 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); -x_40 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); -x_41 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); -lean_inc(x_38); -lean_inc(x_37); +lean_object* x_39; lean_object* x_40; uint8_t x_41; uint8_t x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; +x_39 = lean_ctor_get(x_3, 0); +x_40 = lean_ctor_get(x_3, 2); +x_41 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); +x_42 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); +x_43 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_44 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); +lean_inc(x_40); +lean_inc(x_39); lean_dec(x_3); -x_42 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_42, 0, x_37); -lean_ctor_set(x_42, 1, x_5); -lean_ctor_set(x_42, 2, x_38); -lean_ctor_set_uint8(x_42, sizeof(void*)*3, x_39); -lean_ctor_set_uint8(x_42, sizeof(void*)*3 + 1, x_40); -lean_ctor_set_uint8(x_42, sizeof(void*)*3 + 2, x_41); -x_43 = l_Lean_ParseImports_whitespace(x_2, x_42); -return x_43; +x_45 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_45, 0, x_39); +lean_ctor_set(x_45, 1, x_5); +lean_ctor_set(x_45, 2, x_40); +lean_ctor_set_uint8(x_45, sizeof(void*)*3, x_41); +lean_ctor_set_uint8(x_45, sizeof(void*)*3 + 1, x_42); +lean_ctor_set_uint8(x_45, sizeof(void*)*3 + 2, x_43); +lean_ctor_set_uint8(x_45, sizeof(void*)*3 + 3, x_44); +x_46 = l_Lean_ParseImports_whitespace(x_2, x_45); +return x_46; } } } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; @@ -4423,31 +4644,33 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; +lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; x_23 = lean_ctor_get(x_3, 0); x_24 = lean_ctor_get(x_3, 2); x_25 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); x_26 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); x_27 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_28 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); lean_inc(x_24); lean_inc(x_23); lean_dec(x_3); -x_28 = lean_alloc_ctor(0, 3, 3); -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set(x_28, 1, x_5); -lean_ctor_set(x_28, 2, x_24); -lean_ctor_set_uint8(x_28, sizeof(void*)*3, x_25); -lean_ctor_set_uint8(x_28, sizeof(void*)*3 + 1, x_26); -lean_ctor_set_uint8(x_28, sizeof(void*)*3 + 2, x_27); -x_29 = l_Lean_ParseImports_whitespace(x_2, x_28); -x_30 = 1; -x_31 = l_Lean_ParseImports_setImportAll(x_30, x_2, x_29); -return x_31; +x_29 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_29, 0, x_23); +lean_ctor_set(x_29, 1, x_5); +lean_ctor_set(x_29, 2, x_24); +lean_ctor_set_uint8(x_29, sizeof(void*)*3, x_25); +lean_ctor_set_uint8(x_29, sizeof(void*)*3 + 1, x_26); +lean_ctor_set_uint8(x_29, sizeof(void*)*3 + 2, x_27); +lean_ctor_set_uint8(x_29, sizeof(void*)*3 + 3, x_28); +x_30 = l_Lean_ParseImports_whitespace(x_2, x_29); +x_31 = 1; +x_32 = l_Lean_ParseImports_setImportAll(x_31, x_2, x_30); +return x_32; } } } } -static lean_object* _init_l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6___closed__1() { +static lean_object* _init_l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__1() { _start: { lean_object* x_1; @@ -4455,7 +4678,15 @@ x_1 = lean_mk_string_unchecked("private", 7, 7); return x_1; } } -static lean_object* _init_l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6___closed__2() { +static lean_object* _init_l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("meta", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__3() { _start: { lean_object* x_1; @@ -4463,7 +4694,7 @@ x_1 = lean_mk_string_unchecked("all", 3, 3); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -4473,7 +4704,7 @@ x_5 = lean_ctor_get(x_3, 1); lean_inc(x_5); x_6 = lean_array_get_size(x_4); lean_dec(x_4); -x_16 = l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6___closed__1; +x_16 = l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__1; lean_inc(x_5); lean_inc(x_1); x_17 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__3(x_16, x_2, x_3, x_1, x_5); @@ -4484,7 +4715,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); -x_20 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__1; +x_20 = l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__2; lean_inc(x_1); x_21 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4(x_20, x_2, x_17, x_1, x_19); x_22 = lean_ctor_get(x_21, 2); @@ -4494,21 +4725,38 @@ if (lean_obj_tag(x_22) == 0) lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); -x_24 = l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6___closed__2; +x_24 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__1; lean_inc(x_1); x_25 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5(x_24, x_2, x_21, x_1, x_23); x_26 = lean_ctor_get(x_25, 2); lean_inc(x_26); if (lean_obj_tag(x_26) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = l_Lean_ParseImports_moduleIdent___closed__1; -x_28 = lean_box(0); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +x_28 = l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__3; +lean_inc(x_1); +x_29 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__6(x_28, x_2, x_25, x_1, x_27); +x_30 = lean_ctor_get(x_29, 2); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = l_Lean_ParseImports_moduleIdent___closed__1; +x_32 = lean_box(0); lean_inc(x_2); -x_29 = l_Lean_ParseImports_moduleIdent_parse(x_2, x_27, x_28, x_25); +x_33 = l_Lean_ParseImports_moduleIdent_parse(x_2, x_31, x_32, x_29); +x_7 = x_33; +goto block_15; +} +else +{ +lean_dec(x_30); x_7 = x_29; goto block_15; } +} else { lean_dec(x_26); @@ -4554,13 +4802,14 @@ x_11 = l_Array_shrink___rarg(x_10, x_6); lean_dec(x_6); x_12 = lean_box(0); x_13 = 0; -x_14 = lean_alloc_ctor(0, 3, 3); +x_14 = lean_alloc_ctor(0, 3, 4); lean_ctor_set(x_14, 0, x_11); lean_ctor_set(x_14, 1, x_5); lean_ctor_set(x_14, 2, x_12); lean_ctor_set_uint8(x_14, sizeof(void*)*3, x_13); lean_ctor_set_uint8(x_14, sizeof(void*)*3 + 1, x_13); lean_ctor_set_uint8(x_14, sizeof(void*)*3 + 2, x_13); +lean_ctor_set_uint8(x_14, sizeof(void*)*3 + 3, x_13); return x_14; } } @@ -4605,7 +4854,7 @@ lean_inc(x_11); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; -x_12 = l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6(x_5, x_1, x_10); +x_12 = l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7(x_5, x_1, x_10); return x_12; } else @@ -4673,7 +4922,17 @@ lean_dec(x_1); return x_6; } } -LEAN_EXPORT uint8_t l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__6(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____lambda__1(lean_object* x_1) { _start: { uint8_t x_2; @@ -4681,15 +4940,15 @@ x_2 = 0; return x_2; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__1() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____lambda__1___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____lambda__1___boxed), 1, 0); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__2() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__2() { _start: { lean_object* x_1; @@ -4697,7 +4956,7 @@ x_1 = lean_mk_string_unchecked("importAll", 9, 9); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__3() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__3() { _start: { lean_object* x_1; @@ -4705,7 +4964,7 @@ x_1 = lean_mk_string_unchecked("isExported", 10, 10); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__4() { _start: { lean_object* x_1; @@ -4713,7 +4972,7 @@ x_1 = lean_mk_string_unchecked("isMeta", 6, 6); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -4722,14 +4981,14 @@ x_2 = lean_array_mk(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = 1; -x_4 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__1; +x_4 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__1; x_5 = l_Lean_Name_toString(x_2, x_3, x_4); x_6 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_6, 0, x_5); @@ -4744,7 +5003,7 @@ lean_ctor_set(x_10, 1, x_9); x_11 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); x_12 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_12, 0, x_11); -x_13 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__2; +x_13 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__2; x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); @@ -4754,7 +5013,7 @@ lean_ctor_set(x_15, 1, x_9); x_16 = lean_ctor_get_uint8(x_1, sizeof(void*)*1 + 1); x_17 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_17, 0, x_16); -x_18 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__3; +x_18 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__3; x_19 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); @@ -4765,7 +5024,7 @@ x_21 = lean_ctor_get_uint8(x_1, sizeof(void*)*1 + 2); lean_dec(x_1); x_22 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_22, 0, x_21); -x_23 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4; +x_23 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__4; x_24 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -4784,17 +5043,17 @@ lean_ctor_set(x_28, 1, x_27); x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_10); lean_ctor_set(x_29, 1, x_28); -x_30 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5; +x_30 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5; x_31 = l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187____spec__1(x_29, x_30); x_32 = l_Lean_Json_mkObj(x_31); return x_32; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____lambda__1___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____lambda__1___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____lambda__1(x_1); +x_2 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____lambda__1(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; @@ -4804,7 +5063,7 @@ static lean_object* _init_l_Lean_instToJsonImport__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430_), 1, 0); return x_1; } } @@ -4816,7 +5075,7 @@ x_1 = l_Lean_instToJsonImport__1___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -4831,7 +5090,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x x_5 = lean_array_uget(x_3, x_2); x_6 = lean_unsigned_to_nat(0u); x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389_(x_5); +x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430_(x_5); x_9 = 1; x_10 = lean_usize_add(x_2, x_9); x_11 = lean_array_uset(x_7, x_2, x_8); @@ -4841,19 +5100,19 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____spec__1(lean_object* x_1) { _start: { size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_array_size(x_1); x_3 = 0; -x_4 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__2(x_2, x_3, x_1); +x_4 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____spec__2(x_2, x_3, x_1); x_5 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_5, 0, x_4); return x_5; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__1() { _start: { lean_object* x_1; @@ -4861,7 +5120,7 @@ x_1 = lean_mk_string_unchecked("imports", 7, 7); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__2() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__2() { _start: { lean_object* x_1; @@ -4869,14 +5128,14 @@ x_1 = lean_mk_string_unchecked("isModule", 8, 8); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__1(x_2); -x_4 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1; +x_3 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____spec__1(x_2); +x_4 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -4888,7 +5147,7 @@ x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); lean_dec(x_1); x_9 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_9, 0, x_8); -x_10 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__2; +x_10 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__2; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); @@ -4901,13 +5160,13 @@ lean_ctor_set(x_13, 1, x_6); x_14 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_14, 0, x_7); lean_ctor_set(x_14, 1, x_13); -x_15 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5; +x_15 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5; x_16 = l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187____spec__1(x_14, x_15); x_17 = l_Lean_Json_mkObj(x_16); return x_17; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -4915,7 +5174,7 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__2(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____spec__2(x_4, x_5, x_3); return x_6; } } @@ -4923,7 +5182,7 @@ static lean_object* _init_l_Lean_instToJsonParseImportsResult___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536_), 1, 0); return x_1; } } @@ -4940,16 +5199,17 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5; +x_2 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5; x_3 = lean_unsigned_to_nat(0u); x_4 = 0; -x_5 = lean_alloc_ctor(0, 3, 3); +x_5 = lean_alloc_ctor(0, 3, 4); lean_ctor_set(x_5, 0, x_2); lean_ctor_set(x_5, 1, x_3); lean_ctor_set(x_5, 2, x_1); lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 1, x_4); lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 2, x_4); +lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 3, x_4); return x_5; } } @@ -5048,7 +5308,7 @@ lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -5064,7 +5324,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj x_4 = lean_ctor_get(x_2, 0); lean_inc(x_4); lean_dec(x_2); -x_5 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495_(x_4); +x_5 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536_(x_4); x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_1); lean_ctor_set(x_6, 1, x_5); @@ -5076,7 +5336,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__3(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__3(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -5102,19 +5362,19 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__2(lean_object* x_1) { _start: { size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_array_size(x_1); x_3 = 0; -x_4 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__3(x_2, x_3, x_1); +x_4 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__3(x_2, x_3, x_1); x_5 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_5, 0, x_4); return x_5; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__1() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____closed__1() { _start: { lean_object* x_1; @@ -5122,7 +5382,7 @@ x_1 = lean_mk_string_unchecked("result", 6, 6); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__2() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____closed__2() { _start: { lean_object* x_1; @@ -5130,19 +5390,19 @@ x_1 = lean_mk_string_unchecked("errors", 6, 6); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__1; -x_4 = l_Lean_Json_opt___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__1(x_3, x_2); +x_3 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____closed__1; +x_4 = l_Lean_Json_opt___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__1(x_3, x_2); x_5 = lean_ctor_get(x_1, 1); lean_inc(x_5); lean_dec(x_1); -x_6 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__2(x_5); -x_7 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__2; +x_6 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__2(x_5); +x_7 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____closed__2; x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_7); lean_ctor_set(x_8, 1, x_6); @@ -5156,13 +5416,13 @@ lean_ctor_set(x_11, 1, x_9); x_12 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_12, 0, x_4); lean_ctor_set(x_12, 1, x_11); -x_13 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5; +x_13 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5; x_14 = l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187____spec__1(x_12, x_13); x_15 = l_Lean_Json_mkObj(x_14); return x_15; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -5170,7 +5430,7 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__3(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____spec__3(x_4, x_5, x_3); return x_6; } } @@ -5178,7 +5438,7 @@ static lean_object* _init_l_Lean_instToJsonPrintImportResult___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699_), 1, 0); return x_1; } } @@ -5190,7 +5450,7 @@ x_1 = l_Lean_instToJsonPrintImportResult___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -5205,7 +5465,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x x_5 = lean_array_uget(x_3, x_2); x_6 = lean_unsigned_to_nat(0u); x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658_(x_5); +x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699_(x_5); x_9 = 1; x_10 = lean_usize_add(x_2, x_9); x_11 = lean_array_uset(x_7, x_2, x_8); @@ -5215,24 +5475,24 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758____spec__1(lean_object* x_1) { _start: { size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_array_size(x_1); x_3 = 0; -x_4 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__2(x_2, x_3, x_1); +x_4 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758____spec__2(x_2, x_3, x_1); x_5 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_5, 0, x_4); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_2 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__1(x_1); -x_3 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1; +x_2 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758____spec__1(x_1); +x_3 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__1; x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_3); lean_ctor_set(x_4, 1, x_2); @@ -5243,13 +5503,13 @@ lean_ctor_set(x_6, 1, x_5); x_7 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); -x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5; +x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5; x_9 = l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187____spec__1(x_7, x_8); x_10 = l_Lean_Json_mkObj(x_9); return x_10; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -5257,7 +5517,7 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__2(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758____spec__2(x_4, x_5, x_3); return x_6; } } @@ -5265,7 +5525,7 @@ static lean_object* _init_l_Lean_instToJsonPrintImportsResult___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758_), 1, 0); return x_1; } } @@ -5320,7 +5580,7 @@ x_16 = lean_ctor_get(x_14, 0); x_17 = lean_ctor_get(x_14, 1); x_18 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_18, 0, x_16); -x_19 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5; +x_19 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5; lean_ctor_set(x_14, 1, x_19); lean_ctor_set(x_14, 0, x_18); x_20 = 1; @@ -5341,7 +5601,7 @@ lean_inc(x_24); lean_dec(x_14); x_26 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_26, 0, x_24); -x_27 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5; +x_27 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5; x_28 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); @@ -5433,7 +5693,7 @@ if (lean_is_exclusive(x_57)) { } x_61 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_61, 0, x_58); -x_62 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5; +x_62 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5; if (lean_is_scalar(x_60)) { x_63 = lean_alloc_ctor(0, 2, 0); } else { @@ -5557,7 +5817,7 @@ lean_inc(x_6); x_7 = lean_ctor_get(x_5, 1); lean_inc(x_7); lean_dec(x_5); -x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717_(x_6); +x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1758_(x_6); x_9 = l_Lean_Json_compress(x_8); x_10 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_9, x_7); return x_10; @@ -5622,40 +5882,42 @@ l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___close lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___closed__2); l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___closed__3 = _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___closed__3(); lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___closed__3); -l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__1 = _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__1(); -lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__1); -l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__2 = _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__2(); -lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__2); -l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__3 = _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__3(); -lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__3); -l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__4 = _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__4(); -lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__4); -l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6___closed__1 = _init_l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6___closed__1(); -lean_mark_persistent(l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6___closed__1); -l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6___closed__2 = _init_l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6___closed__2(); -lean_mark_persistent(l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6___closed__2); +l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__1 = _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__1(); +lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__1); +l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__2 = _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__2(); +lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__2); +l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__3 = _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__3(); +lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__3); +l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__4 = _init_l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__4(); +lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___closed__4); +l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__1 = _init_l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__1(); +lean_mark_persistent(l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__1); +l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__2 = _init_l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__2(); +lean_mark_persistent(l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__2); +l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__3 = _init_l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__3(); +lean_mark_persistent(l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__7___closed__3); l_Lean_ParseImports_main___closed__1 = _init_l_Lean_ParseImports_main___closed__1(); lean_mark_persistent(l_Lean_ParseImports_main___closed__1); l_Lean_ParseImports_main___closed__2 = _init_l_Lean_ParseImports_main___closed__2(); lean_mark_persistent(l_Lean_ParseImports_main___closed__2); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__1 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__1(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__1); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__2 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__2(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__2); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__3 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__3(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__3); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__1 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__1(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__1); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__2 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__2(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__2); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__3 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__3(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__3); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__4 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__4(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__4); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1430____closed__5); l_Lean_instToJsonImport__1___closed__1 = _init_l_Lean_instToJsonImport__1___closed__1(); lean_mark_persistent(l_Lean_instToJsonImport__1___closed__1); l_Lean_instToJsonImport__1 = _init_l_Lean_instToJsonImport__1(); lean_mark_persistent(l_Lean_instToJsonImport__1); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__2 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__2(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__2); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__1 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__1(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__1); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__2 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__2(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1536____closed__2); l_Lean_instToJsonParseImportsResult___closed__1 = _init_l_Lean_instToJsonParseImportsResult___closed__1(); lean_mark_persistent(l_Lean_instToJsonParseImportsResult___closed__1); l_Lean_instToJsonParseImportsResult = _init_l_Lean_instToJsonParseImportsResult(); @@ -5666,10 +5928,10 @@ l_Lean_parseImports_x27___closed__2 = _init_l_Lean_parseImports_x27___closed__2( lean_mark_persistent(l_Lean_parseImports_x27___closed__2); l_Lean_parseImports_x27___closed__3 = _init_l_Lean_parseImports_x27___closed__3(); lean_mark_persistent(l_Lean_parseImports_x27___closed__3); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__1 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__1(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__1); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__2 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__2(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__2); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____closed__1 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____closed__1(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____closed__1); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____closed__2 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____closed__2(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1699____closed__2); l_Lean_instToJsonPrintImportResult___closed__1 = _init_l_Lean_instToJsonPrintImportResult___closed__1(); lean_mark_persistent(l_Lean_instToJsonPrintImportResult___closed__1); l_Lean_instToJsonPrintImportResult = _init_l_Lean_instToJsonPrintImportResult();