Implement list parsing