diff options
author | Matthew Sotoudeh <masotoudeh@ucdavis.edu> | 2020-11-10 14:16:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 14:16:20 -0800 |
commit | de88829eccd369aa1872413d6068d5179468c47e (patch) | |
tree | 1947f69081b4f647c643b0f9d5ce8c246a9b097c /runtime/BUILD | |
parent | db99b3af36fa4687c734e1c74d83157d2f10c9ed (diff) | |
parent | be64046354a0451869d475e7f0d35f4eb2344c93 (diff) |
Contains code for reproducing the demos from our Onward '20 paper about Sifter.
Diffstat (limited to 'runtime/BUILD')
-rw-r--r-- | runtime/BUILD | 74 |
1 files changed, 74 insertions, 0 deletions
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", + ], +) |