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"
|
2013-12-03 20:21:21 +00:00
|
|
|
#include "library/substitution.h"
|
|
|
|
#include "library/fo_unify.h"
|
2014-01-13 01:45:24 +00:00
|
|
|
#include "library/hop_match.h"
|
2013-12-20 05:36:17 +00:00
|
|
|
#include "library/placeholder.h"
|
2013-12-01 18:27:27 +00:00
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
inline void open_core_module(lua_State * L) {
|
|
|
|
open_kernel_module(L);
|
2013-12-03 20:21:21 +00:00
|
|
|
open_substitution(L);
|
|
|
|
open_fo_unify(L);
|
2013-12-20 05:36:17 +00:00
|
|
|
open_placeholder(L);
|
2014-01-13 01:45:24 +00:00
|
|
|
open_hop_match(L);
|
2013-12-01 18:27:27 +00:00
|
|
|
}
|
|
|
|
inline void register_core_module() {
|
|
|
|
script_state::register_module(open_core_module);
|
|
|
|
}
|
|
|
|
}
|