Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Wojciech Meyer <wojciech.meyer@googlemail.com>
To: Hongbo Zhang <bobzhang1988@gmail.com>
Cc: Gabriel Scherer <gabriel.scherer@gmail.com>,
	Anil Madhavapeddy <Anil@recoil.org>,
	 caml users <caml-list@inria.fr>
Subject: [Caml-list] Re: working %.pp.ml target with ocamfind/ocamlbuild
Date: Mon, 10 Sep 2012 13:55:38 +0100	[thread overview]
Message-ID: <CAOg1smD+p67ZTMyGpiPeibbx9A9uQXZBiJn3viqZfLob_3hv4g@mail.gmail.com> (raw)
In-Reply-To: <504DD828.3000208@gmail.com>

> Yes, it's damn useful not only for bootstrapping, but also for
> developing to locate type errors. But there's something wrong with
> Camlp4's printer, it has *4* printers in total, writing a printer for an
> Ast which has no backend is totally useless. In my branch of camlp4, *I
> removed all those 4 printers and using tools/pprintast.ml* in ocaml's
> compiler source tree(with some my own bug fixes), and it works very
> well.

Yes, typing errors are also hard to track in the default Camlp4
"stealth mode". I generally think it works well, apart from the corner
cases which will always occur during development where you really need
full excerpt of the generated code.

> Btw, are you in ICFP? we could have a talk about Camlp4 :-)

Not on ICFP but on OUD only.. but yeah, we could talk about Camlp4, I
think OCaml meta programming tools deserve much more attention in
general.

- Wojciech

  parent reply	other threads:[~2012-09-10 12:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-30 23:19 [Caml-list] " Anil Madhavapeddy
2011-12-31  9:22 ` Gabriel Scherer
2012-09-09 16:29   ` Wojciech Meyer
2012-09-10 12:08     ` [Caml-list] " Hongbo Zhang
2012-09-10 12:18       ` bob zhang
2012-09-10 13:04         ` Wojciech Meyer
2012-09-11 12:27         ` AW: " Gerd Stolpmann
2012-09-11 12:50           ` Wojciech Meyer
2012-09-11 13:41             ` AW: " Gerd Stolpmann
     [not found]             ` <1347370879.3496.9@samsung>
2012-09-11 14:02               ` Wojciech Meyer
2012-09-11 20:24           ` [Caml-list] Re: AW: " Hongbo Zhang
2012-09-11 23:13             ` [Caml-list] " Gerd Stolpmann
2012-09-12  5:16               ` Hongbo Zhang
2012-09-10 12:55       ` Wojciech Meyer [this message]
2012-09-10 13:52         ` Alain Frisch
2012-09-10 14:36           ` Paolo Donadeo
2012-09-18  6:08             ` [Caml-list] Slides of ML workshop (was: working %.pp.ml target with ocamfind/ocamlbuild) Alain Frisch
2012-09-20 21:04     ` [Caml-list] working %.pp.ml target with ocamfind/ocamlbuild Anil Madhavapeddy

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=CAOg1smD+p67ZTMyGpiPeibbx9A9uQXZBiJn3viqZfLob_3hv4g@mail.gmail.com \
    --to=wojciech.meyer@googlemail.com \
    --cc=Anil@recoil.org \
    --cc=bobzhang1988@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=gabriel.scherer@gmail.com \
    /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