Parsing loop with predicates.