fendres wrote: > Ok, thanks. You seem to be right, but I got stuck halfway > unfortunately. One problem I have is understanding the > workings of slime, swank and sbcl.
SBCL is the Lisp itself. It comes with a REPL (command line) -- try starting it directly in a terminal. Swank runs in the Lisp and offers an interface for Slime to connect to. Slime (the client) is written in Emacs Lisp and runs inside Emacs. It connects to Swank. > If I eval something > within an emacs buffer by M-C-x, where does that happen? I'm not an Emacs user, but I think it evaluates as Emacs Lisp within Emacs, not as Common Lisp within the remote SBCL. > It doesn't influence the environment started with M-x slime, > right? If I'm correct in the above the answer is no. It's not even in the same Lisp dialect. > I got confused about this. So the repl and the > evaluations are two separate things, I guess... > However I am not sure where the mentioned (C-c C-v i) should > go for instance. Sorry if I am slow, but I don't really grasp it > yet :-(. It's complicated. Are you intent on using Slime for your Common Lisp coding? Taking out Slime and using a decoupled editor helps simplify things in the beginning. > I managed to to connect to my mysql database by executing > the clsql-tutorial.lisp file (from clsql/examples) with (load > #p"..."). > However I during file evaluation I get an error after the connection > is established: > The value 0 > is not of type > (OR (VECTOR CHARACTER) (VECTOR NIL) BASE-STRING SYMBOL > CHARACTER). > [Condition of type TYPE-ERROR] What's your SBCL version? What's your CLSQL version? Leslie -- You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/weblocks?hl=en.
