Parser with beginners and enders and infix