Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Hongbo Zhang <bobzhang1988@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] some camlp4 documentations
Date: Sat, 12 May 2012 12:21:52 -0400	[thread overview]
Message-ID: <jom2n1$tno$1@dough.gmane.org> (raw)

Hi, List
    I have read camlp4 source tree for quite a long time, and compiled 
it here
   http://www.seas.upenn.edu/~hongboz/hongbo_zhang_files/temp.pdf
   It's still preliminary, and contains many errors.

   my 2 cents:
   1. don't use camlp4 for 3.12.0 (too many bugs there), it's fine in 3.12.1

   2. spend some time in ocamlbuild (covered in chap2), it's very easy 
to build any camlp4 extension, (not as hard as you thought)

   3. write a quick hack extension is straight-foward. a robust 
extesnsion is not easy. But, due to the fact that your camlp4Ast will be 
dumped to ocamlast, and to typedtree, the bug will be found later in 
most cases, so it's still a very powerful tool


             reply	other threads:[~2012-05-12 16:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-12 16:21 Hongbo Zhang [this message]
2012-06-05  7:23 ` Hendrik Tews

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='jom2n1$tno$1@dough.gmane.org' \
    --to=bobzhang1988@gmail.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