Search found 19 matches

by anta40
Mon Jan 05, 2015 10:12 am
Forum: The Lounge
Topic: Corman Lisp is now open sourced
Replies: 1
Views: 7469

Corman Lisp is now open sourced

Hi Zach, Thanks for your interest in Corman Lisp. I have been unable to commit any resources to developing Corman Lisp for the last couple of years. I would be willing to convert it to open source, and let others take it over, as I don't expect to be able to get back to it any time soon. https://gi...
by anta40
Tue Jul 07, 2009 5:04 am
Forum: Common Lisp
Topic: On lambda function
Replies: 5
Views: 6845

Re: On lambda function

Ah OK. I think I understand it.

:)
by anta40
Tue Jul 07, 2009 4:19 am
Forum: Common Lisp
Topic: On lambda function
Replies: 5
Views: 6845

Re: On lambda function

Yeah that works. Thanks for you explanation.

BTW, I did tried this, and also failed:

Code: Select all

(funcall #'+(add-n 1) 2)
Probably because add-n is just an anonymous function?
by anta40
Mon Jul 06, 2009 11:34 pm
Forum: Common Lisp
Topic: On lambda function
Replies: 5
Views: 6845

On lambda function

Here's a function that takes a number N, and returns a function that adds N to its argument (taken from Practical Common Lisp): (defun add-n (n) #'(lambda (x) (+ x n))) My guess was something like this should work: ((add-n 1) 2) Unfortunately, it doesn't work. Further investigation: ? (functionp 'ad...
by anta40
Thu Jun 25, 2009 6:41 am
Forum: Scheme
Topic: Create executable using Gambit on Windows?
Replies: 1
Views: 6902

Create executable using Gambit on Windows?

Before installing Gambit, I already have MS VC++ 2008 and MinGW 4 installed. My first pick is of course the Visual C version. So I make 3 files (copied from the documentation) m1.c int power_of_2 (int x) { return 1<<x; } m2.scm (c-declare "extern int power_of_2 ();") (define pow2 (c-lambda...
by anta40
Sat Mar 14, 2009 9:11 am
Forum: Common Lisp
Topic: Recursive 'member-of'
Replies: 2
Views: 5268

Recursive 'member-of'

I'm trying to write a 'member-of' function, to check whether an element is a member of a list or not. My first attempt, the iterative one, is pretty easy: (defun member-of (elem the-list) (if (eql elem (car (member elem the-list))) 'T 'NIL) Now I want to make the recursive version. (defun member-of ...
by anta40
Sun Feb 22, 2009 11:55 pm
Forum: Common Lisp
Topic: Some SBCL Windows binaries
Replies: 4
Views: 7624

Re: Some SBCL Windows binaries

Just a friendly reminder that SBCL still has a handful of known bugs on MSWin. really? well i'm still learning lisp, and not using it extensively, so probably i haven't met one Supposedly they aren't terribly hard to fix, and require no lisp knowledge. Just a willingness to learn some x86 assembly ...
by anta40
Sun Feb 22, 2009 11:41 am
Forum: Common Lisp
Topic: Some SBCL Windows binaries
Replies: 4
Views: 7624

Some SBCL Windows binaries

When I was Googling for SBCL v1.0.25 Windows binary, I found this page:
http://cid-ab3d364d1e6a27e7.skydrive.li ... .aspx/SBCL

You can find the binaries of SBCL v1.0.22 up to 1.0.25 there.
Good thing if you're too lazy to compile it yourself... :mrgreen:
by anta40
Tue Feb 03, 2009 7:49 pm
Forum: Common Lisp
Topic: Installing ASDF on CLISP-Win32?
Replies: 3
Views: 7879

Re: Installing ASDF on CLISP-Win32?

My mistake. I downloaded it, and put it on C:\clis\asdf-install\asdf-install Here's my .clisprc #-:asdf (load "C:\\clisp\\asdf-install\\asdf-install\\asdf") #-:asdf-install (asdf:operate 'asdf:load-op :asdf-install) (pushnew 'asdf-install:sysdef-source-dir-search asdf:*system-definition-se...
by anta40
Tue Feb 03, 2009 5:43 pm
Forum: Common Lisp
Topic: Installing ASDF on CLISP-Win32?
Replies: 3
Views: 7879

Installing ASDF on CLISP-Win32?

Anybody succeded in installing ASDF on CLISP-Win32? My Lisp installation dir is C:\clisp (CLISP 2.47). I tried to follow this guide : 1. Downloaded ASDF from here , and extracted it to C:\clisp\asdf-install. 2. The guide said "put the file asdf.lisp in a place where you want it to stay". I...