robert-dodier / maxima-asdf Goto Github PK
View Code? Open in Web Editor NEWDefine maxima-file component to handle Maxima files in ASDF.
License: GNU General Public License v2.0
Define maxima-file component to handle Maxima files in ASDF.
License: GNU General Public License v2.0
Loading projects via asdf_load_source makes info documentation available, while asdf_load doesn't. This is appears to be because LOAD-PATHNAME is different.
Tracing MAXIMA-LOAD-PATHNAME-DIRECTORY before calling asdf_load_source shows that MAXIMA-LOAD-PATHNAME-DIRECTORY returns a path pointing at the current working directory, but when calling asdf_load, it returns a path pointing into $HOME/.cache/.
I don't know which is correct; it could be that sometimes one is correct and sometimes the other.
PS.
With asdf_load:
(%i1) load ("/home/robert/playpen/github/maxima-asdf/maxima-asdf.lisp");
(%i2) :lisp (trace cl-info::load-info-hashtables maxima-load-pathname-directory )
(%i2) asdf_load ("superq");
1. Trace: (MAXIMA::MAXIMA-LOAD-PATHNAME-DIRECTORY)
1. Trace: MAXIMA::MAXIMA-LOAD-PATHNAME-DIRECTORY ==> #P"/home/robert/.cache/common-lisp/clisp-2.49-unix-x86/home/robert/playpen/github/maxima-packages/robert-dodier/superq/"
1. Trace:
(LOAD-INFO-HASHTABLES
'#P"/home/robert/.cache/common-lisp/clisp-2.49-unix-x86/home/robert/playpen/github/maxima-packages/robert-dodier/superq/"
'(("superq" "superq.info" 1153 2495 "Definitions for package superq"))
'(("Definitions for package superq" "superq.info" 1083 2565) ("Introduction to package superq" "superq.info" 640 298)))
1. Trace: LOAD-INFO-HASHTABLES ==> (("superq" "superq.info" 1153 2495 "Definitions for package superq"))
(%o2) true
With asdf_load_source:
(%i1) load ("/home/robert/playpen/github/maxima-asdf/maxima-asdf.lisp");
(%i2) :lisp (trace cl-info::load-info-hashtables maxima-load-pathname-directory )
(%i2) asdf_load_source ("superq");
1. Trace: (MAXIMA::MAXIMA-LOAD-PATHNAME-DIRECTORY)
1. Trace: MAXIMA::MAXIMA-LOAD-PATHNAME-DIRECTORY ==> #P"/home/robert/playpen/github/maxima-packages/robert-dodier/superq/"
1. Trace:
(LOAD-INFO-HASHTABLES '#P"/home/robert/playpen/github/maxima-packages/robert-dodier/superq/"
'(("superq" "superq.info" 1153 2495 "Definitions for package superq"))
'(("Definitions for package superq" "superq.info" 1083 2565) ("Introduction to package superq" "superq.info" 640 298)))
1. Trace: LOAD-INFO-HASHTABLES ==> (("superq" "superq.info" 1153 2495 "Definitions for package superq"))
(%o2) #<LOAD-SOURCE-OP NIL #x2222ED0E>
(%i3)
When adding the quicklisp path to .sbclrc
Maxima fails to start:
wxMaxima version: 15.8.2
Maxima version: 5.37.2
Maxima build date: 2015-09-18 21:03:17
Host type: i686-pc-mingw32
System type: Win32 6.1.7601 (Service Pack 1) X86
Lisp implementation type: SBCL
Lisp implementation version: 1.2.7
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.