[plt-scheme] Keyword argument macros
Something that might work, depending on your macro
Pass the arguments to the a define-for-syntax function with
appropriate keyword arguments.
HTH,
N.
On Tue, Jan 6, 2009 at 12:43 PM, Casey Klein <clklein at cs.uchicago.edu> wrote:
> I'd like to write a macro that accepts keyword arguments, e.g.,
> (my-macro e1 #:kw e2 e3). syntax-case isn't much help in parsing the
> macro's input. Do I need to do this parsing myself, checking for
> duplicate/missing keywords, or is there some library solution I'm
> missing?
>
> Thanks,
> Casey