Question d’entretien chez Google

Provide a parser for a given regular language.