From: Ken A. <kan...@bb...> - 2002-07-04 23:51:19
|
The MBE version is smaller, than the psyntax one, and from email from Dori, i believe MBE is not hygenic. If you want to use a hygenic macro system, i'd go with the psyntax one. Peter, Tim and i are familiar with the "hurt yourself" Lisp style of macros, see Paul Graham's book "On Lisp", which has 14 chapters on macros. I'd be happy to support Jscheme users familiar with hygenic macros. Psyntax does seem to slow things down, i think because it is basically a giant letrec. So it seems to expose a Jscheme performance issue we should look into. At 07:04 PM 7/3/2002, Derek Upham wrote: >I've noticed that the MBE implementation doesn't support some constructs >that the EOPL implementation does (matching literals and variables in deep >trees, as I recall). But it's probably faster to load. > >Derek > >-----Original Message----- >From: Ken Anderson [mailto:kan...@bb...] >Sent: Wednesday, July 03, 2002 1:16 PM >To: Eitan Mendelowitz; jsc...@li... >Subject: Re: [Jscheme-devel] jscheme mbe package > > >There is a working version in >src/elf/mbe.scm > >There is also a more complete hygenic macro package in > >./src/elf/eopl2/jscheme > >k > >At 03:32 PM 7/3/2002, Eitan Mendelowitz wrote: > >Hi, I'm trying to write a scripting language in jscheme and I am making > >heavy use of the macro facilities. > > > >Norvig writes on his (outdated) Jscheme page: > > Dorai Sitaram (ds...@gt...) kindly contributed a R5RS compliant > > macro-by-example implementation that works in Jscheme > > > >and provides the following link: > > http://www.norvig.com/jscheme/mbe.scm > > > >The mbe library ALMOST works with the current version of > >jscheme. Unfortunatly > >it fails when using ellipsis. > > > >I was wondering if you could suggest any changes (either to the mbe > >package or to the jscheme engine) to regain this functionality. > > > >Thank you, > > > >Eitan > >ei...@cs... > > > > > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >No, I will not fix your computer. > >http://thinkgeek.com/sf > >_______________________________________________ > >Jscheme-devel mailing list > >Jsc...@li... > >https://lists.sourceforge.net/lists/listinfo/jscheme-devel > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >No, I will not fix your computer. >http://thinkgeek.com/sf >_______________________________________________ >Jscheme-devel mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-devel > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >No, I will not fix your computer. >http://thinkgeek.com/sf >_______________________________________________ >Jscheme-devel mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-devel |