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
2
votes
2 answers

LISP cond answer no package

It is difficult to find an appropriate title because I do not understand why I have the following issue. When I require my package, I would like to assign a specific function according to some packages. The idea is to set a variable as follow: (cond…
yannics
  • 179
  • 10
2
votes
2 answers

CPI and LPI value for FONT 14 in Cerner Command Language (CCL)

What is the equivalent value for FONT 14 in Cerner Command Language's(CCL) character per inch (CPI) and Lines per inch (LPI).
harish_sng
  • 433
  • 2
  • 13
2
votes
0 answers

Unix Socket Error 14 in Clozure Common Lisp

I am trying to run hunchentoot on PPC64 linux , and it seems that there are something wrong with CCL's native socket api on this platform : (T482:lisp/ccl/201908011326) # cat 4.lisp (WITH-OPEN-SOCKET (socket :LOCAL-PORT 6667 …
Bah4i
  • 31
  • 2
2
votes
1 answer

lx86cl: No such file or directory common clozure lisp

I am on a slackware and I have successfully installed common clozure lisp but when running ccl in shell prompt I have the following error message: > /usr/local/bin/ccl64: line 81: /usr/local/bin//lx86cl64: No such file > or directory > …
2
votes
1 answer

pass command line arguments to Clozure common lisp

I am familiar with python before and now I am trying to learn common lisp and using ccl(clozure common lisp)under windows system. I found that there is not a convenient way to run lisp file as python. So i write a bat file to compile and run a lisp…
winterTTr
  • 1,739
  • 1
  • 10
  • 30
2
votes
1 answer

Clozure Common Lisp - file-exists-p is undefined

I get a "Undefined function FILE-EXISTS-P called with arguments ..." error when calling (file-exists-p "somepath") in Clozure Common Lisp but everywhere I look it appears that this function should be available. I even see it when using M-x…
Denis
  • 145
  • 1
  • 8
2
votes
1 answer

Mechanism by which Common Lisp compiles and loads code into image

Recently I've been reading on how modern OS load executable programs and allocate memories for them. Unfortunately, I only have a computer science book in Russian as a reference, so, please, correct me if I am wrong, but it appears that modern OS…
mobiuseng
  • 2,326
  • 1
  • 16
  • 30
2
votes
0 answers

clsql-mysql on the Windows platform (Clozure CL)

I am attempting to use clsql-mysql on the Windows platform. I am using 32 bit Clozure CL with the 32 bit MySQL Connector library (from Oracle) to provide the external library. I added the path of the connector to %path% so that clsql could find the…
Andomonir
  • 193
  • 1
  • 9
2
votes
0 answers

Emacs+Slime+CCL file loading issue with utf-8

Just switched to emacs today, was using the ccl app you get via apple store. I'm getting the following when I try to load a file via C-c C-l: While compiling UPDATE_BACK : Bad lambda list : (SELECTOR &KEY |ȦÅ| |ȦǨ®| |ìÃë| …
kawakaze
  • 96
  • 1
  • 8
2
votes
1 answer

Spawning multiple processes to handle many socket based connections in Clozure Common Lisp

I have the following: (defun serve (&key (port 80) (handler #'IDENTITY)) (WITH-OPEN-SOCKET (socket :LOCAL-PORT port :LOCAL-HOST "localhost" :CONNECT :PASSIVE :REUSE-ADDRESS t) (flet…
Capstone
  • 2,254
  • 2
  • 20
  • 39
2
votes
1 answer

make-socket error in Clozure Common Lisp

On CCL toplevel, running: (make-socket :LOCAL-PORT 6666 :LOCAL-HOST "127.0.0.1") OR (make-socket :LOCAL-PORT 6666 :LOCAL-HOST (lookup-hostname "localhost")) outputs the following: > Error: There is no applicable method for the generic function: > …
Capstone
  • 2,254
  • 2
  • 20
  • 39
2
votes
1 answer

Why does this common lisp macro not evaluate the first s-exp?

I studied define-easy-handler macro from the hunchentoot package (which creates a function with the name NAME), and got the defun part to work, but I can't get this macro to push NAME to a list called *observers*: (defmacro add-observer (name params…
barerd
  • 835
  • 3
  • 11
  • 31
2
votes
1 answer

get a list of directory entries in a directory with broken symbolic link

I'm using CCL on OS X Yosemite. When I use e.g. (directory "*") in directory /Users/Tom for listing all directory entries, but /Users/Tom contains a broken symbolic link (e.g. slime where the directory linked to does not exist any more), File…
2
votes
2 answers

Can not compile to a native executable with Clozure CL on OS X 10.10 Yosemite

I have created a simple hello world (hello.lisp) ,code: (defun main () (format t "Hello,World")) , program to test CCL's native executable compilation. I proceed to compile and load buffer from the CCL GUI (using version Clozure Common Lisp…
2
votes
0 answers

run-program in another directory

SBCL's sb-ext:run-program has an argument called directory. When you pass it, the program you specify will be run in that directory, rather than your cwd. Is there any way of getting the same effect using ccl:run-program?
Inaimathi
  • 13,853
  • 9
  • 49
  • 93