2014-09-22 22:26:41 +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 "kernel/environment.h"
|
2014-09-23 19:09:13 +00:00
|
|
|
#include "kernel/converter.h"
|
|
|
|
#include "kernel/type_checker.h"
|
|
|
|
#include "kernel/expr.h"
|
|
|
|
#include "kernel/formatter.h"
|
|
|
|
#include "kernel/level.h"
|
|
|
|
#include "kernel/declaration.h"
|
|
|
|
|
2014-09-22 22:26:41 +00:00
|
|
|
namespace lean {
|
|
|
|
void initialize_kernel_module() {
|
2014-09-23 19:09:13 +00:00
|
|
|
initialize_level();
|
|
|
|
initialize_expr();
|
|
|
|
initialize_declaration();
|
|
|
|
initialize_converter();
|
|
|
|
initialize_type_checker();
|
2014-09-23 00:30:29 +00:00
|
|
|
initialize_environment();
|
2014-09-23 19:09:13 +00:00
|
|
|
initialize_formatter();
|
2014-09-22 22:26:41 +00:00
|
|
|
}
|
|
|
|
void finalize_kernel_module() {
|
2014-09-23 19:09:13 +00:00
|
|
|
finalize_formatter();
|
2014-09-23 00:30:29 +00:00
|
|
|
finalize_environment();
|
2014-09-23 19:09:13 +00:00
|
|
|
finalize_type_checker();
|
|
|
|
finalize_converter();
|
|
|
|
finalize_declaration();
|
|
|
|
finalize_expr();
|
|
|
|
finalize_level();
|
2014-09-22 22:26:41 +00:00
|
|
|
}
|
|
|
|
}
|