Groups
Groups
Sign in
Groups
Groups
Shen
Conversations
About
Send feedback
Help
Qi + slime + emacs = love
91 views
Skip to first unread message
jrwats
unread,
Sep 8, 2009, 12:19:26 PM
9/8/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Qilang
I finally got slime + emacs working for Qi. If you're not familiar
with slime it eases common lisp development a lot IMHO.
with SBCL running I ran the following:
(require 'swank)
(load "install.lsp")
now the Qi.core has swank loaded and ready to go. In my ~/.emacs I
made:
(defun qi-init-cmd (port-filename coding-system)
(format "%S\n\n"
`(PROGN
(FUNCALL (READ-FROM-STRING "SWANK:START-SERVER")
,port-filename
:CODING-SYSTEM , (slime-coding-system-cl-name
coding-system)))))
(defun qi ()
(interactive)
;; the below should be the path to your command (script) to start Qi
(slime-start :program "/opt/QiII1.05/Lisp/Qi-Linux-SBCL"
:init 'qi-init-cmd ))
Reply all
Reply to author
Forward
0 new messages