Split the parser details out from the sublime logic