coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre Casteran <casteran AT labri.fr>
- To: coq-club AT pauillac.inria.fr
- Subject: [Coq-Club] Problemes with extendable grammars
- Date: Thu, 28 Nov 2002 19:48:13 +0100
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
- Organization: LaBRI
Hello,
I wanted to have some notation for some kinds of lists.
What is wrong with the following definition ?
Pierre
Require PolyList.
Grammar listes inside_list : ast list :=
inside_cons [constr($a) listes:inside_list($b)] ->
[(cons $a $b)]
|inside_one [constr0($a) ">>"] ->[(cons $a (nil ?))].
Syntax error: [Prim.ast] expected after [astident] (in [Prim.ast])
--
Pierre Casteran,
LaBRI, Universite Bordeaux-I |
351 Cours de la Liberation |
F-33405 TALENCE Cedex |
France |
tel : (+ 33) 5 56 84 69 31
fax : (+ 33) 5 56 84 66 69
email: Pierre . Casteran @ labri . u-bordeaux . fr (but whithout white space)
www: http://dept-info.labri.u-bordeaux.fr/~casteran
- [Coq-Club] Problemes with extendable grammars, Pierre Casteran
- Re: [Coq-Club] Problemes with extendable grammars,
Hugo Herbelin
- Re: [Coq-Club] Problemes with extendable grammars, Jasper Stein
- Re: [Coq-Club] Problemes with extendable grammars, Pierre Casteran
- Re: [Coq-Club] Problemes with extendable grammars,
Hugo Herbelin
Archive powered by MhonArc 2.6.16.