What is the objective with your preprocessor, may Black Hole be of use? Brgds<br><br><div class="gmail_quote">2012/6/10 David Rush <span dir="ltr"><<a href="mailto:kumoyuki@gmail.com" target="_blank">kumoyuki@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 10 June 2012 16:09, Marc Feeley <<a href="mailto:feeley@iro.umontreal.ca">feeley@iro.umontreal.ca</a>> wrote:<br>


><br>
> On 2012-06-10, at 10:47 AM, David Rush wrote:<br>
</div><div class="im">>> also interferes with recognizing keywords. I think i need "-:S"<br>
>> instead, which i guess has been added since I last update my Gambit<br>
>> makefiles (don't ask - it's been a while)<br>
><br>
</div><div class="im">> Note that with -:S Gambit recognizes the keyword syntax, but does not<br>
> implement syntax-case.  So I don't think that is what you want (if you want<br>
> define-syntax).<br>
<br>
</div>Oh dear, I think the documentation is perhaps a bit confusing on this topic.<br>
<br>
from the comments on run-time options.<br>
<br>
"The ‘s’ option selects standard Scheme mode. In this mode the reader<br>
is case-insensitive and keywords are not recognized. The ‘S’ option<br>
selects Gambit Scheme mode (the reader is case-sensitive and<br>
recognizes keywords which end with a colon). By default Gambit Scheme<br>
mode is used."<br>
<br>
and then there's the comment on define-syntax<br>
<br>
"Define name as a macro special form whose expansion is specified by<br>
expander. This form is available only when the runtime option ‘-:s’ is<br>
used. This option causes the loading of the ~~lib/syntax-case support<br>
library, which is the Hieb and Dybvig portable syntax-case<br>
implementation which has been ported to the Gambit interpreter and<br>
compiler. Note that this implementation of syntax-case does not<br>
support special forms that are specific to Gambit."<br>
<br>
I will grant that the two options are only superficially similar, but<br>
I found it easy to confuse. How hard is it to get Hieb & Dybvig's<br>
expander to work with the Gambit-mode reader? In any case, I'm sure<br>
this is why I built Al* Petrofsky's syntax-rules expander into my<br>
preprocessor, so it is certainly not a show-stopper for me *now*.<br>
<br>
Thanks again to all for the clarification<br>
<div class="im HOEnZb">--<br>
GPG Public key at <a href="http://cyber-rush.org/drr/gpg-public-key.txt" target="_blank">http://cyber-rush.org/drr/gpg-public-key.txt</a><br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</div></div></blockquote></div><br>