qryflow_parse function

Parse a SQL workflow into tagged chunks