(***********************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* nat. Grammar nat number :=. Grammar constr constr10 := natural_nat [ nat:number($c) ] -> [$c]. Grammar constr pattern := natural_pat [ nat:pat_number($c) ] -> [$c]. Syntax constr level 0: myspecialvariable [ My_special_variable ] -> ["S"]; level 10: S [ (S $p) ] -> [$p:"nat_printer"] | O [ O ] -> [ "0" ] .