#!/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