As we know, Maxima is based on common lisp. I'm writing a lisp program working in Maxima; using Maxima procedures. I press argument "maxima -p foo.lisp" to load the lisp file, and it works well. However, I'm poor at programming, so my programs have many bugs. I want to debug my program, but I realize that it is not so easy.
I got used to slimv, a vim-script to extend lisp support of vim. Slimv is an awesome tool, which contains swank to connect between slimv and lisp interpreter, but when I loaded 'start-swank.lisp' in the Lisp Mode of Maxima, it returned an error:
>> Error in CONDITIONS::CLCS-LOAD [or a callee]: The variable *LOAD-TRUENAME* is unbound.
I realized that it is due to gcl. So I came to search for maxima-sbcl. However, there's no official package of maxima-sbcl. I was disappointed.
I wonder whether I can load the whole maxima into sbcl. If so, I can read it in REPL of swank, and debug my program successfully.
Or is there anybody who has better ideas?
I've come across this project, which might be what you're looking for
https://github.com/filonenko-mikhail/embeddable-maxima
This is the developer's blog (Russian) which mentions usage nuances
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With