-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello everyone,
I am trying to write some Scheme code, and I use define-syntax and syntax-rules very heavily. However, whenever syntax-case.scm is loaded/included, define special form does not work with #!key, #!optional, and #!rest anymore. ##define, on the other hand, is not very portable between Scheme implementation.
Is there anyway to work around this situation? I have tried to put (namespace ("##" define)) in, but that produces no difference.
Thank you, Lam Luu
Afficher les réponses par date
Hi Lam,
You might want to check out the Black Hole module system for Gambit, http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Black_Hole
Black Hole has support for syntax-rules, define-syntax and the DSSSL extensions. But keep in mind that it has some quirks on its own as well.
/Per
11 nov 2009 kl. 16.31 skrev Lam Luu:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello everyone,
I am trying to write some Scheme code, and I use define-syntax and syntax-rules very heavily. However, whenever syntax-case.scm is loaded/included, define special form does not work with #!key, #!optional, and #!rest anymore. ##define, on the other hand, is not very portable between Scheme implementation.
Is there anyway to work around this situation? I have tried to put (namespace ("##" define)) in, but that produces no difference.
Thank you, Lam Luu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkr62M4ACgkQwnXdyzbwLCVFWgCfcBbJAr4UUKW/2IVrKPYlvSe7 mpMAnRNzWQfzR+66MRfl66Y12UY3FT7Z =KzQQ -----END PGP SIGNATURE----- _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list