BUILD 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. "//executable_semantics:tracing_flag",
  24. "//executable_semantics/ast:declaration",
  25. "//executable_semantics/ast:expression",
  26. "//executable_semantics/ast:function_definition",
  27. "//executable_semantics/ast:member",
  28. "//executable_semantics/ast:statement",
  29. ],
  30. )
  31. cc_library(
  32. name = "containers",
  33. srcs = [
  34. "list_node.h",
  35. ],
  36. hdrs = [
  37. "dictionary.h",
  38. "stack.h",
  39. ],
  40. )