This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Creating hooks from C
Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
> > I'd like add docstrings for my application procedures and want to use
> > snarf macros. Shouldn't the snarf macros be part of the API?
>
> It is important that it is easy for an application author to extend
> his application using Guile. If the snarf macros would be a part of
> the Guile API proper, we would force him to add the .x-file mechanism
> and calling the snarf script. We don't want to do that.
(snip)
> But I'm not saying that an application writer *shouldn't* use the
> snarf macros. We should regard it as a convenient optional extension.
I see. I just thought it is good if snarf macros are regarded as a part
of the API. It's the application author's decision not to use it.
> BTW, regarding doc strings, we might consider extending the gh
> interface to support them, but, again, I think we should wait a bit
> with this until things are more settled.
Okay. I'm not actually implementing the code right now.