Replace flow control keywords with logic operators