Hi,<br><br><div class="gmail_quote">Den 3 mars 2012 13:29 skrev Álvaro Castro-Castilla <span dir="ltr"><<a href="mailto:alvaro.castro.castilla@gmail.com">alvaro.castro.castilla@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>
I think this is an old topic I'm bringing here. But I haven't found<br>
the solution yet. Is there a way to use #!key and #!optional<br>
parameters when loading syntax-case extension?<br></blockquote><div><br>I believe I have a rough memory of some ml email that said this is not possible.<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


If not, how can I at least use procedures that expect these and pass<br>
the arguments, like in compile-file?<br></blockquote><div><br>What do you say of,<br><br>1) Rewrite invocation to form (apply target-proc (list arg0 arg1 etc. (string->keyword "key-arg-1") val-1)<br><br>2) Make a wrapper that's implemented and loaded outside of the syntax-case lib - (invoke-procedure compile-file '((arg0-v arg2-v) (key-arg-1 . val-1)) <br>

<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Best regards<br>
_______________________________________________<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>
</blockquote></div><br>