<div dir="ltr">2013/9/26 Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im"><br>
On 2013-09-26, at 11:34 AM, Caolan McMahon <<a href="mailto:caolan.mcmahon@gmail.com">caolan.mcmahon@gmail.com</a>> wrote:<br>
<br>
> gsc -:s filename.scm<br>
><br>
> and for interpreter:<br>
><br>
> gsi -:s filename.scm<br>
><br>
> ...recently had to figure this out myself :)<br>
<br>
</div>This only contributes to my belief that noone reads documentation anymore...<br>
<br>
<a href="http://www.iro.umontreal.ca/~gambit/doc/gambit-c.html#index-define_002dsyntax" target="_blank">http://www.iro.umontreal.ca/~gambit/doc/gambit-c.html#index-define_002dsyntax<br></a><br></blockquote><div>Well, that's not entirely true -- I've read a lot of documentation before</div>
<div>I dared to post. I've googled for many variations of "gambit scheme define</div><div>macros" and "gambit scheme syntax case", and it either directed me</div><div>here <a href="http://www.iro.umontreal.ca/~gambit/doc/gambit-c.html">http://www.iro.umontreal.ca/~gambit/doc/gambit-c.html</a> (without</div>
<div>pointing to the particuar node -- which might be significant, as the</div><div>document consists of 21 chapters), or here</div><div><a href="http://prael.wordpress.com/2008/06/29/r5rs-define-syntax-macros-in-gambit-scheme/">http://prael.wordpress.com/2008/06/29/r5rs-define-syntax-macros-in-gambit-scheme/</a><br>
</div><div>(which doesn't mention the case for the compiler), or to some mailing</div><div>list archives (which were difficult to digest)</div></div><br></div><div class="gmail_extra">The node you've pointed to is in section 6.3 "Miscellaneous extensions" (of chapter "Scheme extensions"), together with e.g. "vector-copy". Since syntax-rules are described in R5RS, I wouldn't ever think that it might be regarded as an extension to Scheme. Furthermore, I don't know what could be the reason for making the macro feature switched off by default, so it would never come to my mind that it must be switched on explicitly.<br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">Perhaps if the table of contents of the documentation was a little bit more detailed, or if the documentation was generated as one node per page (so that google could index it with more precision), the chances of finding a particular information would increase.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Anyway, I'm really glad that I wrote, because you've helped me so quickly, and so I'm grateful :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">
Thanks!</div><div class="gmail_extra">M.</div></div>