BUILD 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. load("@rules_cc//cc:defs.bzl", "cc_library")
  5. package(default_visibility = ["//executable_semantics:__subpackages__"])
  6. # TODO: It may be helpful to break this apart.
  7. cc_library(
  8. name = "interpreter",
  9. srcs = [
  10. "action.cpp",
  11. "interpreter.cpp",
  12. "typecheck.cpp",
  13. "value.cpp",
  14. ],
  15. hdrs = [
  16. "action.h",
  17. "interpreter.h",
  18. "typecheck.h",
  19. "value.h",
  20. ],
  21. deps = [
  22. ":containers",
  23. "//common:check",
  24. "//executable_semantics:tracing_flag",
  25. "//executable_semantics/ast:declaration",
  26. "//executable_semantics/ast:expression",
  27. "//executable_semantics/ast:function_definition",
  28. "//executable_semantics/ast:member",
  29. "//executable_semantics/ast:statement",
  30. ],
  31. )
  32. cc_library(
  33. name = "containers",
  34. srcs = [
  35. "list_node.h",
  36. ],
  37. hdrs = [
  38. "dictionary.h",
  39. "stack.h",
  40. ],
  41. deps = ["//common:check"],
  42. )