English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Another nasty with ocamlyacc: magic needed?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-12-05 (06:26)
From: Geoff Wozniak <geoff@w...>
Subject: Re: [Caml-list] Another nasty with ocamlyacc: magic needed?
On 5-Dec-05, at 12:35 AM, skaller wrote:

> I need two *distinct* parsers which use the same set
> of tokens. This is currently impossible AFAICS without
> magic (distinct -- in a different module entirely)

For the record, I ran into this problem myself.  The easiest solution  
to my particular problem was to switch to using Lisp, although I am  
not advocating that you do the same.  (I'm not interested in any kind  
of language evangelizing flamewar.)  I couldn't think of an appealing  
way to deal with the problem.

Geoff Wozniak
PhD Candidate
Department of Computer Science
University of Western Ontario