How to run from command line?

Jean Louis <[email protected]>
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
I am now interested to run compiled program from a command line
directly.

After compiling the file, it still has to be executed with:

clisp file.fas

Maybe is this approach here explained, the preferred way to run it
without clisp: https://www.cons.org/cmucl/doc/executable.html

I can use that one:

# mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
# echo ':lisp:E::fas::/usr/bin/clisp:' > /proc/sys/fs/binfmt_misc/register

And it works, I can run *.fas files from command line that way.

While I am new to CLISP and Lisp, is there any other common way on how
to run it from command line?

Am I expected to create each time a new shell script that runs the
program, like?

#!/bin/bash
clisp somefile.fas


Jean Louis

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.