From 904094281b062aff3445ca41fec57e4cfd0f563d Mon Sep 17 00:00:00 2001 From: Matthew Sotoudeh Date: Tue, 10 Nov 2020 14:06:35 -0800 Subject: Initial code release --- runtime/BUILD | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 runtime/BUILD (limited to 'runtime/BUILD') diff --git a/runtime/BUILD b/runtime/BUILD new file mode 100644 index 0000000..ed2610b --- /dev/null +++ b/runtime/BUILD @@ -0,0 +1,74 @@ +package(default_visibility = ["//:__subpackages__"]) + +py_library( + name = "runtime", + srcs = ["runtime.py"], + deps = [ + ":cpp_structure", + ":interactive", + ":matcher", + ":production_rule", + ], +) + +py_library( + name = "cpp_structure", + srcs = ["cpp_structure.py"], + deps = [ + ":utils", + ], +) + +py_library( + name = "production_rule", + srcs = ["production_rule.py"], + deps = [ + ":assignment", + ":pattern", + ":utils", + ], +) + +py_library( + name = "interactive", + srcs = ["interactive.py"], + deps = [ + ":shadow_input", + ], +) + +py_library( + name = "shadow_input", + srcs = ["shadow_input.py"], + deps = [], +) + +py_library( + name = "utils", + srcs = ["utils.py"], + deps = [], +) + +py_library( + name = "assignment", + srcs = ["assignment.py"], + deps = [ + ":utils", + ], +) + +py_library( + name = "pattern", + srcs = ["pattern.py"], + deps = [ + ":utils", + ], +) + +py_library( + name = "matcher", + srcs = ["matcher.py"], + deps = [ + ":utils", + ], +) -- cgit v1.2.3