Hand-written parser for "for statement"