More about parsing

Consider the development about parsing well parenthetized strings (see here). Build a function with the following specification:
Definition parse_nest :
 forall l: list par,
  {l'':list par &
   {t:bin | parse_rel l l'' t}}+{forall l'' t', ~parse_rel l l'' t'}.

Solution

Follow this link



Yves Bertot
Last modified: Sun May 3 13:54:30 CEST 2015