Parse a pipeline