I work for the psychology department of an universtiy and have been entrusted with the task to get a Common Lisp program to work. Unfortunately, I don't know anything about LISP, having only studied a semester of computer studies, all I am capable of is a little C and Java. The instructions of how to get the program to run can be found on this page:

Wtf.. why aren't they just tarballing a bunch of .lisp files.. Why is it mixed in with html... I am not copy-pasting it just to get the code... And look at that code, is it usual to use lisp like that?? It's a bit strange..

And now the replacing of Sanders HD... Note that he should have just used the *LOAD-PATHNAME* parameter, or that it defaults to the current path. I just replaced it with the editors' replace utility. Feh.. Now i am where you are.. Removed start-graph as asked..

Then it whines about *PIXELS-PER-INCH* grepping for it shows nothing. It doesn't even use packages.... (Maybe he used USE-PACKAGE to use libs, but not in the source..) Btw there is (IN-PACKAGE 'USER) in there, SBCL doesn't think that is right, but according to this, it is acceptable. (I guess, i'd only allow keyword symbols and maybe packageless symbols..) He also REQUIRE's some stuff, and i don't know where to find those libraries...

Hey Jasper,thanks for your effort. It seems like the given code isn't very well suited for replicating it on another computer then. By what you say it seems like the guys writing the code weren't expecting the code to be spread and therefore didn't write it cleanly. I guess I will tell my boss this, we will have to look for another way to deal with our problem then.Thanks again.

psychoguy wrote:Hey Jasper,thanks for your effort. It seems like the given code isn't very well suited for replicating it on another computer then. By what you say it seems like the guys writing the code weren't expecting the code to be spread and therefore didn't write it cleanly. I guess I will tell my boss this, we will have to look for another way to deal with our problem then.Thanks again.

Might not be a good idea to give up yet, i am not good in getting other peoples stuff going. And i pretty much got no further then you.

It may be a good idea to try find different software, not sure.. Maybe Macintosh Common LISP has the variable i am missing.(But you'd expect that in a package you'd need to 'activate' ) From wikipedia page Closure CL used to implement it, and also some other ones. That needn't mean that trying those will actually work, though. Could still be worth a shot.

Unless there are better implementations of what you want out there.. dunno, sounds pretty specific! Actually don't even really know what it does.

The original author does not appear to be a professional programmer. I resolved a number of issues, and an updated version of cohere is available athttp://libcl.com/tmp/cohere.zip

Note that I renamed cohere-start.lisp to start.lisp, and an example named "real" to "metareal"; but otherwise this should be good to go on most systems with no modifications required. Also note that some of the examples need to be fixed; for instance, cg-hot tries calling functions which are never defined...

As for compilers, I would recommend a beginner to start with Clisp or Clozure on Windows. If you have a budget, then Allegro, Corman, or LispWorks are also good. For more info, seehttp://common-lisp.net/~dlw/LispSurvey.html