Questions tagged [ccl]

Clozure CL (CCL) is a Common Lisp implementation.

Quoting the wilkipedia page:

Clozure CL (CCL) is a Common Lisp implementation. It implements the full ANSI Common Lisp standard with several extensions (CLOS MOP, threads, CLOS conditions, CLOS streams, etc.) It contains a command line development environment, an experimental integrated development environment (IDE) for Mac OS X using the Hemlock editor, and can also be used with SLIME (a Common Lisp development environment for GNU Emacs).

The official page is in here.

116 questions
13
votes
5 answers

Unix signal handling in (common) lisp

I've done a bit of research on this subject and am turning up blanks. There seem to be implementation-dependent ways of doing Unix signal handling in Common Lisp, but is there a package that gives a cross-implementation way of doing signal…
andrew
  • 2,819
  • 24
  • 33
13
votes
6 answers

Does there exist standard way to run external program in Common Lisp?

In clisp, the following code works: (defun hit-history () (shell "tail ssqHitNum.txt")) However, in Clozure CL, the shell function is not supported!
z_axis
  • 8,272
  • 7
  • 41
  • 61
9
votes
2 answers

gcc cc1: out of memory allocating

I am trying to compile a source code in my BeagleBoard with Angstrom Linux. Yesterday I was able to compile my code. But today I can not compile the code and it says: ccl: out of memory allocating 268439608 bytes after a total of 405504 bytes make…
user1336117
  • 451
  • 3
  • 8
  • 17
8
votes
2 answers

Common Lisp: How to get (in-package ...) to work from within Emacs Slime

64-bit Windows 7 Clozure Common Lisp Version 1.9 WindowsX8632 Emacs 24.3.1 Slime changelog date 2014-06-17 I have an example .lisp file which starts out as follows: (ql:quickload 'qt) (in-package "QT") The rest of the program shows a dialog…
Sonicsmooth
  • 2,673
  • 2
  • 22
  • 35
8
votes
1 answer

common lisp: slot-value for defstruct structures

In common lisp, what can I use to access structure slot using slot name/symbol? What I want is (defstruct point (x 0) (y 0)) (defmacro -> (struct slot) `(slot-value ,struct ,slot)) (setf p (make-point)) (setf (slot-value p 'x) 1) (setf (-> p…
SigTerm
  • 26,089
  • 6
  • 66
  • 115
8
votes
1 answer

How to reduce the size of a Clozure Common Lisp executable?

I saved this simple program (defun hello-world () (format t "Hello, world")) (defun main () (hello-world)) using ccl:save-application (ccl:save-application "test" :toplevel-function #'main …
Jan Deinhard
  • 19,645
  • 24
  • 81
  • 137
7
votes
1 answer

"No MAKE-LOAD-FORM" error with OpenMCL Common Lisp

I'm trying to run the ray tracing code form Paul Graham's ANSI Common Lisp on OS X using SLIME with OpenMCL (well, now called CCL). In that code, there's a constant defined whose value is a structure, and when I call either…
Brendan Foote
  • 1,378
  • 2
  • 12
  • 22
6
votes
2 answers

Clozure Common Lisp - TCP Socket Programming - Sending a Reply

I have a very small program which opens a socket and accepts a connection. It then grabs the remote IP and port. I'd like to send a text message to the remote computer (telnet) and close the connection. I can't determine which function is for…
BlueBadger
  • 898
  • 3
  • 10
  • 20
5
votes
3 answers

Clozure CL on Mac OS X: get rid of the GUI?

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
5
votes
0 answers

CCL Lisp Error when selecting via clsql-sqlite3 records with special characters

On Windows10/64, I installed CCL Lisp 1.11, downloaded the sqlite3.dll, then installed quicklisp and cl-sql. I get an error in the context of (german) special characters. This is what I tried in the Emacs Slime Repl: (clsql:connect…
skglas
  • 51
  • 1
5
votes
0 answers

Interfacing with the Windows API via Clozure CL

I want to call a Windows API function from Clozure CL via its Foreign Function Interface, but I am having some issues because the documentation I have been able to find is rather scarce. As a sufficiently rich example, I am trying to call…
MicroVirus
  • 5,324
  • 2
  • 28
  • 53
5
votes
4 answers

Undefining a class and all its methods in Common Lisp

I would like to undefine a class and all of its methods but after a quite thorough search on Googlore I have been unable to find a clue about how to do this. I am using an implementation of Commmon Lisp called CCL (Clozure CL).
Mike2012
  • 7,629
  • 15
  • 84
  • 135
4
votes
5 answers

STEP macro does not work in Clozure CL

I want to use a step function to see how it went to the expected output, but it's not working. Like this simple example: (STEP (IF (ODDP 3) 'YES 'NO)) but nothing happens. Is there any optimization that makes me can't see the trace steps ??? How to…
Juanito Fatas
  • 9,419
  • 9
  • 46
  • 70
4
votes
0 answers

Clozure CL on Android

CCL is now working on my Android and I have some questions. I transferred Android-headers to the device and tried to run rebuild-ccl: Error: File #P"ccl:lib;systems.lisp.newest" not found. Sources needed? I ran the following…
RomanKovalev
  • 852
  • 3
  • 10
  • 29
4
votes
2 answers

Why cannot CCL load hunchentoot?

SBCL can load hunchentoot successfully. However, the CCL reported: ? (ql:quickload :hunchentoot) To load "hunchentoot": Load 1 ASDF system: hunchentoot ; Loading "hunchentoot" > Error: Unable to load any of the alternatives: > …
z_axis
  • 8,272
  • 7
  • 41
  • 61
1
2 3 4 5 6 7 8