From: Jean L. <bu...@gn...> - 2016-12-24 06:40:53
|
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 |