Hi Volker,
Thank you very much - yes, loading just stringproc.lisp does the job. It
would be nice, though, to have all your excellent package working with clisp
as well as with gcl.
Thanks again,
Alasdair
On Sat, Apr 26, 2008 at 7:17 PM, van Nek <van.nek at arcor.de> wrote:
> Hi Alasdair,
>
> there is a lot of new stuff in the stringproc package. I developed it with
> Maxima+gcl. And
> with Maxima on Windows - which uses gcl - there is no problem.
>
> While I am writing this email I download the new ubuntu 8.04 and I am
> going to install it
> over the weekend and check, if I can reproduce the problems you have using
> clisp.
>
> The function you want for extracting characters from a string is charlist:
> (%i1) charlist("my_string");
> (%o1) [m, y, _, s, t, r, i, n, g]
>
> Calling to charlist autoloads the whole stringproc package with the
> filenames you see in your
> debugging messages. So please just load the file stringproc.lisp, which
> contains charlist,
> before you call any of the stringproc functions. If we're lucky, there is
> no problem with
> stringproc.lisp itself. ( I'm not too optimistic since your debugger said
> that the load fails for
> stringproc.lisp. ) Let me know, what happened, if you do so.
>
> Regards
> Volker van Nek
>
>
> Am 26 Apr 2008 um 12:35 hat Alasdair McAndrew geschrieben:
>
> >
> > Trying to do some work with strings, in Maxima 5.15.0 (clisp), I got:
> >
> > Load failed for
> /usr/share/maxima/5.15.0/share/contrib/stringproc/stringproc.lisp
> >
> > When I set debugmode(true) and tried to load stringproc again:
> >
> > Load failed for
> /usr/share/maxima/5.15.0/share/contrib/stringproc/stringproc.lisp
> > -- an error. Entering the Maxima Debugger dbm
> > Enter `:h' for help
> > (dbm:1) :step
> > Load failed for
> /usr/share/maxima/5.15.0/share/contrib/stringproc/printf.lisp
> > -- an error. Entering the Maxima Debugger dbm
> > Enter `:h' for help
> > (dbm:1) :step
> > Load failed for
> /usr/share/maxima/5.15.0/share/contrib/stringproc/pregexp.lisp
> > -- an error. Entering the Maxima Debugger dbm
> > Enter `:h' for help
> > (dbm:1) :step
> > Load failed for
> /usr/share/maxima/5.15.0/share/contrib/stringproc/pregexp.lisp
> > -- an error. Entering the Maxima Debugger dbm
> >
> > What's going on - is this a lisp problem, or a Maxima problem? Actually,
> all I want to do is to
> > read a string and obtain the characters one by one from it - maybe I
> could do this directly in lisp
> > without loading stringproc?
> >
> > Any advice would be most welcome!
> >
> > Thanks,
> > Alasdair
>
>
>