lean2/src/library/register_module.h
Leonardo de Moura 759aa61f70 refactor(builtin/kernel): define if-then-else using Hilbert's operator
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-30 19:28:42 -08:00

26 lines
656 B
C++

/*
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"
#include "library/substitution.h"
#include "library/fo_unify.h"
#include "library/hop_match.h"
#include "library/placeholder.h"
namespace lean {
inline void open_core_module(lua_State * L) {
open_kernel_module(L);
open_substitution(L);
open_fo_unify(L);
open_placeholder(L);
open_hop_match(L);
}
inline void register_core_module() {
script_state::register_module(open_core_module);
}
}