Turn syntax into a list