Category "lisp"

What is the difference and the relation between the Lisp interpreter and the Lisp image? Can they be used as synonoms?

I noticed some people using the terms as if they were synonoms. For instance, in the same scenario, I heard "add this function to the lisp image evaluating it"

How to create transitive function in LISP for R relation?

To construct the transitive and reflexive closure R *. The binary relation R = {(1,1), (1,2), (2,1), (2,2), (3,1), (3,4), (4,1), (4,2), (4,4)}

DraftSight Lisp - Blank/Empty Dialog Box Lock

I'm trying to create a Yes/No/Cancel dialog box in DraftSight by using a tutorial's solution (Link to site). However, when I try to add the first message to the

SICP Exercise 2.5 - How if it needs a modification?

I'm currently reading the SICP, and working on Exercise 2.5 : Exercise 2.5. Show that we can represent pairs of nonnegative integers using only numbers and ari

trying to convert C to Lisp

I am trying to convert this code to lisp code. But don't know how to do it is it right? for (j=i-1; j>=0 && list[j]>key; j--) { list[j+1] = li

Adding List items together while using provisional result

I have the following list: ((a b) (c d) (e f)) and want to loop through it and combine the list elements together. I also have the loop for that, which works e

How to implement continuations in dynamic language like JavaScript?

I need some hits how I should go about and implement continuation for lips in JavaScript (my lisp is almost like scheme, except no continuations and TOC). Here

Lisp union function

I don't mind admitting that this is a homework task that has me stumped. Any push in the right direction would be useful. I'm required to write a function that

How to install corman lisp?

Does anyone know how to install cormanlisp? I downloaded the open source project from github https://github.com/sharplispers/cormanlisp, but there is no .exe in

How to get the multiplication of two lists in Lisp or Scheme?

I think I'd have to dig into SICP later, but if it is two lists: a b c d 1 2 3 Is there a standard way to get the multiplication of them in 2, 3 or 4 lines? So

How to exit a loop in lisp once the function is performed?

I am very beginner in LISP and hope that you can solve my confusion for me. My code is as follow: (defun retrieve (element closed) (if (= (length c

Expand eql clause of a defmethod statement to accept any function?

A few days ago, I learned about the eql clause of the defmethod argument specification syntax. The defmethod hyperspec makes it clear that the presence of the e

Why is there no tail recursion optimization in Emacs lisp, not but like other scheme?

Emacs lisp is a dialect of LISP and especially Scheme. Most of scheme interpreters do have a optimization of Tail Recursion, but emacs lisp doens't. I searched

Circular list in Common Lisp

I am working using a visual programming environment for musical composition based on CL . I am trying to create a function that when given say 3 elements (1 2 3

Circular list in Common Lisp

I am working using a visual programming environment for musical composition based on CL . I am trying to create a function that when given say 3 elements (1 2 3