2014-09-22 17:27:48 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
2014-09-23 00:30:29 +00:00
|
|
|
#include "frontends/lean/tokens.h"
|
2014-10-03 23:10:36 +00:00
|
|
|
#include "frontends/lean/elaborator_context.h"
|
2014-09-22 17:27:48 +00:00
|
|
|
#include "frontends/lean/elaborator.h"
|
|
|
|
#include "frontends/lean/parser.h"
|
2014-11-05 01:28:30 +00:00
|
|
|
#include "frontends/lean/info_annotation.h"
|
2014-09-23 00:30:29 +00:00
|
|
|
#include "frontends/lean/tactic_hint.h"
|
|
|
|
#include "frontends/lean/parser_config.h"
|
|
|
|
#include "frontends/lean/calc.h"
|
|
|
|
#include "frontends/lean/begin_end_ext.h"
|
2014-09-23 17:00:36 +00:00
|
|
|
#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/info_manager.h"
|
|
|
|
#include "frontends/lean/parse_table.h"
|
|
|
|
#include "frontends/lean/token_table.h"
|
2014-10-23 20:18:30 +00:00
|
|
|
#include "frontends/lean/info_tactic.h"
|
2014-10-31 16:01:19 +00:00
|
|
|
#include "frontends/lean/calc_proof_elaborator.h"
|
2014-11-24 08:16:10 +00:00
|
|
|
#include "frontends/lean/find_cmd.h"
|
2014-09-23 17:00:36 +00:00
|
|
|
#include "frontends/lean/scanner.h"
|
|
|
|
#include "frontends/lean/pp.h"
|
2014-09-24 16:16:59 +00:00
|
|
|
#include "frontends/lean/server.h"
|
2014-09-22 17:27:48 +00:00
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
void initialize_frontend_lean_module() {
|
2014-12-04 23:11:23 +00:00
|
|
|
initialize_info_annotation();
|
2014-09-23 00:30:29 +00:00
|
|
|
initialize_tokens();
|
2014-09-23 17:00:36 +00:00
|
|
|
initialize_token_table();
|
|
|
|
initialize_parse_table();
|
|
|
|
initialize_builtin_cmds();
|
|
|
|
initialize_builtin_exprs();
|
2014-10-03 23:10:36 +00:00
|
|
|
initialize_elaborator_context();
|
2014-09-22 17:27:48 +00:00
|
|
|
initialize_elaborator();
|
2014-09-23 17:00:36 +00:00
|
|
|
initialize_scanner();
|
2014-09-22 17:27:48 +00:00
|
|
|
initialize_parser();
|
2014-09-23 00:30:29 +00:00
|
|
|
initialize_tactic_hint();
|
|
|
|
initialize_parser_config();
|
|
|
|
initialize_calc();
|
|
|
|
initialize_begin_end_ext();
|
2014-09-23 17:00:36 +00:00
|
|
|
initialize_inductive_cmd();
|
|
|
|
initialize_structure_cmd();
|
|
|
|
initialize_info_manager();
|
2014-10-23 20:18:30 +00:00
|
|
|
initialize_info_tactic();
|
2014-09-23 17:00:36 +00:00
|
|
|
initialize_pp();
|
2014-10-31 16:01:19 +00:00
|
|
|
initialize_calc_proof_elaborator();
|
2014-09-24 16:16:59 +00:00
|
|
|
initialize_server();
|
2014-11-24 08:16:10 +00:00
|
|
|
initialize_find_cmd();
|
2014-09-22 17:27:48 +00:00
|
|
|
}
|
|
|
|
void finalize_frontend_lean_module() {
|
2014-11-24 08:16:10 +00:00
|
|
|
finalize_find_cmd();
|
2014-09-24 16:16:59 +00:00
|
|
|
finalize_server();
|
2014-10-31 16:01:19 +00:00
|
|
|
finalize_calc_proof_elaborator();
|
2014-09-23 17:00:36 +00:00
|
|
|
finalize_pp();
|
2014-10-23 20:18:30 +00:00
|
|
|
finalize_info_tactic();
|
2014-09-23 17:00:36 +00:00
|
|
|
finalize_info_manager();
|
|
|
|
finalize_structure_cmd();
|
|
|
|
finalize_inductive_cmd();
|
2014-09-23 00:30:29 +00:00
|
|
|
finalize_begin_end_ext();
|
|
|
|
finalize_calc();
|
|
|
|
finalize_parser_config();
|
|
|
|
finalize_tactic_hint();
|
2014-09-22 17:27:48 +00:00
|
|
|
finalize_parser();
|
2014-09-23 17:00:36 +00:00
|
|
|
finalize_scanner();
|
2014-09-22 17:27:48 +00:00
|
|
|
finalize_elaborator();
|
2014-10-03 23:10:36 +00:00
|
|
|
finalize_elaborator_context();
|
2014-09-23 17:00:36 +00:00
|
|
|
finalize_builtin_exprs();
|
|
|
|
finalize_builtin_cmds();
|
|
|
|
finalize_parse_table();
|
|
|
|
finalize_token_table();
|
|
|
|
finalize_tokens();
|
2014-12-04 23:11:23 +00:00
|
|
|
finalize_info_annotation();
|
2014-09-22 17:27:48 +00:00
|
|
|
}
|
|
|
|
}
|