freenode/#lisp - IRC Chatlog
Search
20:29:28
jasom
grr there doesn't seem to be a 2-word sized specialization of vectors in sbcl. My hash-table implementation is sad.
20:53:14
garbochock
Good evening. I'm trying to load a package "incudine" with quicklisp. I have downloaded it to "~/quickload/local-projects", and attempting to do (ql:quickload "incudine"). However, it fails with 'System "incudine" not found'. How do I troubleshoot this?
20:56:26
garbochock
hm, I'm fairly new to lisp, I have incudine.asd but no asdf - does that mean that it's not supported by quickload?
21:01:00
garbochock
I'm running arch linux, sbcl. I've tried in emacs slime as well as sbcl in terminal.
21:02:09
Bike
when you say you downloaded it to local-projects, do you mean all the files are just there in local-projects, or did you make an incudine/ documentary or something
21:02:20
jasom
https://github.com/titola/incudine/blob/master/incudine.asd <-- assuming it's this, I can't see what wouldn't work
21:02:47
Bike
you could try the more manual way of (push #P"/path/to/incudine/" asdf:*central-registry*) and see what happens
21:02:47
garbochock
i did git clone inside ~/quicklisp/local-projects, so it's located in it's separate directory
21:04:29
jasom
garbochock: if the "local-projects" directory already existed, it's probably the right place
21:04:47
jasom
garbochock: try (asdf:load-asd "~/quicklisp/local-projects/incudine/incudine.asd") then the quickload
21:05:24
garbochock
Bike: thank you, running (push #P"/path/to/incudine/" asdf:*central-registry*) followed by (ql:quickload "incudine") seems to work!
21:06:13
garbochock
indeed. First package that I'm installing this way though. Maybe my quicklisp is out of whack
21:06:38
pve
garbochock: asdf also recognizes ~/common-lisp/ by default, you could try that to rule out ~/local-projects weirdness
1:15:03
ruffianeo
I am trying to write a macro (defmacro remoted (name args &body body) ...) which defines 3 functions.....
1:18:32
no-defun-allowed
`(progn (defun ,name ,args ,@body) (defun ,(make-name name) () '(,name ,@args)) (defun ,(make-definition-name name) () '(defun ,name ,args ,@body)))?
1:19:43
no-defun-allowed
make-name and make-definition-name can be defined using intern and format (or alexandria:format-symbol) if you need to make those names and they aren't given by the user.
1:24:42
ruffianeo
well - I hosted ecl in some c++ code and want to send it lisp stuff over a tcp socket
1:37:01
ruffianeo
the problem I have with (remote-foo 1 2 3), that the (defun remote-foo (a b c) '(foo a b c)) needs to kind of eval the arguments and put the values into the variables
1:37:01
no-defun-allowed
Then you want to generate (list 'foo ,@arguments), but not exactly that, because the lambda list (a &key b) would do something else.
1:37:52
no-defun-allowed
If you can live without the lambda list, you could generate `(defun remote-foo (&rest rest) (cons ',name rest)).
1:38:51
no-defun-allowed
One idea though: instead of generating (remote-foo 1 2 3), why not (remote (foo 1 2 3))? Defining REMOTE would be trivial, and it'd just look like FOO otherwise.
1:46:28
ruffianeo
(remote (name &rest args) ...) could be a second macro I then simply use for the first one