5

I want to run a CCL REPL from a command line. What should I do to prevent CCL from starting that GUI thing (the menu and the listener window)? Thanks.

Mike Ivanov
  • 969
  • 7
  • 15

3 Answers3

8

Homebrew has a recipe for Clozure CL, and will set up everything like you'd expect.

$ brew install clozure-cl

Now type ccl or ccl64 at the command line.

Daniel Szmulewicz
  • 3,971
  • 2
  • 25
  • 26
  • brew doesn't find 'clozure-cl'. Is it removed from repo? – Erdemus May 26 '18 at 09:56
  • Yes, it appears so. You can install a local recipe from the archived, original formula, or better yet, become the new maintainer. https://github.com/jf/homebrew/blob/59a02849a75ffede091ef97448350bbfb98558ea/Library/Formula/clozure-cl.rb – Daniel Szmulewicz May 27 '18 at 00:08
  • I'd like to try maintaining. How can I become a homebrew ccl maintainer? – Erdemus May 28 '18 at 05:29
4

After I dug around in Applications/CCL, I found this:

username@computer:/Applications/CCL
$ ./dx86cl64 
Welcome to Clozure Common Lisp Version 1.7  (DarwinX8664)!
? 
Paul Nathan
  • 39,638
  • 28
  • 112
  • 212
4

Here is a solution.

Originally I installed CCL the "Mac way" - from the App Store (silly me). Regardless of how I called dx86cl64 it always opened a listener window.

I removed the app, downloaded ftp://clozure.com/pub/release/1.7/ccl-1.7-darwinx86.tar.gz and unpacked it under /opt/ccl-1.7. Then I created ~/bin/ccl with this content:

#!/bin/sh
exec "/opt/ccl-1.7/dx86cl64" -K utf-8 $*

Problem solved.

Mike Ivanov
  • 969
  • 7
  • 15