/* Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include "frontends/lean/tokens.h" #include "frontends/lean/elaborator_context.h" #include "frontends/lean/elaborator.h" #include "frontends/lean/parser.h" #include "frontends/lean/info_annotation.h" #include "frontends/lean/tactic_hint.h" #include "frontends/lean/parser_config.h" #include "frontends/lean/calc.h" #include "frontends/lean/begin_end_ext.h" #include "frontends/lean/builtin_cmds.h" #include "frontends/lean/builtin_exprs.h" #include "frontends/lean/inductive_cmd.h" #include "frontends/lean/structure_cmd.h" #include "frontends/lean/migrate_cmd.h" #include "frontends/lean/info_manager.h" #include "frontends/lean/parse_table.h" #include "frontends/lean/token_table.h" #include "frontends/lean/info_tactic.h" #include "frontends/lean/calc_proof_elaborator.h" #include "frontends/lean/find_cmd.h" #include "frontends/lean/scanner.h" #include "frontends/lean/pp.h" #include "frontends/lean/server.h" #include "frontends/lean/local_ref_info.h" namespace lean { void initialize_frontend_lean_module() { initialize_info_annotation(); initialize_tokens(); initialize_token_table(); initialize_parse_table(); initialize_builtin_cmds(); initialize_builtin_exprs(); initialize_elaborator_context(); initialize_elaborator(); initialize_scanner(); initialize_parser(); initialize_tactic_hint(); initialize_parser_config(); initialize_calc(); initialize_begin_end_ext(); initialize_inductive_cmd(); initialize_structure_cmd(); initialize_migrate_cmd(); initialize_info_manager(); initialize_info_tactic(); initialize_pp(); initialize_calc_proof_elaborator(); initialize_server(); initialize_find_cmd(); initialize_local_ref_info(); } void finalize_frontend_lean_module() { finalize_local_ref_info(); finalize_find_cmd(); finalize_server(); finalize_calc_proof_elaborator(); finalize_pp(); finalize_info_tactic(); finalize_info_manager(); finalize_migrate_cmd(); finalize_structure_cmd(); finalize_inductive_cmd(); finalize_begin_end_ext(); finalize_calc(); finalize_parser_config(); finalize_tactic_hint(); finalize_parser(); finalize_scanner(); finalize_elaborator(); finalize_elaborator_context(); finalize_builtin_exprs(); finalize_builtin_cmds(); finalize_parse_table(); finalize_token_table(); finalize_tokens(); finalize_info_annotation(); } }