PreviousUpNext

13.5.34  per_compile_info

The standard library per_compile_stuff package tracks information relating to one compile of one source file, such as the name of the sourcefile and whether the compile was successful.

The per_compile_stuff package source code is in src/lib/compiler/front/typer-stuff/main/per-compile-stuff.pkg.

The above information is manually maintained and may contain errors.

api {   make_per_compile_stuff :
                {compiler_verbosity:Compiler_Verbosity, deep_syntax_transform:X -> X,
                make_fresh_stamp_maker:Void -> Void -> stamp::Stamp,
                prettyprinter_or_null:Null_Or(?.standard_prettyprinter::pp::Prettyprinter ),
                sourcecode_info:sourcecode_info::Sourcecode_Info}
            ->
            Per_Compile_Stuff(X );
        print_everything :
                {pprint_anormcode_tree:Bool, pprint_deep_syntax_tree:Bool, pprint_elapsed_times:Bool,
                pprint_lambdacode_tree:Bool, pprint_machcode_controlflow_graph:Bool, pprint_symbol_table:Bool,
                print_exported_highcode_variables:Bool, print_expression_value:Bool,
                print_type_of_expression_value:Bool, unparse_deep_syntax_tree:Bool};
        print_expression_value :
                {pprint_anormcode_tree:Bool, pprint_deep_syntax_tree:Bool, pprint_elapsed_times:Bool,
                pprint_lambdacode_tree:Bool, pprint_machcode_controlflow_graph:Bool, pprint_symbol_table:Bool,
                print_exported_highcode_variables:Bool, print_expression_value:Bool,
                print_type_of_expression_value:Bool, unparse_deep_syntax_tree:Bool};
        print_expression_value_and_type :
                {pprint_anormcode_tree:Bool, pprint_deep_syntax_tree:Bool, pprint_elapsed_times:Bool,
                pprint_lambdacode_tree:Bool, pprint_machcode_controlflow_graph:Bool, pprint_symbol_table:Bool,
                print_exported_highcode_variables:Bool, print_expression_value:Bool,
                print_type_of_expression_value:Bool, unparse_deep_syntax_tree:Bool};
        print_nothing :
                {pprint_anormcode_tree:Bool, pprint_deep_syntax_tree:Bool, pprint_elapsed_times:Bool,
                pprint_lambdacode_tree:Bool, pprint_machcode_controlflow_graph:Bool, pprint_symbol_table:Bool,
                print_exported_highcode_variables:Bool, print_expression_value:Bool,
                print_type_of_expression_value:Bool, unparse_deep_syntax_tree:Bool};
    saw_errors : Per_Compile_Stuff(X ) -> Bool;
    Compiler_Verbosity  = Compiler_Verbosity;
          Per_Compile_Stuff X =
                {compiler_verbosity:Compiler_Verbosity, cpu_timer:?.internal_cpu_timer::Cpu_Timer,
                deep_syntax_transform:X -> X, error_fn:error_message::Error_Function,
                error_match:line_number_db::Source_Code_Region -> String,
                issue_highcode_codetemp:Null_Or(symbol::Symbol ) -> highcode_codetemp::Codetemp,
                make_fresh_stamp:Void -> stamp::Stamp,
                prettyprinter_or_null:Null_Or(?.standard_prettyprinter::pp::Prettyprinter ), saw_errors:Ref(Bool ),
                source_name:String};};

Comments and suggestions to: bugs@mythryl.org

PreviousUpNext