Questions tagged [lispworks]

LispWorks is a commercial implementation and IDE for the Common Lisp programming language. The software runs on Microsoft Windows, Mac OS X ( x86/x86_64), Linux x86/x86_64/ARM, FreeBSD, AIX (32/64bit PowerPC) and Solaris (x86/x64, SPARC).

LispWorks is a commercial implementation and IDE for the Common Lisp programming language. The software runs on Microsoft Windows, Mac OS X ( x86/x86_64), Linux x86/x86_64/ARM, FreeBSD, AIX (32/64bit PowerPC) and Solaris (x86/x64, SPARC).

http://lispworks.com

LispWorks was developed by the UK software company Harlequin Ltd., and first published in 1989. Harlequin ultimately spun off its Lisp arm as Xanalys, which took over management and rights to LispWorks. In January 2005, the Xanalys Lisp team formed LispWorks Ltd. to market, develop, and support the LispWorks software.

Some of LispWorks's features are:

  • an implementation of the Common Lisp Object System with support for the Metaobject protocol;
  • native threads;
  • Unicode support: it can read and write Unicode files and supports strings encoded in Unicode
  • Foreign Language Interface (FFI) for interfacing with routines written in C;
  • the Common Application Programmer's Interface (CAPI) GUI toolkit, which provides native look-and-feel on Windows, Cocoa, GTK+ and Motif;:
  • an Emacs-like editor (source code is included in the Professional edition);
  • a graphical debugger, inspector, stepper, profiler, class browser, etc.;
  • a native-code compiler for an extended ANSI Common Lisp;
  • a facility to generate standalone executables;
  • on Mac OS X it provides a bridge to Objective-C for using Apple's Cocoa libraries
  • many of the libraries are written using the Common Lisp Object System and can be extended by the user (by writing subclasses and new methods).

The Enterprise edition also includes KnowledgeWorks, which supports rule-based programming (including support for Prolog); the CommonSQL database interface; and a CORBA binding. The Enterprise edition is also available as a 64bit implementation.

In September 2009, it had been announced that LispWorks 6 would support concurrent threads and the CAPI graphics toolkit has been extended to support GTK+. LispWorks 6.1, released in January 2012, includes many further enhancements to CAPI, such as support for anti-aliased drawing. LispWorks 7, released in May 2015 brought various new features incl. ports to ARM-based systems and AIX.

LispWorks ran on the spacecraft Deep Space 1. The application called RAX won the NASA Software of the Year award in 1999.

Source: https://en.wikipedia.org/wiki/LispWorks

52 questions
12
votes
1 answer

Is there a way to get the slots of a class?

I have a class like this one (defclass shape () ((color :initform :black) (thickness :initform 1) (filledp :initform nil) (window :initform nil))) Is there a function in common-lisp how to get a list of those slots if i only know instance of…
Micky
  • 125
  • 1
  • 7
9
votes
1 answer

How to create and write into text file in Lisp

I want to know, how to create and write text file in lisp. I just want to write simple line like: "break 1" "break 2" I am using LispWorks IDE on Window 7
Nilesh Pethani
  • 822
  • 2
  • 10
  • 19
7
votes
2 answers

Floating Point Precision Error

I am having problem with the LISP expression below. There is floating precision error while doing sum for floating point numbers. CL-USER> (+ -380 -158.27 -35.52) Actual: -573.79004 Expected: -573.79000 Please suggest me how can I achieve the…
bigyanshr
  • 418
  • 2
  • 11
6
votes
2 answers

How to read user input in Lisp

I'm very new to Lisp and am trying to write a program that simply asks a user to enter 3 numbers and then sums them and prints the output. I've read that you can you a function like: (defvar a) (setq a (read)) To set a variable in Lisp, but when I…
chope_chope
  • 450
  • 2
  • 4
  • 14
4
votes
1 answer

Create custom standard output stream

I am using LispWorks's Multiprocessing tools (see here). I start a number of subprocesses (using process-run-function), where each subprocess is associated with a particular mailbox. What I want to achieve is that messages to standard output (using…
JNevens
  • 11,202
  • 9
  • 46
  • 72
4
votes
1 answer

Using easy-ssl-acceptor in LispWorks

I want to use Hunchentoot's easy-ssl-acceptor in LispWorks. However, I see that this class of acceptor has the following feature syntax #-:hunchentoot-no-ssl. This feature is indeed present in my *features* list, so I cannot use this class. What is…
JNevens
  • 11,202
  • 9
  • 46
  • 72
4
votes
2 answers

NFA recognizer in LISP

I have to define a function in lisp that, given a regular expression and an e-NFA as input, it returns true if the expression is accepted by the automata. For start, I've defined a function that generates an e-NFA (as a cons-cell) from a regular…
Fred_2
  • 249
  • 2
  • 11
3
votes
0 answers

Problem connecting to a PostgreSQL database with Common SQL

I'm working on Lispworks 8.0.1, and using the Common SQL interface provided by the software. On the other hand I'm working with PostgreSQL and I want to connect a PostgreSQL database in LispWorks. Here are the lines I use (following the lispworks…
Alexane
  • 31
  • 2
3
votes
1 answer

disable individual buttons on a lispworks capi:push-button-panel

I'm working on a Connect Four game using common lisp and the LispWorks CAPI. I'm finished with the interface except for one thing: I use push-buttons (in a push-button-panel) to drop pieces into the columns, and I'd like to disable a button once…
smackcrane
  • 1,379
  • 2
  • 10
  • 17
3
votes
1 answer

Quicklisp error in Lispworks

I'm running LispWorks 7.1 on OSX (macOS High Sierra). I sometimes encounter a Quicklisp loading bug (I say sometimes because when I restart LispWorks I sometimes don't see this error again). Example: CL-USER 1 > (ql:quickload "iterate") To load…
agam
  • 5,064
  • 6
  • 31
  • 37
3
votes
2 answers

How to create a Lisp FLI function corresponding to a C macro

I want to create a lisp function which corresponds to a macro in C. e.g., there is one HIWORD in win32 API, which is defined as a macro in the header file. I tried to define it as below but was told that HIWORD is unresolved. CL-USER 4 > (hiword…
user1461328
  • 742
  • 2
  • 6
  • 13
3
votes
1 answer

Traverse to matching parens in Lispworks

Is this possible? I haven't been able to find out how in the help or manuals.
Jiminion
  • 5,080
  • 1
  • 31
  • 54
2
votes
4 answers

How can I correctly represent a box structure with dotted pairs in Lisp?

I have issue with representing box structure via LISP's dotted pairs. CL-USER 21 > (cons 1 (cons (cons 3 4) (cons (cons 3 4) 2))) (1 (3 . 4) (3 . 4) . 2) This is what i have, this is the output, but that's clearly incorrect, because the 3.4 pair…
dejvoos
  • 33
  • 3
2
votes
0 answers

Using enums with LispWorks' Java interface

I'm trying to use the EWS Java library (link) with LispWorks 7.1.2 Win32's Java interface. I am somewhat familiar with basic Java concepts but have no experience with the Java language. This is the code I am trying to mimic: ExchangeService service…
2
votes
0 answers

How to correctly detect file encodings with LispWorks?

I am trying to detect file encoding using LispWorks. LispWorks should be capable of such functionality, see External Formats and File Streams. [Note: details based on @rainer-joswig and @svante comments] system:*file-encoding-detection-algorithm*…
gsl
  • 1,063
  • 1
  • 16
  • 27
1
2 3 4