unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
[parent not found: <m3znws4nr2.fsf@laruns.ossau.uklinux.net>]
[parent not found: <Pine.GSO.4.05.10207142321410.23724-100000@sallust.ida.ing.tu-bs.de>]
[parent not found: <Pine.GSO.4.05.10207130841180.21201-100000@sallust.ida.ing.tu-bs.de>]
[parent not found: <Pine.GSO.4.05.10207131148030.21457-100000@sallust.ida.ing.tu-bs.de>]
[parent not found: <Pine.GSO.4.05.10207102158440.16653-100000@sallust.ida.ing.tu-bs.de>]
[parent not found: <Pine.GSO.4.05.10207102138580.16653-100000@sallust.ida.ing.tu-bs.de>]
[parent not found: <m3d6tv99dp.fsf@laruns.ossau.uklinux.net>]
[parent not found: <87hej7mlc3.fsf@zagadka.ping.de>]
[parent not found: <Pine.GSO.4.05.10207100709220.15376-100000@sallust.ida.ing.tu-bs.de>]
[parent not found: <Pine.GSO.4.05.10207100727490.15376-100000@sallust.ida.ing.tu-bs.de>]
[parent not found: <m3fzysa9fe.fsf@laruns.ossau.uklinux.net>]
[parent not found: <87ptxwdamm.fsf@zagadka.ping.de>]
[parent not found: <Pine.GSO.4.05.10207082223400.12632-100000@sallust.ida.ing.tu-bs.de>]
[parent not found: <Pine.GSO.4.05.10207082202540.12632-100000@sallust.ida.ing.tu-bs.de>]
[parent not found: <87r8if77a6.fsf@zagadka.ping.de>]
[parent not found: <Pine.GSO.4.05.10207042204110.5534-100000@sallust.ida.ing.tu-bs.de>]
[parent not found: <Pine.GSO.4.05.10207032208310.27679-100000@sallust.ida.ing.tu-bs.de>]
[parent not found: <Pine.GSO.4.05.10207032204140.27679-100000@sallust.ida.ing.tu-bs.de>]
[parent not found: <87k7ofb0h2.fsf@raven.i.defaultvalue.org>]
[parent not found: <87adpbxfio.fsf@zagadka.ping.de>]
[parent not found: <200207012220.PAA08054@onyx.he.net>]
[parent not found: <Pine.GSO.4.05.10207012134500.15843-100000@sallust.ida.ing.tu-bs.de>]
* macros, procedure->macro
@ 2002-07-01 19:56 Dirk Herrmann
  0 siblings, 0 replies; 38+ messages in thread
From: Dirk Herrmann @ 2002-07-01 19:56 UTC (permalink / raw)


Hi,

Guile currently supports three types of builtin macros:  "acros", "macros"
and "mmacros".  Of these, only "mmacros" work like real syntax
transformers, i. e. only "mmacros" will lead to a changed code.  Instead,
"acros" and "macros" will not change the code, but instead may even treat
their syntactic expression differently every time the same code is
encountered.

That is, if we plan to split up syntax transformation,
compilation/memoization and execution, we could not remove "acros" and
"macros" from the execution, since they may behave differently every time
the same code is executed.

I therefore strongly suggest to get rid of "acros" and "macros".  As a
first step, I suggest to get rid of "macros" and their scheme-level
representative procedure->macro: As far as I see it, there is only one use
of "macros" in guile, namely in boot-9-scm as a call to procedure->macro.  
And, to me it seems this could be replaced without problems by a call to
procedure->memoizing-macro.

I ask you for the following:

1) Some macro expert should check that replacing the call to
procedure->macro in boot-9.scm by a call to procedure->memoizing-macro is
safe.

2) Every guile user should determine, whether it would be OK if we got rid
of "macros".

3) Decide officially, whether it is OK to remove "macros" from the head
branch.

If all results are positive, I will go ahead and remove the support
for "macros" from guile.  After that, I will take a close look at "acros"
and we will play a similar game with "acros" again...

Best regards, 
Dirk Herrmann


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2002-07-16 22:00 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.GSO.4.05.10207102338290.16926-100000@sallust.ida.ing.tu-bs.de>
2002-07-13  9:53 ` macros, procedure->macro Dirk Herrmann
     [not found] <m3znws4nr2.fsf@laruns.ossau.uklinux.net>
2002-07-16 22:00 ` Dirk Herrmann
     [not found] <Pine.GSO.4.05.10207142321410.23724-100000@sallust.ida.ing.tu-bs.de>
