Search found 78 matches

by Harnon
Wed Jul 08, 2009 5:31 pm
Forum: Common Lisp
Topic: Require CMP in ECL
Replies: 4
Views: 6130

Re: Require CMP in ECL

Yay ! Problem Solved. The problem (drum rolls please): The Visual Studio 2008 Command Prompt doesn't like spaces in its pathname, in other words C:/Program Files/ = baddbadbadbad :o :o :o Just download ecl again (do this, because files have been added to your directory if you've already compiled whi...
by Harnon
Wed Jul 08, 2009 4:36 pm
Forum: Common Lisp
Topic: Require CMP in ECL
Replies: 4
Views: 6130

Re: Require CMP in ECL

I'm using microsoft visual studio on windows vista 32 bit. I'm following the instructions on the ecl manual which include saying nmake, then nmake -install If there's anything extra i need to do to build this fas file, i didn't do it. It's also not building any of the contribution files included. Ma...
by Harnon
Tue Jul 07, 2009 11:13 pm
Forum: Common Lisp
Topic: Require CMP in ECL
Replies: 4
Views: 6130

Require CMP in ECL

I'm trying to load the asdf which comes with ecl in the contrib folder. At the very end, it has a modification which has the code (require 'cmp). However, I can't seem to find the cmp.lsp file anywhere within the distribution. I tried commenting out this line and loading, but when attempting to test...
by Harnon
Tue Jul 07, 2009 4:39 pm
Forum: The Lounge
Topic: How Do You Teach Yourself Programming?
Replies: 13
Views: 22527

Re: How Do You Teach Yourself Programming?

Which library to pick also depends on what interests you. Here are some: Beginner/Intermediate (nice, pretty small libraries)- (1) anaphora - anaphoric utilities for common lisp. For example, (aif (getf list 'a) (print it)). The return value of (get lst 'a) is bound to the variable it. http://common...
by Harnon
Sun Jul 05, 2009 7:32 pm
Forum: Common Lisp
Topic: Sbcl 1.0.28: Couldn't fork process error using asd
Replies: 7
Views: 7456

Re: Sbcl 1.0.28: Couldn't fork process error using asd

Yes, sbcl isn't finding the sh.exe. If i give it the path, it works.
This is interesting. Why is asdf, a common, portable library, assuming the use of sh.exe on windows when in fact it is not
available unless one downloads it?
by Harnon
Thu Jul 02, 2009 9:56 am
Forum: Common Lisp
Topic: Sbcl 1.0.28: Couldn't fork process error using asd
Replies: 7
Views: 7456

Sbcl 1.0.28: Couldn't fork process error using asd

I am trying to get asdf:run-shell-command to work on sbcl 1.0.28 in windows vista 32 bit. Looking at the asdf code, this is effectively what it calls and the error produced: (sb-ext:run-program "sh" (list "-c" "notepad.exe") :input nil :output nil) --> Couldn't fork pro...
by Harnon
Fri Jun 26, 2009 6:52 am
Forum: Common Lisp
Topic: Partial Evaluation Libraries Available?
Replies: 1
Views: 3059

Partial Evaluation Libraries Available?

For anyone who is familiar, does anyone know if there are any good general partial evaluation libraries available. I only know of one,
http://cobweb.ecn.purdue.edu/~qobi/software.html
but would like to keep my options open.
Thx :D
by Harnon
Sun Jun 21, 2009 9:08 am
Forum: Common Lisp
Topic: Specializing Methods on Keywords
Replies: 3
Views: 4627

Re: Specializing Methods on Keywords

Oh well. Thx!
by Harnon
Sun Jun 21, 2009 8:40 am
Forum: Common Lisp
Topic: Specializing Methods on Keywords
Replies: 3
Views: 4627

Specializing Methods on Keywords

I don't necessarily need it, but it would simplify things if i could specialize a method parameter on a keywords in general (not just one type), distinguishing them from regular symbols. I've looked on google, but couldn't find anything. When i try (defmethod test ((a keyword))) or (defmethod test (...
by Harnon
Fri Jun 19, 2009 7:41 pm
Forum: Common Lisp
Topic: Arg!!! - C Interfacing Problem
Replies: 2
Views: 4252

Re: Arg!!! - C Interfacing Problem

Thx! That worked perfectly. :mrgreen: