parse the code listing