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 KAA27686; Fri, 18 Oct 2002 10:30:33 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA28422 for caml-list@pauillac.inria.fr; Fri, 18 Oct 2002 10:30:33 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA17758 for ; Fri, 18 Oct 2002 02:19:42 +0200 (MET DST) Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id g9I0JfD23313 for ; Fri, 18 Oct 2002 02:19:41 +0200 (MET DST) Received: (qmail 61724 invoked from network); 18 Oct 2002 00:19:39 -0000 Received: from node-d8e9cca2-sfo-onnet.worldcom.com (HELO checkerlap.d6.com) (216.233.204.162) by relay1.pair.com with SMTP; 18 Oct 2002 00:19:39 -0000 X-pair-Authenticated: 216.233.204.162 Message-Id: <4.3.2.7.2.20021017170538.02e92db8@mail.d6.com> X-Sender: checker@mail.d6.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 17 Oct 2002 17:19:13 -0700 To: caml-list@inria.fr From: Chris Hecker Subject: [Caml-list] 3 camlp4 questions Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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. 2. I'm trying to compile otags 3.04.3 but it's dying in pr.ml: ocamlc -pp "camlp4o q_MLast.cmo" -c -I "`camlp4 -where`" pr.ml File "pr.ml", line 105, characters 33-43: While expanding quotation "class_type": Parse error: ';' expected after [class signature item] (in [class type]) Preprocessor error make: *** [pr.cmo] Error 2 That line looks like this: | <:class_type< object $cst$ $list:csf$ end >> -> List.iter pe_class_sig_item csf This is with the cvs version of camlp4. I don't know enough camlp4 yet to fix it. 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 With that fix (taking out the output for comments and newlines in toploop.ml), the toplevel works fine without camlp4o on these big files, but with camlp4o (and the fix) it still hangs. The question is, is there a similar place in the camlp4o source that's outputting something per newline parsed at the top level? In other words, does camlp4 output anything while it's eating input, or just when it finishes? Chris ------------------- 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