English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    
Browse thread
[Caml-list] help me with infix in ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] help me with infix in ocaml
Hi,

On Fri, May 24, 2002 at 08:41:51PM -0400, dengping zhu wrote:

> let gram = Grammar.create (Plexer.make());;
> let expr = Grammar.Entry.create gram "expr";;
> 
> EXTEND
>   expr:
>       [ "1" LEFTA [] | "2" LEFTA []];
> END;;
> [...]

I don't understand: are you creating your own grammar for your own
usage or do you want to change and extend the grammar of OCaml?

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners