Parse list

Work in progress
Nitpick: is the indentation off here?