59914a36f3
- Use hierarchical names instead of unsigned integers to identify metavariables. - Associate type with metavariable. - Replace metavar_env with substitution. - Rename meta_ctx --> local_ctx - Rename meta_entry --> local_entry - Disable old elaborator - Rename unification_problems to unification_constraints - Add metavar_generator - Fix metavar unit tests - Modify type checker to use metavar_generator - Fix placeholder module Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
33 lines
1.5 KiB
CMake
33 lines
1.5 KiB
CMake
add_executable(expr expr.cpp)
|
|
target_link_libraries(expr ${EXTRA_LIBS})
|
|
add_test(expr ${CMAKE_CURRENT_BINARY_DIR}/expr)
|
|
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)
|
|
add_executable(free_vars free_vars.cpp)
|
|
target_link_libraries(free_vars ${EXTRA_LIBS})
|
|
add_test(free_vars ${CMAKE_CURRENT_BINARY_DIR}/free_vars)
|
|
add_executable(level level.cpp)
|
|
target_link_libraries(level ${EXTRA_LIBS})
|
|
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_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)
|
|
add_executable(environment environment.cpp)
|
|
target_link_libraries(environment ${EXTRA_LIBS})
|
|
add_test(environment ${CMAKE_CURRENT_BINARY_DIR}/environment)
|
|
add_executable(occurs occurs.cpp)
|
|
target_link_libraries(occurs ${EXTRA_LIBS})
|
|
add_test(occurs ${CMAKE_CURRENT_BINARY_DIR}/occurs)
|
|
add_executable(metavar metavar.cpp)
|
|
target_link_libraries(metavar ${EXTRA_LIBS})
|
|
add_test(metavar ${CMAKE_CURRENT_BINARY_DIR}/metavar)
|