Parser for CS3210