diff options
author | Dobbertin, Niclas <niclas.dobbertin@mailbox.org> | 2024-06-07 18:42:14 +0200 |
---|---|---|
committer | Dobbertin, Niclas <niclas.dobbertin@mailbox.org> | 2024-06-07 18:42:14 +0200 |
commit | 76ef769e1770ab0510845f7ffcc0299f0c165d4f (patch) | |
tree | 3f3e56a427f794e82a3ca1a11fbd85050236c2b2 /modeling/prod_vis.py | |
parent | fbcbf9b850e372a42c43b6f769f9baa47517b85b (diff) |
visual bbbbroken
Diffstat (limited to 'modeling/prod_vis.py')
-rw-r--r-- | modeling/prod_vis.py | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/modeling/prod_vis.py b/modeling/prod_vis.py new file mode 100644 index 0000000..893c588 --- /dev/null +++ b/modeling/prod_vis.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python3 + +def procedures(Model): + prods = [] + + vis_find_arg1_header = Model.productionstring( + name = "vis_find_arg1_header", + string=""" + =g> + isa math_goal + op vis_find_arg1 + arg1 =var + ==> + =g> + isa math_goal + op find_arg1_header + +visual_location> + isa _visuallocation + value =var + """ + ) + + # vis_find_arg1_header_done = Model.productionstring( + # name = "vis_find_arg1_header_done", + # string=""" + # =g> + # isa math_goal + # op find_arg1_header + # arg1 =var + # arg1_idx =idx + # =visual> + # isa _visual + # screen_y =vis_y + # ==> + # =g> + # isa math_goal + # op search_arg1_idx + # +visual> + # isa _visual + # cmd move_attention + # screen_x current + # screen_y nearest + # """ + # ) + + return prods |