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
3
votes
1 answer

Clozure CL compiled executable losing certain command line arguments

I'm writing a utility program in Common Lisp and building it with Clozure CL; I would like to be able to use the command-line option -d with the program, but for some reason this particular option won't make it through to…
d2718
  • 175
  • 8
3
votes
1 answer

Clozure CL : an error occurs when requiring Cocoa framework

I'm trying to require Cocoa Framework on Mac OS X 10.11.4, but I cannot require it. Log: $ ccl --version Version 1.11-r16635 (DarwinX8632) $ ccl Welcome to Clozure Common Lisp Version 1.11-r16635 (DarwinX8632)! ? (require…
Hiroki
  • 97
  • 1
  • 8
3
votes
1 answer

Parsing a key out of a key code

I am getting key events that contain asci key codes and I was wondering if there was any easy way to convert these to the actual key or character in common lisp. I am using the ccl implementation which does not include int-char (which may or may…
Mike2012
  • 7,629
  • 15
  • 84
  • 135
3
votes
1 answer

Lisp loading error: undefined character in dispatch macro

I decided my birthday would be a good time to try and fix my Lisp problems. I've received a Lisp program from someone to run an experiment. It works well on his OS X environment. However, I can't get it to run on either Windows 7 or Ubuntu. The…
Gray
  • 71
  • 1
  • 2
3
votes
1 answer

How to get output of a Lisp program into Python?

I've got a very large Lisp project whose output I'd like to programmatically pipe to a Python program, i.e. use Python to call the Lisp program on some input and get the output back into Python. The project only compiles in Clozure Common Lisp…
user3898238
  • 957
  • 3
  • 11
  • 25
3
votes
1 answer

Application Delivery of long running application in Clozure CL

All the basic examples for Application Delivery show how to replace the toplevel function with your own. Once that function is done, the application exits. I was wondering what's the best way to create a toplevel function for an application that is…
Sid Heroor
  • 663
  • 4
  • 11
3
votes
2 answers

Might this permanently and accidentally overwrite the compiler's own functionality?

So I was writing my own function and I called it make-list and I got this from debugger: The function MAKE-LIST is predefined in Clozure CL. [Condition of type SIMPLE-ERROR] Restarts: 0: [CONTINUE] Replace the definition of…
johnbakers
  • 24,158
  • 24
  • 130
  • 258
3
votes
2 answers

recommended naming convention for cffi/foreign types

In common lisp, is there a recommended naming convention for foreign types? (and types in general)? For example: (cffi:defctype glyph-index-t :uint32) (cffi:defcstruct Point (x :int32) (y :int32)) (cffi:define-foreign-library fontlib (t…
SigTerm
  • 26,089
  • 6
  • 66
  • 115
3
votes
1 answer

Testing for non standard ascii character in common lisp

I need to test a string to see if it contains any characters that have codes above decimal 127 (extended ASCII codes) or are below 32. Is there any really nice way to do this or will I just have to iterate through the whole string and compare…
Mike2012
  • 7,629
  • 15
  • 84
  • 135
3
votes
2 answers

In app purchase without Xcode (Apple app store)

We are trying to put our app in the apple app store and would like to add in app purchases but unfortunately our app is not created with Xcode. We use an implementation of common lisp called CCL which includes an objective C bridge to access the…
Mike2012
  • 7,629
  • 15
  • 84
  • 135
3
votes
2 answers

Commonqt Not Working Using Clozure CL on OS X Lion

I wanted to use Commonqt using Clozure CL on OS X Lion. But it was not working... Commonqt Commonqt is a Common Lisp binding to the smoke library for Qt. http://common-lisp.net/project/commonqt/ My setting is that OS X Lion 10.7.4 Xcode…
jiroukaja
  • 41
  • 4
2
votes
2 answers

CCL doesnot run shell command normally?

? (run-program "ls" '() :output *standard-output*) money.lisp ssqHitNum.txt ssqNum.txt # ? (run-program "tail ssqHitNum.txt" '() :output *standard-output*) #
z_axis
  • 8,272
  • 7
  • 41
  • 61
2
votes
2 answers

how to setup linedit support CCL in initial file?

I use quicklisp to install linedit, http://www.cliki.net/Linedit say "Should work on Lispworks and OpenMCL/CCL." how to write $HOME/.ccl-init.lisp?
number23_cn
  • 4,611
  • 26
  • 31
2
votes
1 answer

Is using handler-bind with a stateful closure valid?

Is this a conforming Common Lisp program? (handler-bind ((condition (let ((x 0)) (lambda (c) (declare (ignore c)) (print (incf x)))))) (signal 'condition) …
coredump
  • 37,664
  • 5
  • 43
  • 77
2
votes
1 answer

Troubles with own types in Qi

I've vainly tried to get the type declaration examples working with Clozure CL, e.g. the following: (datatype fruit if (element? F [apples pears oranges]) ______________________________________ F : fruit;) but the only output I get…
beyeran
  • 885
  • 1
  • 8
  • 26