Page 1 of 1

Common2.lsp

Posted: Wed Apr 21, 2010 8:28 pm
by m0rk4i
How do I get acess to common2.lsp and other files that are loaded every time when i start xlisp?

Is it possible to see the definition of remove-duplicates function and other functions inside common2.lsp?

Thx for all and sorry for my english

Re: Common2.lsp

Posted: Thu Apr 22, 2010 5:00 pm
by gugamilare
m0rk4i wrote:Is it possible to see the definition of remove-duplicates function and other functions inside common2.lsp?
Do you mean opening the file common2.lsp? You can open it using a text editor.

Re: Common2.lsp

Posted: Fri Apr 23, 2010 8:26 pm
by m0rk4i
But where is this file? I can´t find

Obs: Im using Xlisp32

Re: Common2.lsp

Posted: Sat Apr 24, 2010 12:57 pm
by gugamilare
m0rk4i wrote:But where is this file? I can´t find

Obs: Im using Xlisp32
Sorry, I don't know about Xlisp32.

If you are trying to learn some kind of Lisp, you can try learning Common Lisp of Scheme. The book Practical Common Lisp is a very good book for learning Common Lisp.

Re: Common2.lsp

Posted: Sun Apr 25, 2010 1:25 pm
by m0rk4i
Let me be more specific: When we ran any lisp interpreter the files common2.lsp and common.lsp are loaded. These files contains the definitions of several functions like remove-duplicates. So, where can i find these files? Im using xlisp32 and wanna know if is it possible to read the content of these files and the format will be something like this:

(defun remove-duplicates (list)
(cond
((equal ....

For example, in C language we can open the header files like stdio.h and find the printf definition

Re: Common2.lsp

Posted: Sun Apr 25, 2010 3:48 pm
by gugamilare
m0rk4i wrote:Let me be more specific: When we ran any lisp interpreter the files common2.lsp and common.lsp are loaded. These files contains the definitions of several functions like remove-duplicates. So, where can i find these files? Im using xlisp32 and wanna know if is it possible to read the content of these files and the format will be something like this:

(defun remove-duplicates (list)
(cond
((equal ....

For example, in C language we can open the header files like stdio.h and find the printf definition
Yes, I understood that, but I don't know anything about xlisp32. You have to look inside the folder where the program xlisp32 is and locate those files, I can't do it for you because I don't have access to your computer.

Re: Common2.lsp

Posted: Wed Apr 28, 2010 8:59 pm
by Kazimir Majorinc
Download these files at

http://almy.us/xlisp.html

You can consider contacting author of the program directly. I only used Xlisp few times.