From: Chris Hecker <checker@d6.com>
To: caml-list@inria.fr
Subject: [Caml-list] 3 camlp4 questions
Date: Thu, 17 Oct 2002 17:19:13 -0700 [thread overview]
Message-ID: <4.3.2.7.2.20021017170538.02e92db8@mail.d6.com> (raw)
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
next reply other threads:[~2002-10-18 8:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-18 0:19 Chris Hecker [this message]
2002-10-18 7:35 Chris Hecker
2002-10-18 12:07 ` Daniel de Rauglaudre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4.3.2.7.2.20021017170538.02e92db8@mail.d6.com \
--to=checker@d6.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox