Files
carbon-lang/explorer/parse_and_execute/BUILD
T
Jon Ross-Perkins b1ee45c1e4 Extract ParseAndExecute as its own library. (#2813)
Currently ParseAndExecute-style logic is done in main.cpp and a test. #2799 is adding another test that needs it, as is #2811.

Also more clearly marks fuzzing as testing.

This is being extracted out of #2799 in order to try unblocking progress while review continues.
2023-05-12 08:00:43 -07:00

26 lines
721 B
Python

# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
# Exceptions. See /LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
load("//bazel/cc_toolchains:defs.bzl", "cc_env")
package(default_visibility = [
"//explorer:__pkg__",
"//explorer/fuzzing:__pkg__",
])
cc_library(
name = "parse_and_execute",
srcs = ["parse_and_execute.cpp"],
hdrs = ["parse_and_execute.h"],
deps = [
"//common:check",
"//common:error",
"//explorer/common:trace_stream",
"//explorer/interpreter:exec_program",
"//explorer/syntax",
"//explorer/syntax:prelude",
"@llvm-project//llvm:Support",
],
)