This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: docstrings in Guile!


>>>>> "Greg" == Greg J Badros <gjb@cs.washington.edu> writes:

    >>  Now that I have it finally built, the above does not work for
    >> me.  In fact, documentation is undefined.  Did I missing
    >> something?  procedure-documentation is there, but it returns #f
    >> on any symbol.

    Greg> Doh. You need to do

    Greg> (use-modules (ice-9 documentation))

    Greg> somehow I skipped that line when I cut and pasted into my
    Greg> email message.  Sorry about that.

Ok, I'm getting there.  However, it was (use-modules (ice-9 doc)), and
guile-procedures.txt was installed into /usr/local/share/guile, I had
to mv it to /usr/local/share/guile/1.3.5.

Now I can pull view the doc strings!  Right on!  A detail now is that
all of the docstrings are spaceless:

(char=? x y)
Return#tiffXisthesamecharacterasY,else#f.
^A[chars.c:66]

This is definitly a mawk thing, after I installed gawk, I manually ran
guile-doc-snarf on alist.c and it the docstrings from that file are
fine.  I'm not too versed in the ways of awk, but I'll play around
with guile-doc-snarf.awk and see if I can work it out.  In the
meantime I suppose I can rebuild it with gawk.

Thanks for you help, Greg.

rcy

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]