diff options
Diffstat (limited to 'modeling/model_init.py')
-rw-r--r-- | modeling/model_init.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modeling/model_init.py b/modeling/model_init.py index a6ca3ac..7fb1c84 100644 --- a/modeling/model_init.py +++ b/modeling/model_init.py @@ -241,4 +241,21 @@ def init(): f"plus{i}{j}", "math_op", op="add", arg1=i, arg2=j, result=i + j ) ) + + Model.productionstring( + name="continue_with_next_op", + string=""" + =g> + isa math_goal + op done + nextop ~None + nextop =nextop + ==> + =g> + isa math_goal + op =nextop + nextop None + """, + ) + return Model, DM, goal, imaginal, env |