asdf-从命令行安装库
来自 Perl 背景,我不得不说我更喜欢 cpan Foo::Bar
而不是必须启动 sbcl、(require :asdf-install)
以及最后的 (asdf-install:安装:foo-bar)
。 周围还有比这更方便的吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
有 clbuild:
但我将其添加到我的 .bashrc 中:
There is clbuild:
But I add this to my .bashrc:
Common Lisp 可能很冗长; 然而,大多数(全部?)实现都支持 Lisp 启动文件,该文件定义/加载您喜欢的任何内容来个性化您的开发环境。
另外,请查看Mudballs。
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.
您可以查看 http://www.quicklisp.org/ - 它安装起来又快又容易,然后下载、安装和加载系统:
要转换为 Perl,这就像(shell)cpanm cxml 和(在 Perl 内部)use cxml 合二为一。
您也可以搜索系统; 例如列出所有:
通常你会运行一个 lisp 进程并直接给它这些命令,但如果你更喜欢从 shell 进行安装等,你可以定义别名(正如你在答案 < a href="https://stackoverflow.com/a/427333/17221">https://stackoverflow.com/a/427333/17221):
You might check out http://www.quicklisp.org/ - it's quick and easy to install, then to download, install, and load systems:
To translate to Perl, this is like (shell)
cpanm cxml
and (inside Perl)use cxml
all in one.You can search for systems as well; for instance to list all the :
Commonly you'd be running a lisp process and giving it these commands directly, but if you prefer to do your installation and so on from the shell, you could define aliases (as you have in the answer https://stackoverflow.com/a/427333/17221):