[Ecls-list] Load and filenames.

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Fri May 30 23:12:34 UTC 2008


On Sat, May 31, 2008 at 12:55 AM, Gabriel Dos Reis
<gdr at integrable-solutions.net> wrote:
> Another alternative is to:
>  (1) try whether  bar.fas exists.  If yes, load it as FASL.
>  (2) otherwise, see if bar.lisp exists, if yes load it as a Lisp source file.
>  (3) otherwise load bar as a lisp source file

Seems this was not very clear from the previous messages. The problem
is that "bar" exists and it is a _binary_ file that was produced using
the :output-file option of compile-file. Like in (compile-file
"foo.lisp" :output-file "foo"). The algorithm you and also Mark
mentioned is already in ECL!

Juanjo

-- 
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list