Files
carbon-lang/executable_semantics/BUILD
T
Jon Meow a9eed3dbf1 Pass the flag instead of using a global. (#893)
Arguably missed in #769 

Note, this is reminding me we have more class members to rename for `_`, but I felt it's best to use the new naming instead of adding more to clean up.
2021-10-19 09:16:57 -07:00

22 lines
595 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/testing:lit_test.bzl", "lit_test")
cc_binary(
name = "executable_semantics",
srcs = ["main.cpp"],
deps = [
"//executable_semantics/interpreter:exec_program",
"//executable_semantics/syntax",
"@llvm-project//llvm:Support",
],
)
lit_test(
name = "executable_semantics_lit_test",
test_dir = "testdata",
tools = [":executable_semantics"],
)