Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Geany as CommonLisp IDE

Has anyone experiences with setting up Geany as IDE for commonlisp? I have sbcl installed, this is the output of whereis sbcl:

sbcl: /usr/bin/sbcl /usr/lib/sbcl /etc/sbcl.rc /usr/share/man/man1/sbcl.1.gz

However when i run a program with F5 in Geany i get this in the terminal seeming it searches for clisp:

/tmp/geany_run_script_9ZR2LY.sh: 7: /tmp/geany_run_script_9ZR2LY.sh: clisp: not found

More over the indentation is also deactivated when in the lisp mode. Can anyone help?

I am using Ubuntu-studio.


1 Answers

So I installed Geany, typed (print "Hi"), saved the file and tried to execute it. It worked, but that's because I happen to have CLisp installed.

Under the Build menu, you have a "Set build commands" item which allows you to change the executable. You should type:

sbcl --script "%f" 

However, now you can only run a script and you lose all the productive and fun interactive part of working with a dynamic programming environment like Common Lisp. See related questions and answers for getting started with Emacs+slime:

  • Setting up a working Common Lisp environment for the aspiring Lisp newbie

  • Setting the SLIME in emacs

like image 115
coredump Avatar answered Feb 16 '26 19:02

coredump



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!