Subject: Problem with Maxima load() error handling
From: C Y
Date: Mon, 15 Apr 2002 10:03:47 -0700 (PDT)
This is minor, but annoying. If I input a load command containing a
mistake in syntax, maxima spits me out to the lisp prompt. This occurs
in CMUCL, Clisp and GCL. Here's an example:
Clisp:
Maxima 5.9.0pre-cvs (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) load(physconst.mac);
*** - PARSE-NAMESTRING: argument should be a string, symbol, file
stream or pathname, not ((MNCTIMES SIMP) |$physconst| |$mac|)
1. Break [1]> :a
USER[2]>
CMUCL:
Maxima 5.9.0pre-cvs (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) load(physconst.mac);
Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
((MNCTIMES SIMP) |$physconst| |$mac|) is not of type (OR PATHNAME
STREAM
BASE-STRING)
Restarts:
0: [MACSYMA-QUIT] Macsyma top-level
Debug (type H for help)
(PROBE-FILE 1 ((MNCTIMES SIMP) |$physconst| |$mac|))[:EXTERNAL]
Source: Error finding source:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no
longer exists:
target:code/filesys.lisp.
0]
GCL:
Maxima 5.9.0pre-cvs (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) load(physconst.mac);
Error: ((MNCTIMES SIMP) |$physconst| |$mac|) cannot be coerced to a
namestring.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by CATCH.
Broken at MACSYMA-TOP-LEVEL. Type :H for Help.
MAXIMA>>
Does anyone know what's going on here? Is this the desired behavior?
CY
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/