From: John Prevost <prevost@maya.com>
To: caml-list@inria.fr
Subject: Re: Camlp4's (lack of) hygiene (was Re: Macros)
Date: 07 Jul 2000 19:42:02 -0400 [thread overview]
Message-ID: <87r995jynp.fsf@isil.localdomain> (raw)
In-Reply-To: John Prevost's message of "06 Jul 2000 22:03:43 -0400"
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.
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.
I think making changes to allow good gensymming might still be
desirable--but I'm sad that this bigger issue can't really be dealt
with without a major merge between camlp4 and ocaml itself. A merge
which does not seem likely to happen.
John.
next prev parent reply other threads:[~2000-07-09 12:45 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 [this message]
2000-07-10 9:37 ` Daniel de Rauglaudre
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=87r995jynp.fsf@isil.localdomain \
--to=prevost@maya.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