add if parsing to kaleidoscope