[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

new liszt autorun feature



  The -r switch to liszt causes it to add a small bootstrap loader to the
beginning of the object file it creates.  Such an object file can either
be fasl'ed in to a lisp or executed.  If the object file is executed, it
will execute a lisp and that lisp will then fasl in the object file which
caused the lisp to be executed.  By setting user-top-level to the name
of a function in the fasl file, you can bypass the interactive top level
of lisp.
  Previously the only way to get the effect of an executable lisp program
was to fasl in the object file and dumplisp the entire lisp image.  The
problem with this is that each dumped lisp image occupies 900 disk block.
With the -r switch, you can write lisp programs that occupy less disk space 
than their equivalents in other languages.   
  When lisp is searching for the fasl file which executed it, it looks
in all directories in the user's path  (getenv 'PATH).  This means that
you can put these executable lisp object files in system directories
and anyone can run them just like any other program.