views:

163

answers:

2

Coming from a Perl background, I have to say I prefer cpan Foo::Bar to the having to start sbcl, (require :asdf-install) and finally (asdf-install:install :foo-bar). Is there anything more convenient than this around?

+4  A: 

There is clbuild:

http://common-lisp.net/project/clbuild/

But I add this to my .bashrc:

function asdf_install {
    sbcl --eval "(asdf:operate 'asdf:load-op :asdf-install)" --eval "(asdf-install:install :$1)" --eval "(quit)"
}

function asdf_oos {
    rlwrap sbcl --eval "(asdf:operate 'asdf:$2 :$1)"
}
jrockway
What does asdf_oos do?
Hinrik
+2  A: 

Common Lisp can be verbose; however most (all?) implementations support a Lisp startup file that defines/loads whatever you like to personalize your development environment.

Also, check out Mudballs.

Doug Currie
What do you mean by "verbose"?
Svante
I mean: compared with Unix command line, or what little I know of perl, Common Lisp programmers tend to use long names; add package prefixes and names can look *really* long to some newcomers. It makes the code easier to read, but not as convenient to type.
Doug Currie