[Ecls-list] -shell / -load not working?

Julian Stecklina der_julian at web.de
Sat Aug 13 11:01:14 UTC 2005


Hello,

consider a test.lisp file like this:

(require :cmp)
(format t "Done.~%")

If I now try to do ecl -shell test.lisp I get:

> ecl -norc -shell test.lisp
;;; Loading #P"/usr/local/lib/ecl/cmp.fas"
ECL (Embeddable Common-Lisp) 0.9g
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
        ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  Top level.
> 

Ok, this basically means that some error happened. This can be reduced
to test2.lisp:

(error "FOO")

> ecl -norc -load test2.lisp
ECL (Embeddable Common-Lisp) 0.9g
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
        ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  Top level.
> 

I tried to change ECL's handling of command-line arguments, but did not
get it working properly. (See patch some days/weeks ago)

Regards,
-- 
Julian Stecklina

(Of course SML does have its weaknesses, but by comparison, a
 discussion of C++'s strengths and flaws always sounds like an
 argument about whether one should face north or east when one
 is sacrificing one's goat to the rain god.)         -- Thant Tessman




More information about the ecl-devel mailing list