CMUCL info reader (was [Maxima] Info reader for Clisp)



>>>>> "Ole" == Ole Rohne <ole.rohne@cern.ch> writes:

    Ole> Raymond Toy <toy@rtp.ericsson.se> writes:
    >> I've also changed cmulisp-regex so that it can use the same
    >> cl-info.lisp file.

    Ole> Did you ever try using the regexp library directly from glibc (that
    Ole> many CMUCLs have already linked anyway)? What's good is that the user

Yes, but didn't actually do it, mostly because I'm not sure Solaris
has exactly the same interface.  It shouldn't be too hard.  I also
thought about using one of the Lisp regex packages.  Never did
anything more than think about it though.

(P.S.  I fixed the bug that made info searches so much slower in clisp
and CMUCL.  It was using * when it should have been \*.  Ah, the fun
of reading someone else's hairy regexps using a different syntax!)

    Ole> won't have to look for regex 0.12 - and you don't have to take care
    Ole> about relinking regex when you restart a core.

That's already taken care of in the init-maxima routine.

    Ole> The bad thing is that the regex inside some glibc is broken in the
    Ole> sense that it chokes when searching for a very simple regex "^L^_" in
    Ole> one of the info files. I was able to work around doing these few
    Ole> searches directly in lisp. 

A broken glibc is a good reason to use GNU regex.  If people think
this is worth having, I see no reason why it can't be added as part of
maxima's source, just like gmp has been added.

    Ole> This in turn made me think that maybe one should get rid of the regex
    Ole> part entirely - any idea how hard that would be?  Getting into the

Probably not too hard as long you're careful in writing the texi
files.  The searches being done are usually fairly simple.  I think
the regexp's just add a bit of robustness when things are quite
what was expected. 

    Ole> user interface issue - an alternative path is to beef up some emacs
    Ole> interface to use emacs' info directly.

At that point, I'd rather have maxima start up a browser to load up
the html version.

Ray