2002-07-15 20:48 ` Marius Vollmer
2002-07-15 22:42 ` Neil Jerram
     [not found] <Pine.GSO.4.05.10207130841180.21201-100000@sallust.ida.ing.tu-bs.de>
2002-07-14 15:23 ` Neil Jerram
2002-07-14 21:35   ` Dirk Herrmann
     [not found] <Pine.GSO.4.05.10207131148030.21457-100000@sallust.ida.ing.tu-bs.de>
2002-07-13 18:38 ` Marius Vollmer
     [not found] <Pine.GSO.4.05.10207102158440.16653-100000@sallust.ida.ing.tu-bs.de>
2002-07-13  0:09 ` Neil Jerram
     [not found] ` <m3d6ts7akl.fsf@laruns.ossau.uklinux.net>
2002-07-13  2:36   ` Clinton Ebadi
2002-07-13  6:53   ` Dirk Herrmann
     [not found]   ` <200207122236.56581.unknown_lamer@unknownlamer.org>
2002-07-14 15:23     ` Neil Jerram
     [not found]     ` <m3r8i65o6a.fsf@laruns.ossau.uklinux.net>
2002-07-14 16:26       ` Marius Vollmer
     [not found]       ` <87fzymff8b.fsf@zagadka.ping.de>
2002-07-15  6:03         ` Rob Browning
     [not found] <Pine.GSO.4.05.10207102138580.16653-100000@sallust.ida.ing.tu-bs.de>
2002-07-10 20:08 ` Marius Vollmer
     [not found] <m3d6tv99dp.fsf@laruns.ossau.uklinux.net>
2002-07-10 20:03 ` Dirk Herrmann
     [not found] <87hej7mlc3.fsf@zagadka.ping.de>
2002-07-10 19:57 ` Dirk Herrmann
     [not found] <Pine.GSO.4.05.10207100709220.15376-100000@sallust.ida.ing.tu-bs.de>
2002-07-10 19:31 ` Marius Vollmer
     [not found] <Pine.GSO.4.05.10207100727490.15376-100000@sallust.ida.ing.tu-bs.de>
2002-07-10 10:15 ` Neil Jerram
     [not found] <m3fzysa9fe.fsf@laruns.ossau.uklinux.net>
2002-07-10  5:46 ` Dirk Herrmann
     [not found] <87ptxwdamm.fsf@zagadka.ping.de>
2002-07-10  5:21 ` Dirk Herrmann
     [not found] <Pine.GSO.4.05.10207082223400.12632-100000@sallust.ida.ing.tu-bs.de>
2002-07-09 18:22 ` Marius Vollmer
     [not found] <Pine.GSO.4.05.10207082202540.12632-100000@sallust.ida.ing.tu-bs.de>
2002-07-09 18:13 ` Marius Vollmer
     [not found] <87r8if77a6.fsf@zagadka.ping.de>
2002-07-08 20:31 ` Dirk Herrmann
     [not found] <Pine.GSO.4.05.10207042204110.5534-100000@sallust.ida.ing.tu-bs.de>
2002-07-07 18:15 ` Marius Vollmer
2002-07-08 20:23   ` Dirk Herrmann
2002-07-10 21:54   ` Dirk Herrmann
     [not found] <Pine.GSO.4.05.10207032208310.27679-100000@sallust.ida.ing.tu-bs.de>
2002-07-07 17:54 ` Marius Vollmer
     [not found] <Pine.GSO.4.05.10207032204140.27679-100000@sallust.ida.ing.tu-bs.de>
2002-07-04 20:16 ` Dirk Herrmann
     [not found] <87k7ofb0h2.fsf@raven.i.defaultvalue.org>
2002-07-03 20:24 ` Dirk Herrmann
     [not found] <87adpbxfio.fsf@zagadka.ping.de>
2002-07-03 20:11 ` Dirk Herrmann
     [not found] <200207012220.PAA08054@onyx.he.net>
2002-07-03 20:08 ` Dirk Herrmann
     [not found] <Pine.GSO.4.05.10207012134500.15843-100000@sallust.ida.ing.tu-bs.de>
2002-07-01 20:27 ` Thien-Thi Nguyen
2002-07-03 20:02   ` Dirk Herrmann
2002-07-01 21:30 ` Rob Browning
2002-07-01 22:14 ` Marius Vollmer
2002-07-01 22:17 ` Gary Houston
2002-07-09 21:16 ` Neil Jerram
2002-07-01 19:56 Dirk Herrmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).