add if support e.g. see below

def x if (= 0 0) 1 2 ; => x = 1