A simple parser based on separators