|
|
@@ -2,7 +2,7 @@
|
|
|
# Exceptions. See /LICENSE for license information.
|
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
|
|
-package(default_visibility = ["//executable_semantics:__pkg__"])
|
|
|
+package(default_visibility = ["//explorer:__pkg__"])
|
|
|
|
|
|
# These currently have to be a single build rule because of a dependency cycle
|
|
|
# in printing.
|
|
|
@@ -24,13 +24,13 @@ cc_library(
|
|
|
":stack",
|
|
|
"//common:check",
|
|
|
"//common:ostream",
|
|
|
- "//executable_semantics/ast:declaration",
|
|
|
- "//executable_semantics/ast:expression",
|
|
|
- "//executable_semantics/ast:pattern",
|
|
|
- "//executable_semantics/ast:statement",
|
|
|
- "//executable_semantics/common:arena",
|
|
|
- "//executable_semantics/common:error_builders",
|
|
|
- "//executable_semantics/common:nonnull",
|
|
|
+ "//explorer/ast:declaration",
|
|
|
+ "//explorer/ast:expression",
|
|
|
+ "//explorer/ast:pattern",
|
|
|
+ "//explorer/ast:statement",
|
|
|
+ "//explorer/common:arena",
|
|
|
+ "//explorer/common:error_builders",
|
|
|
+ "//explorer/common:nonnull",
|
|
|
"@llvm-project//llvm:Support",
|
|
|
],
|
|
|
)
|
|
|
@@ -43,7 +43,7 @@ cc_library(
|
|
|
":action_and_value",
|
|
|
":stack",
|
|
|
"//common:ostream",
|
|
|
- "//executable_semantics/ast:statement",
|
|
|
+ "//explorer/ast:statement",
|
|
|
"@llvm-project//llvm:Support",
|
|
|
],
|
|
|
)
|
|
|
@@ -61,7 +61,7 @@ cc_library(
|
|
|
cc_library(
|
|
|
name = "dictionary",
|
|
|
hdrs = ["dictionary.h"],
|
|
|
- deps = ["//executable_semantics/common:arena"],
|
|
|
+ deps = ["//explorer/common:arena"],
|
|
|
)
|
|
|
|
|
|
cc_library(
|
|
|
@@ -69,8 +69,8 @@ cc_library(
|
|
|
srcs = ["exec_program.cpp"],
|
|
|
hdrs = ["exec_program.h"],
|
|
|
visibility = [
|
|
|
- "//executable_semantics:__pkg__",
|
|
|
- "//executable_semantics/fuzzing:__pkg__",
|
|
|
+ "//explorer:__pkg__",
|
|
|
+ "//explorer/fuzzing:__pkg__",
|
|
|
],
|
|
|
deps = [
|
|
|
":interpreter",
|
|
|
@@ -79,8 +79,8 @@ cc_library(
|
|
|
":type_checker",
|
|
|
"//common:check",
|
|
|
"//common:ostream",
|
|
|
- "//executable_semantics/ast",
|
|
|
- "//executable_semantics/common:arena",
|
|
|
+ "//explorer/ast",
|
|
|
+ "//explorer/common:arena",
|
|
|
"@llvm-project//llvm:Support",
|
|
|
],
|
|
|
)
|
|
|
@@ -90,8 +90,8 @@ cc_library(
|
|
|
hdrs = ["field_path.h"],
|
|
|
deps = [
|
|
|
"//common:ostream",
|
|
|
- "//executable_semantics/ast",
|
|
|
- "//executable_semantics/ast:static_scope",
|
|
|
+ "//explorer/ast",
|
|
|
+ "//explorer/ast:static_scope",
|
|
|
"@llvm-project//llvm:Support",
|
|
|
],
|
|
|
)
|
|
|
@@ -105,9 +105,9 @@ cc_library(
|
|
|
":address",
|
|
|
":heap_allocation_interface",
|
|
|
"//common:ostream",
|
|
|
- "//executable_semantics/common:error_builders",
|
|
|
- "//executable_semantics/common:nonnull",
|
|
|
- "//executable_semantics/common:source_location",
|
|
|
+ "//explorer/common:error_builders",
|
|
|
+ "//explorer/common:nonnull",
|
|
|
+ "//explorer/common:source_location",
|
|
|
"@llvm-project//llvm:Support",
|
|
|
],
|
|
|
)
|
|
|
@@ -117,8 +117,8 @@ cc_library(
|
|
|
hdrs = ["heap_allocation_interface.h"],
|
|
|
deps = [
|
|
|
":address",
|
|
|
- "//executable_semantics/common:arena",
|
|
|
- "//executable_semantics/common:nonnull",
|
|
|
+ "//explorer/common:arena",
|
|
|
+ "//explorer/common:nonnull",
|
|
|
],
|
|
|
)
|
|
|
|
|
|
@@ -138,12 +138,12 @@ cc_library(
|
|
|
":stack",
|
|
|
"//common:check",
|
|
|
"//common:ostream",
|
|
|
- "//executable_semantics/ast",
|
|
|
- "//executable_semantics/ast:declaration",
|
|
|
- "//executable_semantics/ast:expression",
|
|
|
- "//executable_semantics/ast:pattern",
|
|
|
- "//executable_semantics/common:arena",
|
|
|
- "//executable_semantics/common:error_builders",
|
|
|
+ "//explorer/ast",
|
|
|
+ "//explorer/ast:declaration",
|
|
|
+ "//explorer/ast:expression",
|
|
|
+ "//explorer/ast:pattern",
|
|
|
+ "//explorer/common:arena",
|
|
|
+ "//explorer/common:error_builders",
|
|
|
"@llvm-project//llvm:Support",
|
|
|
],
|
|
|
)
|
|
|
@@ -154,12 +154,12 @@ cc_library(
|
|
|
hdrs = ["resolve_control_flow.h"],
|
|
|
deps = [
|
|
|
"//common:check",
|
|
|
- "//executable_semantics/ast",
|
|
|
- "//executable_semantics/ast:declaration",
|
|
|
- "//executable_semantics/ast:return_term",
|
|
|
- "//executable_semantics/ast:statement",
|
|
|
- "//executable_semantics/common:error_builders",
|
|
|
- "//executable_semantics/common:nonnull",
|
|
|
+ "//explorer/ast",
|
|
|
+ "//explorer/ast:declaration",
|
|
|
+ "//explorer/ast:return_term",
|
|
|
+ "//explorer/ast:statement",
|
|
|
+ "//explorer/common:error_builders",
|
|
|
+ "//explorer/common:nonnull",
|
|
|
"@llvm-project//llvm:Support",
|
|
|
],
|
|
|
)
|
|
|
@@ -170,14 +170,14 @@ cc_library(
|
|
|
hdrs = ["resolve_names.h"],
|
|
|
deps = [
|
|
|
"//common:check",
|
|
|
- "//executable_semantics/ast",
|
|
|
- "//executable_semantics/ast:declaration",
|
|
|
- "//executable_semantics/ast:expression",
|
|
|
- "//executable_semantics/ast:pattern",
|
|
|
- "//executable_semantics/ast:return_term",
|
|
|
- "//executable_semantics/ast:statement",
|
|
|
- "//executable_semantics/ast:static_scope",
|
|
|
- "//executable_semantics/common:arena",
|
|
|
+ "//explorer/ast",
|
|
|
+ "//explorer/ast:declaration",
|
|
|
+ "//explorer/ast:expression",
|
|
|
+ "//explorer/ast:pattern",
|
|
|
+ "//explorer/ast:return_term",
|
|
|
+ "//explorer/ast:statement",
|
|
|
+ "//explorer/ast:static_scope",
|
|
|
+ "//explorer/common:arena",
|
|
|
"@llvm-project//llvm:Support",
|
|
|
],
|
|
|
)
|
|
|
@@ -203,13 +203,13 @@ cc_library(
|
|
|
":dictionary",
|
|
|
":interpreter",
|
|
|
"//common:ostream",
|
|
|
- "//executable_semantics/ast",
|
|
|
- "//executable_semantics/ast:declaration",
|
|
|
- "//executable_semantics/ast:expression",
|
|
|
- "//executable_semantics/ast:statement",
|
|
|
- "//executable_semantics/common:arena",
|
|
|
- "//executable_semantics/common:error_builders",
|
|
|
- "//executable_semantics/common:nonnull",
|
|
|
+ "//explorer/ast",
|
|
|
+ "//explorer/ast:declaration",
|
|
|
+ "//explorer/ast:expression",
|
|
|
+ "//explorer/ast:statement",
|
|
|
+ "//explorer/common:arena",
|
|
|
+ "//explorer/common:error_builders",
|
|
|
+ "//explorer/common:nonnull",
|
|
|
"@llvm-project//llvm:Support",
|
|
|
],
|
|
|
)
|