Rename normalize and type_check to normalizer and type_checker (using a consistent naming convention)

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-09-02 08:43:38 -07:00
parent c97e669f0c
commit db88920f81
16 changed files with 26 additions and 26 deletions

View file

@ -5,7 +5,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <deque>
#include "normalize.h"
#include "normalizer.h"
#include "metavar.h"
#include "printer.h"
#include "context.h"

View file

@ -7,8 +7,8 @@ Author: Leonardo de Moura
#include <unordered_map>
#include "scoped_map.h"
#include "exception.h"
#include "normalize.h"
#include "type_check.h"
#include "normalizer.h"
#include "type_checker.h"
#include "free_vars.h"
#include "builtin.h"
#include "arith.h"

View file

@ -1,5 +1,5 @@
add_library(kernel expr.cpp free_vars.cpp abstract.cpp instantiate.cpp
normalize.cpp context.cpp level.cpp object.cpp environment.cpp
type_check.cpp builtin.cpp occurs.cpp)
normalizer.cpp context.cpp level.cpp object.cpp environment.cpp
type_checker.cpp builtin.cpp occurs.cpp)
target_link_libraries(kernel ${LEAN_LIBS})

View file

@ -11,8 +11,8 @@ Author: Leonardo de Moura
#include "kernel_exception.h"
#include "environment.h"
#include "safe_arith.h"
#include "type_check.h"
#include "normalize.h"
#include "type_checker.h"
#include "normalizer.h"
namespace lean {

View file

@ -5,7 +5,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <algorithm>
#include "normalize.h"
#include "normalizer.h"
#include "expr.h"
#include "context.h"
#include "environment.h"

View file

@ -4,10 +4,10 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "type_check.h"
#include "type_checker.h"
#include "environment.h"
#include "kernel_exception.h"
#include "normalize.h"
#include "normalizer.h"
#include "instantiate.h"
#include "scoped_map.h"
#include "builtin.h"

View file

@ -7,7 +7,7 @@ Author: Leonardo de Moura
#include "basic_thms.h"
#include "environment.h"
#include "abstract.h"
#include "type_check.h"
#include "type_checker.h"
namespace lean {

View file

@ -12,7 +12,7 @@ Author: Leonardo de Moura
#include "abstract.h"
#include "toplevel.h"
#include "basic_thms.h"
#include "type_check.h"
#include "type_checker.h"
#include "kernel_exception.h"
#include "lean_frontend.h"
#include "lean_elaborator.h"

View file

@ -1,9 +1,9 @@
add_executable(expr_tst expr.cpp)
target_link_libraries(expr_tst ${EXTRA_LIBS})
add_test(expr ${CMAKE_CURRENT_BINARY_DIR}/expr_tst)
add_executable(normalize normalize.cpp)
target_link_libraries(normalize ${EXTRA_LIBS})
add_test(normalize ${CMAKE_CURRENT_BINARY_DIR}/normalize)
add_executable(normalizer normalizer.cpp)
target_link_libraries(normalizer ${EXTRA_LIBS})
add_test(normalizer ${CMAKE_CURRENT_BINARY_DIR}/normalizer)
add_executable(threads threads.cpp)
target_link_libraries(threads ${EXTRA_LIBS})
add_test(threads ${CMAKE_CURRENT_BINARY_DIR}/threads)
@ -16,9 +16,9 @@ add_test(level ${CMAKE_CURRENT_BINARY_DIR}/level)
add_executable(replace replace.cpp)
target_link_libraries(replace ${EXTRA_LIBS})
add_test(replace ${CMAKE_CURRENT_BINARY_DIR}/replace)
add_executable(type_check type_check.cpp)
target_link_libraries(type_check ${EXTRA_LIBS})
add_test(type_check ${CMAKE_CURRENT_BINARY_DIR}/type_check)
add_executable(type_checker type_checker.cpp)
target_link_libraries(type_checker ${EXTRA_LIBS})
add_test(type_checker ${CMAKE_CURRENT_BINARY_DIR}/type_checker)
add_executable(arith arith.cpp)
target_link_libraries(arith ${EXTRA_LIBS})
add_test(arith ${CMAKE_CURRENT_BINARY_DIR}/arith)

View file

@ -6,10 +6,10 @@ Author: Leonardo de Moura
*/
#include <thread>
#include "environment.h"
#include "type_check.h"
#include "type_checker.h"
#include "builtin.h"
#include "arith.h"
#include "normalize.h"
#include "normalizer.h"
#include "abstract.h"
#include "printer.h"
#include "test.h"

View file

@ -6,12 +6,12 @@ Author: Leonardo de Moura
*/
#include "kernel_exception.h"
#include "environment.h"
#include "type_check.h"
#include "type_checker.h"
#include "printer.h"
#include "toplevel.h"
#include "builtin.h"
#include "arith.h"
#include "normalize.h"
#include "normalizer.h"
#include "abstract.h"
#include "exception.h"
#include "trace.h"

View file

@ -8,7 +8,7 @@ Author: Leonardo de Moura
#include <thread>
#include <chrono>
#include "exception.h"
#include "normalize.h"
#include "normalizer.h"
#include "builtin.h"
#include "trace.h"
#include "test.h"

View file

@ -12,7 +12,7 @@ Author: Leonardo de Moura
#include "free_vars.h"
#include "deep_copy.h"
#include "abstract.h"
#include "normalize.h"
#include "normalizer.h"
#include "arith.h"
#include "test.h"
using namespace lean;

View file

@ -7,7 +7,7 @@ Author: Leonardo de Moura
#include <iostream>
#include <thread>
#include <chrono>
#include "type_check.h"
#include "type_checker.h"
#include "environment.h"
#include "abstract.h"
#include "exception.h"
@ -15,7 +15,7 @@ Author: Leonardo de Moura
#include "basic_thms.h"
#include "builtin.h"
#include "arith.h"
#include "normalize.h"
#include "normalizer.h"
#include "printer.h"
#include "trace.h"
#include "test.h"