Files
carbon-lang/executable_semantics/interpreter/BUILD
T
Dave Abrahams 29a59944fa Executable Semantics: 1st-class stacks (#296)
Replaces low-level uses of `Cons` with a first-class `Stack` data structure.  Also removes an unused algorithm.
Co-authored-by: Jeremy Siek <jsiek@indiana.edu>

Possible next step: use `std::stack` instead.
2021-02-26 09:46:32 -08:00

35 lines
955 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("@rules_cc//cc:defs.bzl", "cc_library")
package(default_visibility = ["//executable_semantics:__subpackages__"])
# TODO: It may be helpful to break this apart.
cc_library(
name = "interpreter",
srcs = [
"action.cpp",
"interpreter.cpp",
"typecheck.cpp",
"value.cpp",
],
hdrs = [
"action.h",
"assoc_list.h",
"cons_list.h",
"interpreter.h",
"stack.h",
"typecheck.h",
"value.h",
],
deps = [
"//executable_semantics/ast:declaration",
"//executable_semantics/ast:expression",
"//executable_semantics/ast:function_definition",
"//executable_semantics/ast:member",
"//executable_semantics/ast:statement",
],
)