ml4ai / automates

AutoMATES: Automated Model Assembly from Text, Equations, and Software
https://ml4ai.github.io/automates
Other
25 stars 9 forks source link

Adding handling of break and continue in loops and conditionals #304

Open cl4yton opened 2 years ago

cl4yton commented 2 years ago

Adding this will require keeping track of operation order in at least base CAST. We (Tito, Ryan, Janalee, Clay) have previously discussed doing this by adding an order number to each CAST node; when a break or continue is indicated, then the order number of the parent can be used to resolve where to return control.