Lisp load error: undefined character in submit macro
I decided that my birthday would be a good time to try and fix my Lisp problems.
I got a Lisp program from someone to run an experiment. It works well on OS X environment. However, I cannot get it to work on Windows 7 or Ubuntu. The program uses Act-R 6.2 to run the model. When I try to download the .lisp file I get the following error:
:Reader error on #<BASIC-FILE-CHARACTER-INPUT-STREAM ("*path*"/28 UTF-8)#xCFAD1AE, near position 1048, within "smile* (#initWithCo": Undefined character #\/ in a #\# dispatch macro. While executing: CCL:SIGNAL-READER-ERROR, in process listener(1)
The error is the same for Windows 7 and Ubuntu. Here is the console output if required:
It seems load-turing-application.lisp is loading several other files, one of which is turing-application-v1.lisp where the line
(setf *smile* (#/initWithContentsOfFile: (#/alloc ns:ns-image)(ccl::%make-nsstring "smiley.jpg")))
seems to be the culprit. I suspect it has something to do with the # / - notation.
Any ideas would be appreciated.
source to share