IDEMSInternational / rapidpro-flow-toolkit

Toolkit for using spreadsheets to create and modify RapidPro flows
GNU Lesser General Public License v2.1
3 stars 1 forks source link

For-loops in sheet-based flow format #39

Closed geoo89 closed 1 year ago

geoo89 commented 1 year ago

Introduces the row types begin_for and end_for for allow looping over rows, creating multiple different instantiations of the rows within the loop.

This includes some major refactors, including the use of a SheetParser allowing to visit sheet rows multiple times, and NodeGroups that can be nested to arbitrary depth that are used when creating flows.

The standard parser has been renamed to FlowParser in the process, for more clarity.