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
|
|
|
|
*/
|
2015-01-24 00:50:32 +00:00
|
|
|
#include "library/constants.h"
|
2014-09-22 17:27:48 +00:00
|
|
|
#include "library/unifier.h"
|
2014-09-22 22:26:41 +00:00
|
|
|
#include "library/kernel_serializer.h"
|
|
|
|
#include "library/let.h"
|
|
|
|
#include "library/typed_expr.h"
|
|
|
|
#include "library/choice.h"
|
2014-12-10 05:12:39 +00:00
|
|
|
#include "library/class.h"
|
2014-09-22 22:26:41 +00:00
|
|
|
#include "library/string.h"
|
2014-09-23 17:45:14 +00:00
|
|
|
#include "library/num.h"
|
2014-09-22 22:26:41 +00:00
|
|
|
#include "library/resolve_macro.h"
|
|
|
|
#include "library/annotation.h"
|
|
|
|
#include "library/explicit.h"
|
2014-09-23 00:30:29 +00:00
|
|
|
#include "library/module.h"
|
|
|
|
#include "library/protected.h"
|
|
|
|
#include "library/private.h"
|
|
|
|
#include "library/scoped_ext.h"
|
|
|
|
#include "library/reducible.h"
|
|
|
|
#include "library/aliases.h"
|
|
|
|
#include "library/coercion.h"
|
|
|
|
#include "library/unifier_plugin.h"
|
2014-09-23 17:45:14 +00:00
|
|
|
#include "library/io_state.h"
|
|
|
|
#include "library/kernel_bindings.h"
|
2015-06-08 22:52:50 +00:00
|
|
|
#include "library/idx_metavar.h"
|
2014-09-23 17:45:14 +00:00
|
|
|
#include "library/sorry.h"
|
|
|
|
#include "library/placeholder.h"
|
|
|
|
#include "library/print.h"
|
2014-09-30 00:54:17 +00:00
|
|
|
#include "library/fingerprint.h"
|
2014-12-10 19:23:23 +00:00
|
|
|
#include "library/util.h"
|
2014-12-19 23:00:05 +00:00
|
|
|
#include "library/pp_options.h"
|
2015-02-04 15:06:32 +00:00
|
|
|
#include "library/projection.h"
|
2015-02-06 20:12:52 +00:00
|
|
|
#include "library/normalize.h"
|
2015-02-11 00:46:25 +00:00
|
|
|
#include "library/abbreviation.h"
|
2015-05-21 19:25:02 +00:00
|
|
|
#include "library/relation_manager.h"
|
2015-05-12 21:52:04 +00:00
|
|
|
#include "library/user_recursors.h"
|
2015-06-01 23:30:40 +00:00
|
|
|
#include "library/class_instance_synth.h"
|
2015-06-17 21:25:02 +00:00
|
|
|
#include "library/composition_manager.h"
|
2015-07-29 01:10:40 +00:00
|
|
|
#include "library/noncomputable.h"
|
2014-09-22 17:27:48 +00:00
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
void initialize_library_module() {
|
2015-01-24 00:50:32 +00:00
|
|
|
initialize_constants();
|
2014-09-30 00:54:17 +00:00
|
|
|
initialize_fingerprint();
|
2014-09-23 17:45:14 +00:00
|
|
|
initialize_print();
|
|
|
|
initialize_placeholder();
|
2015-06-08 22:52:50 +00:00
|
|
|
initialize_idx_metavar();
|
2014-09-23 17:45:14 +00:00
|
|
|
initialize_kernel_bindings();
|
|
|
|
initialize_io_state();
|
2014-09-22 17:27:48 +00:00
|
|
|
initialize_unifier();
|
2014-09-22 22:26:41 +00:00
|
|
|
initialize_kernel_serializer();
|
|
|
|
initialize_let();
|
|
|
|
initialize_typed_expr();
|
|
|
|
initialize_choice();
|
2014-09-23 17:45:14 +00:00
|
|
|
initialize_num();
|
2014-09-22 22:26:41 +00:00
|
|
|
initialize_string();
|
|
|
|
initialize_resolve_macro();
|
|
|
|
initialize_annotation();
|
|
|
|
initialize_explicit();
|
2014-09-23 00:30:29 +00:00
|
|
|
initialize_module();
|
|
|
|
initialize_protected();
|
|
|
|
initialize_private();
|
|
|
|
initialize_scoped_ext();
|
|
|
|
initialize_reducible();
|
|
|
|
initialize_aliases();
|
|
|
|
initialize_coercion();
|
|
|
|
initialize_unifier_plugin();
|
2014-09-23 17:45:14 +00:00
|
|
|
initialize_sorry();
|
2014-12-10 05:12:39 +00:00
|
|
|
initialize_class();
|
2014-12-10 19:23:23 +00:00
|
|
|
initialize_library_util();
|
2014-12-19 23:00:05 +00:00
|
|
|
initialize_pp_options();
|
2015-02-04 15:06:32 +00:00
|
|
|
initialize_projection();
|
2015-02-06 20:12:52 +00:00
|
|
|
initialize_normalize();
|
2015-02-11 00:46:25 +00:00
|
|
|
initialize_abbreviation();
|
2015-05-21 19:25:02 +00:00
|
|
|
initialize_relation_manager();
|
2015-05-12 21:52:04 +00:00
|
|
|
initialize_user_recursors();
|
2015-06-01 23:30:40 +00:00
|
|
|
initialize_class_instance_elaborator();
|
2015-06-17 21:25:02 +00:00
|
|
|
initialize_composition_manager();
|
2015-07-29 01:10:40 +00:00
|
|
|
initialize_noncomputable();
|
2014-09-22 17:27:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void finalize_library_module() {
|
2015-07-29 01:10:40 +00:00
|
|
|
finalize_noncomputable();
|
2015-06-17 21:25:02 +00:00
|
|
|
finalize_composition_manager();
|
2015-06-01 23:30:40 +00:00
|
|
|
finalize_class_instance_elaborator();
|
2015-05-12 21:52:04 +00:00
|
|
|
finalize_user_recursors();
|
2015-05-21 19:25:02 +00:00
|
|
|
finalize_relation_manager();
|
2015-02-11 00:46:25 +00:00
|
|
|
finalize_abbreviation();
|
2015-02-06 20:12:52 +00:00
|
|
|
finalize_normalize();
|
2015-02-04 15:06:32 +00:00
|
|
|
finalize_projection();
|
2014-12-19 23:00:05 +00:00
|
|
|
finalize_pp_options();
|
2014-12-10 19:23:23 +00:00
|
|
|
finalize_library_util();
|
2014-12-10 05:12:39 +00:00
|
|
|
finalize_class();
|
2014-09-23 17:45:14 +00:00
|
|
|
finalize_sorry();
|
2014-09-23 00:30:29 +00:00
|
|
|
finalize_unifier_plugin();
|
|
|
|
finalize_coercion();
|
|
|
|
finalize_aliases();
|
|
|
|
finalize_reducible();
|
|
|
|
finalize_scoped_ext();
|
|
|
|
finalize_private();
|
|
|
|
finalize_protected();
|
|
|
|
finalize_module();
|
2014-09-22 22:26:41 +00:00
|
|
|
finalize_explicit();
|
|
|
|
finalize_annotation();
|
|
|
|
finalize_resolve_macro();
|
|
|
|
finalize_string();
|
2014-09-23 17:45:14 +00:00
|
|
|
finalize_num();
|
2014-09-22 22:26:41 +00:00
|
|
|
finalize_choice();
|
|
|
|
finalize_typed_expr();
|
|
|
|
finalize_let();
|
|
|
|
finalize_kernel_serializer();
|
2014-09-22 17:27:48 +00:00
|
|
|
finalize_unifier();
|
2014-09-23 17:45:14 +00:00
|
|
|
finalize_io_state();
|
|
|
|
finalize_kernel_bindings();
|
2015-06-08 22:52:50 +00:00
|
|
|
finalize_idx_metavar();
|
2014-09-23 17:45:14 +00:00
|
|
|
finalize_placeholder();
|
|
|
|
finalize_print();
|
2014-09-30 00:54:17 +00:00
|
|
|
finalize_fingerprint();
|
2015-01-24 00:50:32 +00:00
|
|
|
finalize_constants();
|
2014-09-22 17:27:48 +00:00
|
|
|
}
|
|
|
|
}
|