Example for select a parser implementation based on criteria