parse statement list