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
|
|
|
|
*/
|
|
|
|
#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"
|
|
|
|
#include "library/match.h"
|
|
|
|
#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-09-22 17:27:48 +00:00
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
void initialize_library_module() {
|
2014-09-30 00:54:17 +00:00
|
|
|
initialize_fingerprint();
|
2014-09-23 17:45:14 +00:00
|
|
|
initialize_print();
|
|
|
|
initialize_placeholder();
|
|
|
|
initialize_match();
|
|
|
|
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-09-22 17:27:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void finalize_library_module() {
|
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();
|
|
|
|
finalize_match();
|
|
|
|
finalize_placeholder();
|
|
|
|
finalize_print();
|
2014-09-30 00:54:17 +00:00
|
|
|
finalize_fingerprint();
|
2014-09-22 17:27:48 +00:00
|
|
|
}
|
|
|
|
}
|