You can represent this
if condition: a else: b
declaratively as a: condition
b: not condition
This rephrasing does not work if "do" is in the picture, and turing-incomplete parsing becomes difficult.