From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: John Prevost <prevost@maya.com>
Cc: caml-list@inria.fr
Subject: Re: Camlp4's (lack of) hygiene (was Re: Macros)
Date: Mon, 10 Jul 2000 11:37:58 +0200 [thread overview]
Message-ID: <20000710113758.F6842@jaune.inria.fr> (raw)
In-Reply-To: <87r995jynp.fsf@isil.localdomain>; from prevost@maya.com on Fri, Jul 07, 2000 at 07:42:02PM -0400
Hi,
On Fri, Jul 07, 2000 at 07:42:02PM -0400, John Prevost wrote:
> Somebody on clf pointed out the other bigger part of hygiene, which is
> allowing symbols which *are* bound in the "macro" source to be
> statically bound to that value when used. Unfortunately, I don't
> think this is a change that's at all simple for camlp4, since it
> requires very tight coupling with the compiler.
Well, if I find how to do that, I think it would not be a problem to
add things in Ocaml compiler to allow that, if it is not too complicated.
> Kind of sad, since for some of the most easy useful things you could
> do (providing little syntaxes for various datastructures via
> quotations) depend on referring to values from the ernvironment. As
> an example, the quotations in q_MLast need Pcaml to be opened, or they
> won't work.
??? No. These quotations do not depend on Pcaml... only on MLast.
--
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
The trouble with computers is that they do what you tell them, not what
you want (D. Cohen).
next prev parent reply other threads:[~2000-07-16 21:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <8js72h$11h$1@nnrp1.deja.com>
[not found] ` <Pine.LNX.4.21.0007041051140.20796-100000@punaluu.informatik.uni-freiburg.de>
[not found] ` <8juuep$420$1@news.planetinternet.be>
[not found] ` <u0lmzhyllz.fsf@hana.kurims.kyoto-u.ac.jp>
[not found] ` <8jv92l$qpb$1@bird.wu-wien.ac.at>
[not found] ` <u0wvj0datl.fsf@hana.kurims.kyoto-u.ac.jp>
2000-07-07 2:03 ` John Prevost
2000-07-07 23:42 ` John Prevost
2000-07-10 9:37 ` Daniel de Rauglaudre [this message]
2000-07-10 10:17 ` John Prevost
2000-07-10 11:42 ` Judicael Courant
2000-07-10 13:16 ` John Prevost
2000-07-17 10:08 ` Markus Mottl
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=20000710113758.F6842@jaune.inria.fr \
--to=daniel.de_rauglaudre@inria.fr \
--cc=caml-list@inria.fr \
--cc=prevost@maya.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