2013-12-01 18:27:27 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "util/script_state.h"
|
|
|
|
#include "library/kernel_bindings.h"
|
2014-05-15 20:43:59 +00:00
|
|
|
#include "library/resolve_macro.h"
|
2014-05-25 13:05:31 +00:00
|
|
|
#include "library/coercion.h"
|
2014-05-30 01:26:32 +00:00
|
|
|
#include "library/private.h"
|
2014-05-31 03:26:06 +00:00
|
|
|
#include "library/placeholder.h"
|
2014-05-31 04:05:47 +00:00
|
|
|
#include "library/aliases.h"
|
2014-06-11 20:32:23 +00:00
|
|
|
#include "library/choice.h"
|
2014-06-24 19:11:27 +00:00
|
|
|
#include "library/explicit.h"
|
2014-06-22 17:01:51 +00:00
|
|
|
#include "library/unifier.h"
|
2014-06-13 02:33:02 +00:00
|
|
|
#include "library/scoped_ext.h"
|
2014-08-05 00:32:07 +00:00
|
|
|
#include "library/match.h"
|
2013-12-01 18:27:27 +00:00
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
inline void open_core_module(lua_State * L) {
|
|
|
|
open_kernel_module(L);
|
2014-05-15 20:43:59 +00:00
|
|
|
open_resolve_macro(L);
|
2014-05-25 13:05:31 +00:00
|
|
|
open_coercion(L);
|
2014-05-30 01:26:32 +00:00
|
|
|
open_private(L);
|
2014-05-31 03:26:06 +00:00
|
|
|
open_placeholder(L);
|
2014-05-31 04:05:47 +00:00
|
|
|
open_aliases(L);
|
2014-06-11 20:32:23 +00:00
|
|
|
open_choice(L);
|
2014-06-13 02:33:02 +00:00
|
|
|
open_scoped_ext(L);
|
2014-06-22 17:01:51 +00:00
|
|
|
open_unifier(L);
|
2014-06-24 19:11:27 +00:00
|
|
|
open_explicit(L);
|
2014-08-05 00:32:07 +00:00
|
|
|
open_match(L);
|
2013-12-01 18:27:27 +00:00
|
|
|
}
|
|
|
|
inline void register_core_module() {
|
|
|
|
script_state::register_module(open_core_module);
|
|
|
|
}
|
|
|
|
}
|