feat(library/inductive_compiler): scaffold for inductive compiler
This commit is contained in:
parent
53190c38ca
commit
bc7e081ac1
5 changed files with 31 additions and 0 deletions
|
|
@ -341,6 +341,8 @@ add_subdirectory(library/constructions)
|
|||
set(LEAN_OBJS ${LEAN_OBJS} $<TARGET_OBJECTS:constructions>)
|
||||
add_subdirectory(library/equations_compiler)
|
||||
set(LEAN_OBJS ${LEAN_OBJS} $<TARGET_OBJECTS:equations_compiler>)
|
||||
add_subdirectory(library/inductive_compiler)
|
||||
set(LEAN_OBJS ${LEAN_OBJS} $<TARGET_OBJECTS:inductive_compiler>)
|
||||
# add_subdirectory(library/blast)
|
||||
# set(LEAN_OBJS ${LEAN_OBJS} $<TARGET_OBJECTS:blast>)
|
||||
# add_subdirectory(library/blast/backward)
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ Author: Leonardo de Moura
|
|||
#include "library/tactic/init_module.h"
|
||||
#include "library/constructions/init_module.h"
|
||||
#include "library/equations_compiler/init_module.h"
|
||||
#include "library/inductive_compiler/init_module.h"
|
||||
#include "library/print.h"
|
||||
#include "library/vm/init_module.h"
|
||||
#include "library/compiler/init_module.h"
|
||||
|
|
@ -42,6 +43,7 @@ void initialize() {
|
|||
initialize_tactic_module();
|
||||
initialize_constructions_module();
|
||||
initialize_equations_compiler_module();
|
||||
initialize_inductive_compiler_module();
|
||||
initialize_frontend_lean_module();
|
||||
initialize_frontend_smt2_module();
|
||||
initialize_vm_module();
|
||||
|
|
@ -51,6 +53,7 @@ void finalize() {
|
|||
finalize_vm_module();
|
||||
finalize_frontend_smt2_module();
|
||||
finalize_frontend_lean_module();
|
||||
finalize_inductive_compiler_module();
|
||||
finalize_equations_compiler_module();
|
||||
finalize_constructions_module();
|
||||
finalize_tactic_module();
|
||||
|
|
|
|||
3
src/library/inductive_compiler/CMakeLists.txt
Normal file
3
src/library/inductive_compiler/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
add_library(inductive_compiler OBJECT
|
||||
init_module.cpp
|
||||
)
|
||||
12
src/library/inductive_compiler/init_module.cpp
Normal file
12
src/library/inductive_compiler/init_module.cpp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
|
||||
Author: Daniel Selsam
|
||||
*/
|
||||
namespace lean {
|
||||
|
||||
void initialize_inductive_compiler_module() {}
|
||||
void finalize_inductive_compiler_module() {}
|
||||
|
||||
}
|
||||
11
src/library/inductive_compiler/init_module.h
Normal file
11
src/library/inductive_compiler/init_module.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
|
||||
Author: Daniel Selsam
|
||||
*/
|
||||
#pragma once
|
||||
namespace lean {
|
||||
void initialize_inductive_compiler_module();
|
||||
void finalize_inductive_compiler_module();
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue