ecls-list

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

On Sat, 13 Aug 2005 19:59:57 +0200
Julian Stecklina <der_julian@...> wrote:
[Command args not doing the obvious]
I kind of rewrote the command line parsing and factored it out to a new
file command-line.lsp. This solves my problems. It also serializes the
execution of command-line arguments. So you can do -eval '(set-up-foo)'
-compile bla.lsp or -eval '(require :cmp)' -eval '(c:build-...-
library ...)'. Everything that worked until now, should still work.
Multiple -compile arguments will possibly do weird things. See the
comment in command-line.lsp. I plan to fix this, if someone sees this
patch as improvement to the current situation and commits it.
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