From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA04952; Fri, 18 Oct 2002 14:07:08 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA04830 for ; Fri, 18 Oct 2002 14:07:07 +0200 (MET DST) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g9IC76523502 for ; Fri, 18 Oct 2002 14:07:06 +0200 (MET DST) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id OAA14309 for caml-list@inria.fr; Fri, 18 Oct 2002 14:07:06 +0200 Date: Fri, 18 Oct 2002 14:07:06 +0200 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] 3 camlp4 questions Message-ID: <20021018140706.B12300@verdot.inria.fr> References: <4.3.2.7.2.20021018003507.02c32e18@mail.d6.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <4.3.2.7.2.20021018003507.02c32e18@mail.d6.com>; from checker@d6.com on Fri, Oct 18, 2002 at 12:35:18AM -0700 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, On Fri, Oct 18, 2002 at 12:35:18AM -0700, Chris Hecker wrote: > > 1. Are the latest camlp4 manual and tutorial in the camlp4 cvs tree > somewhere, or are they available as a tarball for downloading? The 3.06 > versions are available as a tarball or as webpages, and the latest (3.06+6) > are available as webpages, but I can't find them as a tarball. They were not, but ok, since I made recently a new section in the tutorial, I installed the tarball of the DVI and HTML versions of the current version: Camlp4 ftp distribution, directory NEW. > 2. I'm trying to compile otags 3.04.3 but it's dying in pr.ml: > [...] > | <:class_type< object $cst$ $list:csf$ end >> -> It was changed in version 3.05. Now the good syntax is: <:class_type< object $opt:cst$ $list:csf$ end >> But, to remain compatible, I just added some code to allow the old syntax to be accepted: it works but displays a warning. Just upgrade your Camlp4 version. > 3. I'm trying to use camlp4o parsing in my toplevel running in emacs (on > Win2k). It works fine most of the time. However, if I send a large buffer > of text to the toplevel, emacs and the toplevel hang. It's behaving > exactly like a similar problem I had with the toplevel that I fixed and > documented here: > > http://groups.google.com/groups?selm=fa.grqn5sv.1c46apb%40ifi.uio.no Oops, I have difficulties to understand your fix. And I don't understand: if the fix applies to the function refill_lexbuff of the Toplevel, it should work with Camlp4 since the toplevel of Camlp4 just uses the lex buffer that OCaml provides. But, ok, if you need to know where it speaks about the lex buffer, go to the subdirectory "top" of the Camlp4 distribution, file "camlp4_top.ml". If you find something which would fix your problem, please let me know where and I can update the file. -- 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